Re: [osg-users] Picking without using osg::Viewer

2008-12-09 Thread Jean-Sébastien Guay
Hi Dusten, Has anyone implemented a picking solution that uses OSG's selection algorithm -without- utilizing viewer? I use sdl to handle window management and input, and bullet for physics (which could be fine for selecting objects in-scene later, but this it would be quite a hack to use bul

Re: [osg-users] Picking without using osg::Viewer

2008-12-09 Thread Robert Osfield
Hi Dusten, You'll need to use osgUtil::IntersectionVisitor/LineSegmentIntersector or PolytopeIntersector. The osgpick example will give you guidance on how to do this. Robert. On Mon, Dec 8, 2008 at 10:56 PM, Dusten Sobotta <[EMAIL PROTECTED]> wrote: > Has anyone implemented a picking solution

[osg-users] Picking without using osg::Viewer

2008-12-08 Thread Dusten Sobotta
Has anyone implemented a picking solution that uses OSG's selection algorithm -without- utilizing viewer? I use sdl to handle window management and input, and bullet for physics (which could be fine for selecting objects in-scene later, but this it would be quite a hack to use bullet for gui eleme