Jump to content
  • Advertisement

Archived

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

rtime

DX Cam-Matrix

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

Hi everybody... i just cleaned up my code, and so i reviewed my Cam-Calculation.... (..."ripped" from DX-SDK) the last row says: -position*right -position*up -position*front 1 (don't know the (* = dot-product) i was wondering... hmm.. the last row is used for translating the world by the negative camera-position... reviewing my old software-engine and 3d-theory-docs... all with the same result: the 4th row should be -pos.x -pos.y -pos.z 1 (and it worked well im my soft-eng) i thought a while about the dot-product, but haven't a clue why it must be the dot-product instead of the position... well... using the DX-way and given up=0,1,0 front=0,0,1 right=1,0,0 would result in -pos.x -pos.y -pos.z 1... hmm.. don't get it... thanks for your help Torsten Edited by - rtime on 10/2/00 10:57:25 PM

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.

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!