Hi Calin,

Picking is also demonstrated in the osgpick example.

If you have multiple camera setup with each camera capturing its own
view I would recommend use the SVN version of the OSG as the new
osgViewer library specifically supports this type of usage thanks to
the new CompositeViewer class.

Robert.

On 3/12/07, Calin Negru <[EMAIL PROTECTED]> wrote:
Another newbie question.

I'm trying to add picking to my project.
I'm using osgkeyboardmouse example. In the example the model is added to a
SceneView object.

osg::ref_ptr<osgUtil::SceneView> sceneView = new
osgUtil::SceneView;
sceneView->setSceneData(loadedModel.get());

In my project I don't have a SceneView object.

If it's important I'm using a two camera setup.
--
Calin Negru
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to