Here is my code

Color3f light1Color = new Color3f(0.0f, 1.0f, 0.0f);
AmbientLight light=new AmbientLight(light1Color);
BoundingSphere bounds = new BoundingSphere(new Point3d(0.0, 0.0,
0.0), 100.0);

light.setInfluencingBounds(bounds);
group.addChild(light);


But the color isn't as brisky as it was with the ordinary directional light. Why?

----- Original Message -----
Sent: Tuesday, June 17, 2003 8:51 PM
Subject: Re: [JAVA3D] Light Everywhere!!!

Isn't that what AmbientLight does?

Kev

Γιάννης wrote:
Could i have light everywhere within the Universe? I would like to rotate the shape and see all its faces

Reply via email to