Index Buffer?

Started by
13 comments, last by EasyGino 20 years, 6 months ago
From indexing, terrain generation almost certainly benefits a lot more than a cube

Niko Suni

Advertisement
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

Niko Suni

Thanks Sensai

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]

Niko Suni

This topic is closed to new replies.

Advertisement