-
Rotating to be parrallel to a plane
Once I've defined my viewing, using glOrtho, I use glRotate to rotate around my origin in two aspects, around the x axis and around the y axis (y being the standard 2d mathmatically y axis). What I need, is to be able to rotate to make the camera be inside the normal of a plane, facing the plane defined by the equation ax+by+cz=b. This needs to be in terms of the two rotations above, and can take place in reference to the origin. Any ideas?
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