My experience with Triangulator has been disappointing
particularly for the curved surfaces. For example, I
have a half cylindrical surface with a hole in it.
Since there is no way to control the triangle density,
I see a triangle fan. Also many triangles are not
exactly on the cylindrical surface. Some of the edges
of the triangles form a chord along the cylindrical
edge. There could be a serious falw in the
triangulator algorithm.

Now from the GeometryInfo object I create a "Delaunay
Triangulation" myself instead of relying on the
Triangulator class. I wish they provide the sourec
code of the class.

Ravi



--- "Dvorak, Daniel J."
<[EMAIL PROTECTED]> wrote:
> In looking at the coordinates contained in a
> GeometryArray, I just
> discovered that the Triangulator is dividing a
> simple 4-sided polygon into
> what looks like a triangle fan with 14 triangles.  I
> believe this is causing
> my application to take much more memory than it
> should, as I'm drawing a lot
> of 4-sided polygons.
>
> I use GeometryInfo to load my geometry.  Is there
> some way to specify the
> triangle density that the triangulator generates?
> In my application, two
> triangles would be sufficient for a 4-sided polygon,
> and would probably
> conserve memory.
>
> Daniel Dvorak
>


__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to