It sounds like you are building a box using TriangleStrips of some sort.
Each side of the box is actually made of 2 triangles, thus the diagonal line
is shown.  Perhaps using a QuadArray will actually create a 4-vertex polygon
(instead of the 2 3-vertex triangles) for each side.

BTW, most video hardware is (from my understanding) faster at drawing
triangles...

Lee Dixon

-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED]]On Behalf Of Pasi Paasiala
Sent: Monday, May 22, 2000 3:59 AM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] How to get rid of extra lines?


Hello,

I'm having a problem with extra lines that are shown for example in a box,
when I set the polygon mode to PolygonAttributes.POLYGON_LINE. In addition
to the outline of the box there are also diagonal lines that go
from one corner of the box to another. Does anyone know how to get rid of
those?

Pasi

===========================================================================
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".

===========================================================================
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