Thank you I resolve the problem using:
m_Viewer-getCamera()-setViewMatrixAsLookAt(eye, centre, up);
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=22896#22896
___
osg-users mailing list
hello
I set up the TrackballManipulator to move the camera with the mouse but I would
like to active and inactive the manipulator.
It is probably very simple but I can’t find who to inactivate the
TrackballManipulator.
Thank you
--
Read this topic online here:
one way is thru an EventHandler that will enable/disable the camera
manipulator by keyboard for example, simply
viewer-setCameraManipulator(0)/setCameraManipulator(new
TrackballManipulator)
Nick
http://www.linkedin.com/in/tnick
Sent from Devlet, Ankara, Turkey
On Fri, Jan 15, 2010 at 9:00 PM,
When I do that it deletes all possibility to manipulate the camera.
I want to be able to manipulate the camera in code and remove the control for
the user.
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=22734#22734
you can control the camera by setting the view matrix without manipulator
Nick
http://www.linkedin.com/in/tnick
Sent from Ünalan, İstanbul, Turkey
On Fri, Jan 15, 2010 at 10:49 PM, Nemo Ulysse ulysse.vau...@gmail.comwrote:
When I do that it deletes all possibility to manipulate the camera.
I
5 matches
Mail list logo