I dont understand the terrain

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
pex
Posts: 16
Joined: Sun Mar 28, 2004 11:51 am

I dont understand the terrain

Post 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.
Xaron
Posts: 310
Joined: Sun Oct 16, 2005 7:39 am
Location: Germany
Contact:

Post by Xaron »

It is called LOD (level of detail, which is dependant from the camera's distance). I guess, you mean that?
pex
Posts: 16
Joined: Sun Mar 28, 2004 11:51 am

Post by pex »

I think so.
is my video card just too slow that I can see it, or its something else?
sRc
Posts: 431
Joined: Thu Jul 28, 2005 1:44 am
Location: Salt Lake City, Utah
Contact:

Post 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.
The Bard sRc

Blog | Twitter
Guest

Post 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!
Post Reply