Hi,
Using osgViewer, I wanted to setup projection matrix
and modelview matrix by using intrinsic and extrinsic
parameter of a camera (which is not osg camera, but
actual camera).
My problem is that I want to rotate and translate a model
by using a matrix form (+z-axis is inward screen, i.e., opposite to
opengl),
so simply changing translation vector in the matrix by the negation
(i.e., -z) didn't
work because translation was fine at least z-axis but rotation was not.
I tested the same projection matrix and modelview matrix in OpenGL
which was working.
But not in osg or osgViewer.
Any idea? or explanation?
Cheers,
Dongpyo
====
Dongpyo Hong
Research Assistant
GIST U-VR Lab.
http://uvr.gist.ac.kr
http://uvr.gist.ac.kr/~dhong
Tel. +82-62-970-3157
Fax. +82-62-970-2204
Email. [email protected]
[email protected]
====
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org