The point is that it is not obvious to me how you convert the rotation 
information from the 3Dconnexion driver into an osg rotation...

Dieter Pfeffer a écrit :
> Hi
>
>
> I don' t use a MatrixManipulator but would like to set the camera
> viewmatrix:
>
>    viewer.getCamera()->setViewMatrix (vMatrix * osg::Matrix::rotate
> (-(osg::PI_2),1,0,0));
>
> with
>
>       tMatrix =  rot * trans;
>       vMatrix = tMatrix.inverse (tMatrix);
>
>
> Dieter
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Rémy
> Deslignes
> Sent: Tuesday, 04 March, 2008 11:02
> To: OpenSceneGraph Users
> Subject: Re: [osg-users] 3dconnexion for windows
>
>
> I guess that this is deeply related to the MatrixManipulator you are
> using .
> What MM are you using ?
> Please also note that there is a setting in the 3D connexion driver to
> set the translation as "dominant" .
>
> Rémy
>
> Dieter Pfeffer a écrit :
>   
>> Hi
>>
>> has s.o. implemented the 3dconnexion input device and can give me a
>> hint (or source) how to match it to the viewmatrix in osg.
>>
>> I have no problems in translation but I can't figure out how to set
>> the corrrect rotation. If I use only heading it's correct but not
>> heading and pitch together.
>>
>>
>>
>> Thanks
>>
>> Dieter
>>
>>
>>
>> Unclassified Mail
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> osg-users mailing list
>> [email protected]
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>>     
>
>
> --
> Remy Deslignes
>
> Ingenieur Developement / Software Engineer
>
> Tel: +33 (0)1.53.90.11.19
>
> ===========================================
>  Silicon Worlds S.A.
>  224, rue Saint Denis
>  75002 Paris  France
>  Tel: +33 (0)1.53.90.11.11
>  Fax: +33 (0)1.53.90.11.12
>  http://www.silicon-worlds.fr
> ===========================================
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> ---------------------------------------------------------------------------------------
> Orange vous informe que cet  e-mail a ete controle par l'anti-virus mail. 
> Aucun virus connu a ce jour par nos services n'a ete detecte.
>
>
>
>   


-- 
Remy Deslignes

Ingenieur Developement / Software Engineer 

Tel: +33 (0)1.53.90.11.19

===========================================
 Silicon Worlds S.A.
 224, rue Saint Denis
 75002 Paris  France
 Tel: +33 (0)1.53.90.11.11
 Fax: +33 (0)1.53.90.11.12
 http://www.silicon-worlds.fr
=========================================== 


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

Reply via email to