Re: [osg-users] Manipulator assign screen buttons

2011-06-20 Thread daniele argiolas
thank you! done!

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=40688#40688





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Manipulator assign screen buttons

2011-06-16 Thread Robert Osfield
Hi Daniele,

On Thu, Jun 16, 2011 at 3:45 PM, daniele argiolas arj...@gmail.com wrote:
 how to assign manipulator movement (drive manipulator) to buttons on the 
 screen? Is there a simple way?
 I just know how to create buttons and events.

The DriveManipulator is designed for mouse interaction and doesn't
have any mechanism for working with anything other than mouse
interaction.

If you want to control the camera position using your own custom
method then simply derive your own CameraManipulator or just set the
viewer's Camera ViewMatrix each frame by own codes.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org