[osg-users] 3dconnexion for windows
Rémy Deslignes
rdeslignes at silicon-worlds.fr
Wed Mar 5 01:40:12 PST 2008
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: osg-users-bounces at lists.openscenegraph.org
> [mailto:osg-users-bounces at lists.openscenegraph.org]On 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
>> osg-users at lists.openscenegraph.org
>> 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
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> 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
===========================================
More information about the osg-users
mailing list