Hello Julien,
Thanks for your detailed answer, it is very appreciated!
Cheers,
Antoine.
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=72765#72765
___
osg-users mailing list
Hi Antoine
You've totally get it :)
I would add that TemplatePrimitiveIndexFunctor is your friend for this use case
Cheers
arennuit wrote:
> Hello and thanks for your answer,
>
> What you mean is that I should share the vertices when building the
> osg::Geometry, right?
>
> This is possible
Hello and thanks for your answer,
What you mean is that I should share the vertices when building the
osg::Geometry, right?
This is possible indeed, but then OSG would still select faces in the
osgUtil::PolytopeIntersector, and I would still have to convert the faces into
vertices, right? So
Hi Antoine
No magic here...
Either you share vertices among triangles else you manage yourself duplicates
during selection
Cheers
arennuit wrote:
> Dear OSG forum,
>
> I have a vertices selection problem (these are the vertices of a mesh). When
> I select vertices, each vertex appears
Dear OSG forum,
I have a vertices selection problem (these are the vertices of a mesh). When I
select vertices, each vertex appears multiple times in my selection (e.g. if I
select 3 vertices, there are actually 9 entries in the selected
vertices array - each vertex being duplicated).
5 matches
Mail list logo