On 12/13/2011 01:47 AM, Vijeesh Theningaledathil wrote:
Hi,
Excuse me for posting this question as I'm just a beginner in the computer
graphics. Which threading model will give the best performance in a dual core
computer with Nvidia Quadro graphics card.
The answer to that will depend on your application. If you're not sure,
just let OSG pick the threading model for you (the default).
Also I have a doubt regarding the makeRotate for camera rotation. If I use
pitch,roll, yaw order, camera rotation doesn't work. I have to use roll ,
pitch, yaw order only. Why this is required?
I'm not sure what you're asking. None of the makeRotate methods in
osg::Matrix explicitly refer to pitch, roll, or yaw. The generic answer
is that Euler angle rotations are not commutative (the order in which
you apply the rotations is mathematically significant).
Look here for more details:
http://www.euclideanspace.com/maths/geometry/rotations/euler/index.htm
or, better yet, just avoid them altogether:
http://www.sjbaker.org/steve/omniv/eulers_are_evil.html
--J
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org