Jump to content
  • Advertisement
Sign in to follow this  

Data manipulation

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

Hi I've been rendering 2D rects, storing them once in a vertex buffer, and doing transformations using matrices. Now, i'm implementing a collision detection system between those rects, and i came up with a problem: How to acess transformed data? I though about many possibilities, but dont know wich is the better to use, or if there is any better then those: - I read each frame the vertex buffer, and then transform it myself by the matrices to get the transformed rect - I do the transformations myself, check for collisions, and then write data to buffers - or I should not be accessing the buffer each frame, so i keep a copy of the vertices, and apply them the matrice? Wich aproach is the best one, if any of these? thanks [Edited by - Hiewk on July 9, 2005 12:06:42 PM]

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!