Hi Ivan, You example is fine, the viewer will automatically attach a TrackballManipulator when you call Viewer::run() as a fallback. In principle it's better to explicitly add the camera manipulator you want as it's clearer what is being set up.
As for the demo freezing, I don't know why this might be happening, I haven't heard others having an issue. I would strongly suspect an issue with the window manager as the OSG has nothing to do with the touchpad itself. One experiment you could do is attach the StatsHandler and then bring up on screen stats to see if the viewer is still running then do the touchpad re-enable. Another would be to look at different window managers. Robert. On 13 January 2014 10:09, Ivan Nikolaev <void...@develer.com> wrote: > Well, just following "OpenSceneGraph 3.0 Beginners Guide" book, and since > it's a Viewer instance, everything should work out of the box, at least on > my Ubuntu 12.04 machine with Unity shell it *seems* that it never > manifested similiar problems. > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org