Ok, I have hydrax demo working, added a terrain using the tutorial 3, and this post http://www.o-openuniverse.org/story/add ... in-ogre-17. I modified the terrain so it is sand colored, and changed the scaling a bit so it wasn't so mountainous. I was wondering how these work, BTW:
defaultimp.layerList.worldSize = 100;
defaultimp.layerList.worldSize = 30;
defaultimp.layerList.worldSize = 200;
Does this make the mountains different textures depending upon what the altitude is? I am guessing this case, there is grass on the lowest level, then sand, then weird fungus?
I then lowered the terrain into the water using:
Ogre::Vector3 lcTerrainVector(0.0, -800.0, 0.0);
Now, before I even changed to the sand texture, that caustics were not being applied to any of the terrain - only to the underwater sand of the island.
I tried to fix the caustic by using something from another post:
TerrainGroup::TerrainIterator ti = mTerrainGroup->getTerrainIterator();
Terrain* t = ti.getNext()->instance;
MaterialPtr ptr = t->getMaterial();
I also noticed that once the terrain was lowered into the water, the terrain turned white, and at the edge of the island, there is a white strip of border (perhaps the terrain?), and when I try to move the camera past it, the strip seems to widen.
Any ideas on what I am seeing, or how to fix it? I am very new at this, so just trying to understand it all...