[osg-users] LineSegmentIntersector and line width

2008-11-21 Thread a.lagnier
Hi,

I'm using osgUtil::LinesegmentIntersector to pick objects from my scene.
It works all fine except Geode containing line geometry (with LineWidth 
stateset). But, I want to pick somes thick lines, how can I do?

Thanks in advance!

Aude



 Créez votre adresse électronique [EMAIL PROTECTED] 
 1 Go d'espace de stockage, anti-spam et anti-virus intégrés.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] LineSegmentIntersector and line width

2008-11-21 Thread Peter Hrenka

Hi Aude,

a.lagnier schrieb:

Hi,

I'm using osgUtil::LinesegmentIntersector to pick objects from my scene.
It works all fine except Geode containing line geometry (with LineWidth 
stateset). But, I want to pick somes thick lines, how can I do?


LinesegementIntersector cannot pick lines (or points).
You can use osgUtil::PolytopeIntersector instead.
Have a look at the osgkeyboardmouse example for
example code.


Thanks in advance!

Aude


Peter
--
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Dr. Florian Geyer,
Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Prof. Dr. Hanns Ruder
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196 


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