Jump to content
  • Advertisement

Archived

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

PaulPrice

Position and orientation matrix

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

  • 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!