[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] GL_MAX_TEXTURE_SIZE power of two ?



On 2013/07/17 6:39, Jeff Gilbert wrote:
 'OpenGL is right-handed'?)
BTW, OpenGL {,ES} without the fixed-function pipeline is not right-handed. Clip-space & NDC space are  left-handed and always have been. See the viewport transform and the default DepthRange and DEPTH_TEST values (0→1 & LESS respectively). gl_position output by the the vertex shader is in clip space. The reason people say OpenGL is right-handed is because the standard projection matrices produced by glOrtho, glFrustum, & etc. in the fixed-function pipeline, scale Z by -1, thereby making eye (and world and object) space opposite to clip space, i.e., right-handed.

Regards

    -Mark

--
注意:この電子メールには、株式会社エイチアイの機密情報が含まれている場合が有ります。正式なメール受信者では無い場合はメール複製、 再配信または情報の使用を固く禁じております。エラー、手違いでこのメールを受け取られましたら削除を行い配信者にご連絡をお願いいたし ます.

NOTE: This electronic mail message may contain confidential and privileged information from HI Corporation. If you are not the intended recipient, any disclosure, photocopying, distribution or use of the contents of the received information is prohibited. If you have received this e-mail in error, please notify the sender immediately and permanently delete this message and all related copies.