Aurelien, I believe the osgUtil::IndexMeshVisitor will do that.

Glenn Waldron / @glennwaldron


On Wed, Oct 10, 2012 at 2:28 PM, Aurelien Albert <
[email protected]> wrote:

> Hi,
>
> I use tesselator to generate a geometry from a LINE_LOOP primitive.
>
> The tesselator output give me a TRIANGLES_FAN primitive which seems to be
> correct.
>
> Now I would like to get the tesselator output as TRIANGLES primitive.
>
> Is there anyway to control the primitive type built by the tesselator ?
>
> Or is there any OSG tool function / visitor that can convert TRIANGLES_FAN
> to TRIANGLES ?
>
> Thank you!
>
> Cheers,
> Aurelien
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=50551#50551
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to