Jump to content
  • Advertisement


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


Rotation Query

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!