Subject: Re: Covert PBRT left-hand coordsys to OpenGL right-hand
Your 4x4 transform is (left handed)
a b c d
e f g h
i j k l
m n o p
a b -c d
e f -g h
-i - j k - l
m n -o p
to be right handed.
On 16 May 2006 01:05:22 -0700, "mljack"
>i am working with a programme to render the PBRT scene with OpenGL.
>Unfortunately i found PBRT is based on left-hand coordinate system. i
>need convert all primitives and transform data to right-hand format.
>point.z -= point.z can convert all point data in the primitives
>my question is how to convert a 4x4 transform matrix correctly which
>contain some basic transform matrix product. (eg. translate, rotate,
>scale, lookat etc.,)
>i google it and havent found a exact explanation. so i seek help here.
>it would be appreciated for some advice or discussion.
View All Messages in comp.graphics.algorithms
Covert PBRT left-hand coordsys to OpenGL right-hand =>
Copyright © 2006 WatermarkFactory.com. All Rights Reserved.