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

Reply via email to