-
about up vector of camera
about the function glLooAt(x,x,x, x,x,x, upx,upy,upz);
if i use it to set my camera,and up vecotr is (0,-1,0),so
what are the pitch,yaw,roll components???
-
Advanced Member
Frequent Contributor
LookAt does not use pitch,yaw,roll. Once you have created the view matrix you can extra the pitch,yaw,roll. These are the euler angles
You might read this
https://truesculpt.googlecode.com/hg...x_to_euler.pdf
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules