Sign in to follow this  

translating transformed vertices in buffers

This topic is 4710 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

I'm using transformed vertices for the gui. My problem is how to translate them. The translations that worked for 3d objects don't seen to work. Currently, every time I'm creating a new vertex buffer on every render, and that's causing a bit of jumpiness. Is there a simple way to translate them? Thanks. -Nick

Share this post


Link to post
Share on other sites
Quote:
Original post by nickwinters
Currently, every time I'm creating a new vertex buffer on every render, and that's causing a bit of jumpiness.

You should never create resources every frame - if your data changes every frame, simply use a dynamic vertex buffer (or ID3DXSprite, which uses one internally)

Share this post


Link to post
Share on other sites

This topic is 4710 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.

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