Index Buffer?
Ok, now would i map a "terrain" with tons of vertices first? maybe in some kind of loop, and then plot the indeces with some kind of algorithm that would make a rocky terrain?
That i leave as an excercise for you. There''s no right or wrong way for terrain generation, just do what you believe you need.
For "rocky" terrain, move the vertices by some noise-type function.
And yes, a loop system would be ideal in distributing the terrain vertices
-Nik
For "rocky" terrain, move the vertices by some noise-type function.
And yes, a loop system would be ideal in distributing the terrain vertices
-Nik
Thanks Sensai
But I also heard texture mapping becomes a bit more difficult when using Index Buffers.
But I also heard texture mapping becomes a bit more difficult when using Index Buffers.
Texture coordinates go with vertices as usual, why do you think it would be more difficult?
-Nik
EDIT: I'm going to sleep now (it's almost 1am here). Hear you tomorrow!
[edited by - Nik02 on October 16, 2003 5:46:39 PM]
-Nik
EDIT: I'm going to sleep now (it's almost 1am here). Hear you tomorrow!
[edited by - Nik02 on October 16, 2003 5:46:39 PM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement