On Mon, 3 May 1999, Frederic Gillet wrote:

> I dont think its a bug, I must have missed something : P ... but still, whats
> the point of
> having colors in the geometry if we cant use them when lighting is enabled ?

Your example works fine, just turn the ambient light down to nothing
(0.0,0.0,0.0) and then set the directional light to point straight into
the scene - I tried (0.0,0.0,-1.0).

I think part of the problem is that the tetrahedron is tilted at an odd
angle and so your light wasn't hitting much of each face - plus the fact
that the ambient light was making things look a murky gray.

HTH
Tim.

,----------------------------------------------------------------------.
| Tim Needham.                                                         |
| OU Computer Society Ex-President.          |\    ___,,--,_        __ |
| [EMAIL PROTECTED]                     /,`--''        \`,,__,',-'| 
| http://ox.compsoc.net/~timothy            |,4   ) )_    ) /~-----'   |
`------------------------------------------'---^~(_/-_)--(_/_)---------'
      Q: What do a computer scientist and an engineer have in common? 
  A: They are both stupid, with the exception of the computer scientist. 

=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to