Jump to content
  • Advertisement


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


camera transformation

This topic is 5787 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 am making a simple engine ,it just renders wireframe objects. i cant get the camera working , i read some tutorials ,they seem to do the camera transformation by using vector which point at the direction the camera is looking ,anyway my question is can u do it with simple rotations ,ie rotate the world around u . if (x,y,z) is the point and (cx,cy,cz) the camera position then rotate the point (x-cx,y-cy,z-cz) around the y axis for looking left and right. it seems to work fine but when i move forward it gets screwed. is it possible to do it with simple rotations if then how do u move forward ,left ,right etc. if u have any ideas plz reply.thanks

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!