Jump to content
  • Advertisement


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


Position and orientation matrix

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

While i know that everyone is probaly thinking "why" I would like someone to check this matrix for positioning a camera in OpenGL, i realise that it is possible to do the same thing using gluLookAt, but i would like to try this for myself, and i would like to try band eliminate the need for the glu32 libary. So my question is, is this correct?? Would this generate the correct position and oreintation for an OpenGL Camera | Right.X Up.X Look.X Dot(Right, Pos.X) | | Right.Y Up.Y Look.Y Dot(Up, Pos.X) | | Right.Z Up.Z Look.Z Dot(Look, Pos.Z) | | 0 0 0 1 | Thanks to anyone that knows (and dosent go on about gluLookAt etc)!!!

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!