Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

jechternach

2D Objects Deforming

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

For a little memory and processor overhead a simple solution would be to store a matrix with the object and rotate/translate that each frame, then use the final matrix on the original object but don't overwrite it, instead, overwrite a local copy of each polygon. So the original object remains untouched.

Share this post


Link to post
Share on other sites
Advertisement
Hi. I am just getting started in game/graphic programming. I've been fooling around with 2d vector graphics and have run into a small problem. After many successive rotations of an object it gets slighlty deformed. I think this has something to do with loss of precision. Anyone have any tips? Thanks for your help.

P.S. I am transforming the object using matrices.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!