It works!!!

new Sphere (radius, Sphere.ENABLE_APPEARANCE_MODIFY|Sphere.GENERATE_NORMALS,
null);

Thanks Renaud and Loic.  I can now change the color of Spheres.


Bob Gray

-----Original Message-----
From: Loïc YON [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 13, 1999 1:40 PM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Changing Sphere Color




--- Bob Gray <[EMAIL PROTECTED]> a écrit:
> This sounded reasonable, so I changed MySphere
> (which extends Sphere)
> constructor
> from
>
> super(1.0f);
>
> to
>
> super(1.0f, Sphere.ENABLE_APPEARANCE_MODIFY, null);
You should type ENABLE... | GENERATE_NORMALS
and it should work

Loic
===
I never gossip, I always state facts
___________________________________________________________
Do You Yahoo!?
Votre e-mail @yahoo.fr gratuit sur http://courrier.yahoo.fr

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