Hoi Rudolf,
 
Code looks good.
 
You might try to change the values of the four colors you use. I recently found that certain color combinations result in dull colors. Depends also on the light sources of course. Especially 'ambient light', which defaults to (0.2, 0.2, 0.2) could be important.
 
If that doesn't help, I wouldn't know.
 
Greetings, Patrick
----- Original Message -----
Sent: maandag, december 13, 1999 8:58
Subject: [JAVA3D] TriangleArray, flat and dull shading

I realize this question has come up many times before here, but I would really appreciate it if someone could take a peek at my code and tell me what is wrong with my lighting, shading, triangles.
 
I have tried everything I could think of but the shading of the object remains flat and dull whatever I try. I think the data should be okay since the same file displays fine in another program.
 
My source code and screen prints can be found at www.sportsci.com/Rude/J3D
 
Thanks for your help!!
 
- Rudolf  [ [EMAIL PROTECTED] ]
 
===========================================================================
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