If it helps, I've attached .osg files corresponding to the DT input points
and the resulting (incorrect) output triangles. I'm encountering this on
Windows with a VS8 build (both debug and release).
   -Paul
 


  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Martz
Sent: Thursday, December 14, 2006 3:32 PM
To: 'osg users'
Subject: [osg-users] DelaunayTriangulator issue, current CVS


Geoff, Robert -- There appears to be a problem with the osgUtil
DelaunayTriangulator in current CVS.
 
At about line 774 in DelaunayTriangulator.cpp, three vertices corresponding
to a "supertriangle" are added to the points list. What I'm seeing with the
current code is that the last one of these vertices appears to be
incorrectly included in the final triangulation (the result triangle mesh
incorrectly extends outside my point domain in positive Y). If I change the
order of these vertices so that the first vertex is last, then my
triangulation incorrectly extends out in negative X. So, whichever vertex is
last seems to mistakenly end up in the triangulation.
 
This is with current CVS v1.12 of this file. If I back out to v1.11, the
problem goes away.
 
Any idea what might be going awry here?
 
Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com <http://www.skew-matrix.com/> 
303 859 9466
 

Attachment: dtInput.osg
Description: Binary data

Attachment: dtOutput.osg
Description: Binary data

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

Reply via email to