Thanks Jean, Alberto,

It did help.

I have some new issue related to the camera manipulator.

If you have tried the osgimpostor example you will notice that the camera
rotate against Z axis when we click the left mouse
and drag it left to right or vice versa.

I want to rotate the camera against X axis when the mouse is draged
vertically -  means against the X - axis. with very same left mouse click.
Do i have to create another osg::Quat variable for that or use the existing
one ?


Any suggestion on that .



Sajjad



---------- Forwarded message ----------
From: Jean-Sébastien Guay <jean-sebastien.g...@cm-labs.com>
Date: Tue, Apr 7, 2009 at 3:07 PM
Subject: Re: [osg-users] Camera Manipulator
To: OpenSceneGraph Users <osg-users@lists.openscenegraph.org>


Hello Sajjad,

 I would like to find out when that particular function is called and who is
> calling that. I am definite that it is called, but could not find out
> who is calling that(some function in another class probably ).
>

Basic debugging technique: Run the code in the debugger, put a breakpoint in
the method and when the breakpoint is hit, check the call stack.

Couldn't be simpler :-)

J-S
-- 
______________________________________________________
Jean-Sebastien Guay    jean-sebastien.g...@cm-labs.com
                              http://www.cm-labs.com/
                       http://whitestar02.webhop.org/

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to