Hi Enrico,

Enrico Borrione wrote:
> And this is all for the setup. As for the tracking, I am just doing some
> tests, so I just pass to the user node some simple transformations:
>
> void updateUserTransform ()
> {
>     osg::Matrix m;
>     m.setTranslate (m_fPosX, m_fPosY, m_fPosZ);
>
>     beginEditCP (m_pUserTransformCore, osg::Transform::MatrixFieldMask);
>         m_pUserTransformCore->setMatrix (m);
>     endEditCP (m_pUserTransformCore, osg::Transform::MatrixFieldMask);
>   
>     drawFrame ();
> }
>
>
> The problem is that when I call drawFrame, the camera does not change at
> all. Probably I am missing something important, 
> But even looking at the doxigen files I can't figure it out what it could be
>   
Is m_pUserTransformCore the core that you create further up in your 
program in if (face==FRONT_CAVE_FACE) or the one above that?

To move the user in front of the screens you need to use the lower one, 
the upper one moves the Cave through the world.

Hope it helps

    Dirk


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to