I've built a QuadArray with per-vertex colors, however I can't figure out
how to get it to do shading.
The Quad array is a colection of boxes (the primitive Box() wasn't working
for the application) each box is made a different color by setting the
vertex colors.

I've applied an appearance object to the QuadArray, but what I get is a
single material layed over the box color.

Is there any way to set up the material so it goes to the geometry and picks
the ambient color from the surface which I can then scale and apply to
diffuse and specular colors?

Don Casteel

Manufacturing Engineer
TEXTRON Automotive Company -- Athens Operations
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Voice:  (423)744-1109
        Fax:    (423)744-1112
        Pager:  (423)744-1129  -- 109
                Internet:       [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