On Mon, May 19, 2008 at 4:23 PM, Alejandro Segovia <[EMAIL PROTECTED]>
wrote:

> Actually, I've discovered that the tilting effect in NodeTrackerManipulator
> is actually a "pulsing" effect. For some reason NodeTrackerManipulator never
> seems to "settle" at a position, providing a view matrix for even frames and
> another one for uneven frames.
>
> Here is a printout of two consecutive view matrices (obtained calling
> getInverseMatrix):
>
> [1.000000,0.000000,0.000000,0.000000]
> [0.000000,1.000000,0.000000,0.000000]
> [0.000000,0.000000,1.000000,0.000000]
> [0.000000,0.000000,-106.750074,1.000000]
>
> [1.000000,0.000000,0.000000,0.000000]
> [0.000000,1.000000,0.000000,0.000000]
> [0.000000,0.000000,1.000000,0.000000]
> [0.000000,0.000000,-117.486391,1.000000]
>
> This pattern just goes on forever and makes the view pulse. I'm sure this
> is a problem in the way I'm setting up this manipulator, since this problem
> is not present in the osgsimulation example, but I'm not making too many
> changes to the default, just setting the node to track, the trackermode to
> NODE_CENTER and the rotationmode to TRACKBALL.
>
> I'm also using a custom coordinate frame callback, which (always) returns
> an identity with the second and third row exchanged.
>
> Any ideas?
>

Could this problem have something to do with the fact that I never attach my
cameras to the Scene Graph?

Thanks in advanced,
Alejandro.-

-- 
[EMAIL PROTECTED]
http://varrojo.linuxuruguay.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to