Mustafa,

since last night I realise there are 3 methods which might help your tesselation, so here are the 2 I sent before and a new one.

i)encourage the tesselator by dividing your polygon into a number of non- concave polygons (there appears to be 4 outlying almost rectangles around the central quadrilateral)
ii) flatten the polygon before tesselating (and unflatten it after)
iii) add a call to setTesselationNormal( osg::Vec3(0.,0.,1.)) to your tesselator before tesselating - this will encourage an x-y plane like tesselation of the polygon rather than whatever OpenGL thinks is the best 'normal' to your polygon.

Geoff

----- Original Message ----- From: "Mustafa" <[EMAIL PROTECTED]>
To: "osg users" <[email protected]>
Sent: Wednesday, August 30, 2006 6:49 PM
Subject: [osg-users] Tesselation


Hi,
When I have tried to tesselate the following  geode, it is adding an
extra point to my polygon. Is it the normal case to add an extra point
on the geometry? IS there any way to prevent this behaviour.

Do you think that using triangulator functor  instead of tessalation
utility will overcome this problem ?

What I want to do is to generate a closed 3D mesh from the attached polygon.

BR
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to