Hi,
I’d like to create unlimited flat terrain … any suggestion- I am new to opengl…
Thank a lot
You can create a big quad that goes over the far clipping plane, without moving or rotating it (put a glLoadIdentity before drawing it), then move only the texture coords to simulate the movement, so you’ll be sure to have the ground under your feet in every position.
A huge quad affected by camera transformations will never be unlimited…
tFz
Thank tFz
It is good solution, BUT… Depending on distance between near and far clipping planes, one big quad could be insufficient, because texture can “wave” - especially on Voodoo… In this case, you can use eg. 4x4 quads.