Is your directional light pointing to right direction ?? It may need to be
reversed.

Alessandro


----- Original Message -----
From: "Lan Wu-Cavener" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 16, 2003 12:09 PM
Subject: [JAVA3D] help on appearance


> Hi, every one:
>
> I have this problem that I can not figure out now. I have geometry set
with
> normals, but no vertex colors. I used a new Appearance() to build Shape3D.
> The objects look gray which is correct default color. But if I use
>
>                  Material ma = new Material();
>                  ma.setDiffuseColor(green);      // green is Color3f
object
>                  ma.setLightingEnable(true);
>                  Appearance app = new Appearance();
>                  app.setMaterial(ma);
>
> The objects are total black. What was wrong here? Also when use the
default
> appearance, I don't see any reflection from light, although I did set up
> directional light for the whole scene. Any guess is appreciated!
>
> Lan
>
>
>
> Lan Wu-Cavener
> Dept. of Landscape Architecture

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