Vertex definition?

This topic is 5042 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

Recommended Posts

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.

Share on other sites
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.

1. 1
2. 2
3. 3
Rutin
22
4. 4
frob
16
5. 5

• 9
• 33
• 13
• 12
• 10
• Forum Statistics

• Total Topics
632575
• Total Posts
3007154

×