Page 1 of 1

I dont understand the terrain

Posted: Fri Dec 02, 2005 3:21 pm
by pex
Why every time I move the camera I see that the terrain changes itself?
I was trying the terrain rendering demo of Irrlicht 0.14 (and 0.10).
I am using Windows in 32-bit and Direct3D 9.0c.
I have a video card of, well, previous-previous-generation. is that the case?

pex.

Posted: Fri Dec 02, 2005 3:30 pm
by Xaron
It is called LOD (level of detail, which is dependant from the camera's distance). I guess, you mean that?

Posted: Fri Dec 02, 2005 4:43 pm
by pex
I think so.
is my video card just too slow that I can see it, or its something else?

Posted: Fri Dec 02, 2005 5:18 pm
by sRc
pex wrote:I think so.
is my video card just too slow that I can see it, or its something else?
no, it's supposed to get less detailed the further away the camera is from the point. that's the way it's designed.

it reduces the number of triangles at that distance, so there aren't so many triangles in the scene. thats the way it's designed.

Posted: Fri Dec 02, 2005 5:38 pm
by Guest
you can override the distance at which the terrain "pops" (changes LOD) with:

terrainnode->overrideLODDistance(s32 lodcount, f32 loddistance);

for example:

terrainnode->overrideLODDistance(1, 1000.0f);


bye!