Vertex definition?

Started by
0 comments, last by JohnBolton 19 years, 4 months ago
ok so i have my vertexbuffer called vertexbuffer lol, and i make my vertices for a square. That i all get. Now, when i define a new point how do i set it up so that rotation will only be figure specific, aka not effect the 2nd figure. This also relates to this question, Do you make more then one vertex buffer? This is all in direct x 9.0 p.s. Im a newbie! someone help.
Advertisement
Basically, you draw the first object, change the world transform, then draw the second object. You can draw a portion of a vertex buffer, so both objects can be in the same vertex buffer.

You can also set up more than one world transform and then draw all the vertexes in the buffer at once, associating each with a particular transform. That's a little more complicated and you probably won't gain much, so I would stick to the first method for now.
John BoltonLocomotive Games (THQ)Current Project: Destroy All Humans (Wii). IN STORES NOW!

This topic is closed to new replies.

Advertisement