The short answer is that the colors in a geometry object are used for per-vertex
colors, and colors in the ColoringAttributes is used for color per geometry.
If you have both set, then RenderingAttributes.setIgnoreVertexColors() can
be used to toggle between the one you want.

Doug Twilleager
Java 3D Team
Sun Microsystems

>Subject: [JAVA3D] about color in Appearance & Geometry
>To: [EMAIL PROTECTED]
>MIME-version: 1.0
>X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
>X-Priority: 3
>X-MSMail-priority: Normal
>Delivered-to: [EMAIL PROTECTED]
>
>Hi all,
>    A stupid question would someone help me?
>In  Geomerty we can set color with function setColor .
>And in Appearance also we have function setColoringAttributes.
>What's would actually change color looking in Shap3D?
>And what's the different between them?
>
>thanks a lot.
>
>stupid boy -- dodolong

===========================================================================
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