Hello fellow java3d programmers.

Elisabeth,

If you could use a TriangleArray rather than a LineArray the following
works:

        PolygonAttributes pa = new PolygonAttributes();
        pa.setPolygonMode(pa.POLYGON_LINE);
        pa.setCullFace(pa.CULL_BACK);
        objectAppearance.setPolygonAttributes(pa);

Matt Bates

-----Original Message-----
From: Discussion list for Java 3D API
[mailto:JAVA3D-INTEREST@;JAVA.SUN.COM] On Behalf Of Elisabeth Thorsen
Sent: October 24, 2002 7:32 AM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] setCullFace has no effect on a LineArray - why?

Hi,
The setCullFace() method of PolygonAttributes has no effect on a
LineArray although coordinates and normals are set.
If I use a QuadArray with the same coordinates and normals as for the
LineArray then setCullFace works fine. (I use
PolygonAttributes.CULL_BACK)

Does anyone know why it has no effect on the LineArray?

Elisabeth Thorsen

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