Jump to content
  • Advertisement
Sign in to follow this  
Buttink

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.

If you intended to correct an error in the post then please contact us.

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 this post


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

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!