Hi There, is there anyway to setup the geo terrain scene node so that when the camera is very far away it lowers the level of detail further, seems a waist that the lod remains at a set detail even though the camera is killometres away?
The reason I ask is that I am using a tiled version of the Irrlicht terrain and it isn't running fast, I'm guessing it's to do with the tiles in the distance having so many pols.
Many Thanks.
Terrain lower LOD
Maybe you need this?:
http://irrlicht.sourceforge.net/docu/cl ... _node.html
Code: Select all
virtual bool overrideLODDistance (s32 LOD, f64 newDistance)=0
I did try this but there seems to be a set lowest setting for the terrain, I was perhaps refering to lowering the detail so that say the terrain is 1km away from the camera, i.e. about 3x3 pixels on screen then only 8 vertex are used? Can you do that?porcus wrote:Maybe you need this?:http://irrlicht.sourceforge.net/docu/cl ... _node.htmlCode: Select all
virtual bool overrideLODDistance (s32 LOD, f64 newDistance)=0
I would create a mesh with 8 or whatever vertices out of the heightmap and
make the terrainscenenode invisible and the other node visible if the
distance between camera and terrainscenenode is too big.
Maybe you could find another solution if you take a look into irrlicht's source
but I think this would be too time-consuming.
make the terrainscenenode invisible and the other node visible if the
distance between camera and terrainscenenode is too big.
Maybe you could find another solution if you take a look into irrlicht's source
but I think this would be too time-consuming.