Jump to content
  • Advertisement

Archived

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

cool_xo

Rotation Query

This topic is 5857 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 learning and playing around with Graphics Programming now. What I''m trying to do is to create an application that lets users to rotate a cube using the mouse... like rotate the cube around. My question is... should I transform the actual cube using matrix transformation, or show I move the camera around??

Share this post


Link to post
Share on other sites
Advertisement
It doesn''t really matter, the result will be the same. Choose any.
Remember, you''re actually doing the same thing. The graphics card doesn''t care about where the camera is, where the cube is, etc. All it cares about are transformed vertices, and the way you transform them doesn''t make much difference from the output point of view. It''ll obviously make a difference in more complex applications.

- JQ
Full Speed Games. Period.

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.

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!