There is a flag in the PolygonAttributes to flip the normals if the transform contains a reflection. However, that one works only with the opengl version, and not with the directx version of j3d.
Cheers, Florin -----Original Message----- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] Behalf Of N. Vaidya Sent: Montag, 15. M�rz 2004 20:55 To: [EMAIL PROTECTED] Subject: [JAVA3D] Refelction Transform & Lighting I'm using the following Transform3D m_00 = -1, m_11 = m_22 = m_33 = 1, and zero for all other elements, on a TransformGroup to effect a reflection of the scenegraph about the yz-plane. And when I do that, the geometry gets transformed correctly but the diffuse and specular lightings get clobbered ! Is there any issue with transforming normals with the above matrix structure, or am I missing something trivial ! =========================================================================== 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".
