Hi,
I�ve tried to fill a TriangleStripArray with a different coloring scheme. I
wanted to use the ColoringInterpolator class but this doesn�t work. I�ve
tried to set the ColoringAttributes with SHADE_GOURAUD but this doesn�t work
too.
Could anybody send me an example how to use the ColorInterpolator class?
In the following code fragment you see what I�ve tried:
//============
ColoringAttributes c_att = new ColoringAttributes(1.0f, 1.0f, 0.2f,
ColoringAttributes.SHADE_GOURAUD);
app.setColoringAttributes(c_att);
Material mat = new Material() ;
ColorInterpolator CI = new ColorInterpolator(
new Alpha(-1, 50000),
mat,
new Color3f(0.0f, 0.0f, 0.0f),
new Color3f(1.0f, 1.0f, 1.0f));
app.setMaterial(mat);
//=============
Thanks for any hints and tips!
Best regards,
Bernd
===========================================================================
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".