Hi all,
there were some mails in the beginnig of may in this list about the problem
vertex-color and lighting.
I do have the same problem as Frederic:
When I specify per-vertex-color and attach a material object to the
appearance I cannot see any color. Changing the parameters of the
ambient(color) and the directional(intensity and color), as someone
suggested, does not have any effect for me, i.e. there are no colors.
But if I use a point light instead of the directional light the colors are
shown and correctly shaded.
Is this a bug?
I use Java3d 1.1.2(openGL version) on a Win NT 4.0 sp4 machine with a
Diamond Viper v550.
I attach a modified version of Frederic's example. The directional light is
commented and a point light source has been added. --> works fine. Uncomment
the directional light and comment the point light source in
HelloUniverse.java and you will loose colors.
Thanx
Chris Wewerka
lighting.jar