HI Amuary,

>From your code segment and information provided I can't say
specifically what the problem.  The best I can do is recommend having
a look at the osgmanipulator example.

Robert.

On 2 May 2013 09:21, Amaury Courtin <[email protected]> wrote:
> Hi,
> I know this post might look stupid to some of you but I am quite new to 3D 
> programming.
> My problem is that I am trying to insert a TabBoxTrackballDragger in my scene 
> and it doesn't work. This is what I did:
> osg::ref_ptr<osgManipulator::TabBoxTrackballDragger> _trackballDragger = new 
> osgManipulator::TabBoxTrackballDragger;
>         _trackballDragger->setupDefaultGeometry();
>         _trackballDragger->addChild(cam.get());
>         root->addChild(_trackballDragger.get());
> and the problem is that when I press ctrl and leftclick on the object, 
> nothing happens...
> Would you know why?
> ...
> Iron_Phoenix
> Thank you!
>
> Cheers,
> Amaury
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=53888#53888
>
>
>
>
>
> _______________________________________________
> 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

Reply via email to