Hi Brad,

    See PolygonAttributes

  public void setBackFaceNormalFlip(boolean backFaceNormalFlip)

However, Java3D v1.2 beta1 for DirectX
current don't support two-side lighting.
You have to use Java3D v1.2 for OpenGL instead.

- Kelvin

-------------------
Java 3D Team
Sun Microsystems Inc.


>MIME-Version: 1.0
>Content-Transfer-Encoding: 8bit
>Date: Fri, 21 Jul 2000 04:44:33 +1000
>From: bdcr <[EMAIL PROTECTED]>
>Subject: [JAVA3D] Two-sided lighting
>To: [EMAIL PROTECTED]
>
>Hi group,
>
>I am in bad need for help... Does anybody know how too give two-sided lighting
>to a polygon? (i.e able to see lighting on both faces of polygon so if I had a
>square it would appear the same as if I do a complete flip of square)...
>
>Any help would be great.. Note in OpenGL it is done by doing the following:
>glLightModeli(GL_LIGHT_MODEL_TWO_SIDE, GL_TRUE)
>
>Thanks,
>Brad
>
>===========================================================================
>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