A degenerate triangle should render nothing if the polygon mode is
FILL.  It is up to the underlying OpenGL or D3D implementation to
do the correct thing in this case.

-- 
Kevin Rushforth
Java 3D Team
Sun Microsystems

[EMAIL PROTECTED]


>Date: Wed, 09 Jun 1999 08:12:50 +0100
>To: [EMAIL PROTECTED]
>From: Howard Watkins <[EMAIL PROTECTED]>
>Subject: [java3d] TriangleStripArray - nearly, nearly got it, but .... 
>
>>  coords[1] = new Point3f( 1.0f,0.0f,-0.5f);
>>  coords[2] = new Point3f( 1.0f,0.5f,0.0f);  
>>  coords[3]=new Point3f( 1.0f,0.5f,0.0f);    triangle 2, but 2 corners the
>>same, so a line
>
>I have no experience of Java3D's TriangleStripArray, but in other systems a
>degenerate triangle is NOT a line, but NOTHING. That's how you can use one
>long "poly tri strip" to render several surfaces.
>
>Could someone please confirm if my statement is also true of Java3D's
>TriangleStripArray - or was Tony Burrows correct in saying a degenerate
>triangle renders a line?
>
>Howard.
>=====================================================================
>To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
>Java 3D Home Page: http://java.sun.com/products/java-media/3D/
>
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to