Problems/Questions
1. As you fly over a terrain, even in the example apps, it warps (perhaps doing some LOD adjustments) as you fly around. This looks awful. Can this behavior be turned off?
2. Is there a heightmap texture limit? I threw my gigantic 2048 X 2048 heightmap and accompanying texture (that runs as smootly as a baby butt in TrueVision) at Irrlicht and it choked (hang before display). I resized them down to 512X512 and it displays.(I think TrueVision manages this problem by breaking things down into 256X256 chunks before rendering. Perhaps this could be done manually in Irrlicht).
3. In the .NET port, I am trying to implement the Triangle selection stuff for "walking" on the Terrain. I use:
Code: Select all
ITriangleSelector tsel = SceneManager.CreateTerrainTriangleSelector(Terrain, 0);
ISceneNodeAnimator anim = SceneManager.CreateCollisionResponseAnimator(tsel, cam, new Vector3D(60,100,60), new Vector3D(0,0,0), new Vector3D(0,50,0),5f);
cam.AddAnimator(anim);
4. Lastly, TrueVision has this nifty Terrain.GetHeight(x,z) function that gives you the height of the Mesh at an xz coordinate. THis is handy for placing objects on the Terrain. I can't see an equivalent in Irrlicht. Would I have "roll my own" by doing some drawline function straight down from above the terrain and the getting a collision point?
Thanks ahead of time for your help.