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