Hi,
try to search the archives for "triangle" or "geometry" and "visitor".
http://news.gmane.org/gmane.comp.graphics.openscenegraph.user
Also try searching the osg examples for visitor.
jp
I-Misra, Abhay wrote:
Hi,
Can any one give me a few pointers for the stuff below.
Thanks.
Abhay
-----Original Message-----
From: I-Misra, Abhay [mailto:[EMAIL PROTECTED]
Sent: Monday, 25 August 2008 5:04 PM
To: [email protected]
Subject: [osg-users] osgUtil::Tessellator getting back new structure.
Hi Every one,
I am using osgUtil::Tessellator to tessellate a few polygons. However
I don't want to use the viewer to draw them. I just want the vertices of
the new structure returned.
I am using the following options
gtess->setTessellationType(osgUtil::Tessellator::TESS_TYPE_GEOMETRY);
gtess->setBoundaryOnly(true);
gtess->setWindingType(
osgUtil::Tessellator::TESS_WINDING_POSITIVE)
After running
retessellatePolygons()
How do I access the vertices of the new structure. I have tried
getPrimList, but seem to be getting a few points that are way off.
Thanks,
Abhay
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or
g
_______________________________________________
osg-users mailing list
[email protected]
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. MailScanner thanks Transtec Computers for their support.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org