View Full Version : Does opengl use the left-hand or right-hand system by default?

Hello, does opengl use the left-hand system or the right-hand system? Also, i figured out that if we're using the left-hand system, rotation will be clockwise, while in a right-hand system, rotation will be counterclockwise!! Is this right?

harsman

03-24-2004, 12:09 AM

OpenGL's default coordinate system is right handed, i.e positive z points out of the screen.

lapiz

03-26-2004, 04:20 AM

See "Appendix B" of OpenGL specification.

15. OpenGL does not force left- or right-handedness on any of its coordinates systems. Consider, however, the following conditions: (1) the object coordinate system is right-handed; (2) the only commands used to manipulate the model-view matrix are Scale (with positive scaling values only), Rotate, and Translate; (3) exactly one of either Frustum or Ortho is used to set the projection matrix; (4) the near value is less than the far value for DepthRange. If these conditions are all satisfied, then the eye coordinate system is righthanded and the clip, normalized device, and window coordinate systems are left-handed.

Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.