• Advertisement

Archived

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

Up vector

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

this must be really basic but i''ve been having problems with this all day: is the up vector in relation with the origin or the target vector (for cameras)

Share this post


Link to post
Share on other sites
Advertisement
The UP vector is whatever direction is up relative to the camera. For example, if using Left Hand Coordinates and the EYE vector is (0, 0, 0) and the look-at vector is (0,0,10). The Up vector could be (0,1,0), which would act as if we are standing upright. If the UP vector is (0,-1,0) that means we''re upside down. If its (1,0,0) that means we''re sideways! make sure the UP vector is a unit vector.

Share this post


Link to post
Share on other sites

  • Advertisement