Re: [osg-users] Delaunay triangulation bug

2012-09-07 Thread Robert Osfield
Hi Patrice, On 7 September 2012 16:01, Patrice Gonzalez wrote: > ok thank you for the answer. However, is there a simple way to compile > OpenSceneGraph with double values instead of float? > By default the OSG chooses double over float in places where it's configurable such as for the default M

Re: [osg-users] Delaunay triangulation bug

2012-09-07 Thread Patrice Gonzalez
Hi, ok thank you for the answer. However, is there a simple way to compile OpenSceneGraph with double values instead of float? Cheers Sergey Polischuk wrote:Hi You just rolling over limits of single precision float capabilities with this input. There are rounding on Y values up to 0.02 just

Re: [osg-users] Delaunay triangulation bug

2012-09-07 Thread Sergey Polischuk
Hi You just rolling over limits of single precision float capabilities with this input. There are rounding on Y values up to 0.02 just if you convert those to float. Add there some arithmetic operations on such values and error will grow an order or two, you get the point. Cheers. 07.09.2012, 17:28

[osg-users] Delaunay triangulation bug

2012-09-07 Thread Patrice Gonzalez
Dear OpenSceneGraph users, while using the Delaunay triangulation library, I found some cases where the triangles generated were intersecting other triangles, which is normally impossible in a Delaunay triangulation. The bug can be reproduced with the following set of points: x