Sign in to follow this  
Buttink

Vertex definition?

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this