Re: [osg-users] Vertex index from primitive index

2012-01-22 Thread J.P. Delport

Hi,

I think there is some code in the osgmovie and InteractiveImageHandler 
that gets vertices and texture coordinates from intersected geometry.


jp

On 22/01/2012 13:49, Aurelien Albert wrote:

Hi,

I'm using PolytopeIntersector to handle some picking functionnality.

The resturned intersection list contains primitives index, but I need to 
retrieve corresponding vertices.

Is ther any OSG function to get vertices informations (drawable, index...) from 
a primitive index ?

Thank you!

Cheers,
Aurelien

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=44961#44961





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



--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.


This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.


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


[osg-users] Vertex index from primitive index

2012-01-22 Thread Aurelien Albert
Hi,

I'm using PolytopeIntersector to handle some picking functionnality.

The resturned intersection list contains primitives index, but I need to 
retrieve corresponding vertices.

Is ther any OSG function to get vertices informations (drawable, index...) from 
a primitive index ?

Thank you!

Cheers,
Aurelien

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=44961#44961





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