Original Post
Hello !
I''m writing a terrain render with a static landscape. But the part of it that is visible is - of course - dynamic. So I thought it would be a good idea to put the whole landscape into a single big vertex buffer and specify my triangles with indexes.
So I would just specify the big vertex buffer at the beginning and then just render the triangles that remain after my Octree frustrum culling. I know how to do this in D3D8. In OpenGL I''m a bit unsure. My biggest question is how to pass a second texture coordinate for multitexturing...
Can anyone give me a brief overview on how to accomplish this goal ? Is it possible to use multitexturing in cominations with VBs ? Do I have to pass the indices in an array or can I specify them one-by-one ?
I need to be sure that what I''m trying is possible and that I''m doing it the right way because it will some time to rewrite the engine to use vertes buffers...
Thanks for your time.
Tim
--------------------------
glvelocity.gamedev.net
www.gamedev.net/hosted/glvelocity