Re: [JAVA3D] Problems with SpotLight

2004-06-08 Thread Alessandro Borges
Fredrik Your light demo looks nice. The other objects just have too few faces. As the light reflection is pixel-by-pixel Gouraud interpolated using the light values at vertices, few faces means poor light effect. A simple example is the look of a sphere with few faces against a sphere with large a

[JAVA3D] Problems with SpotLight

2004-06-08 Thread Fredrik Andersson
Hello! I try to learn how the light classes works in Java3D. I have created a small app that contains 3 gaslights. Below each gaslight there is a surface, cylinder, box and a instance of a class called Ground (a Shape3D rectangle). The gaslight emitts a spotlight downwards. The light that hits the

[JAVA3D] Problems with SpotLight

2004-06-08 Thread Fredrik Andersson
Hello! I try to learn how the light classes works in Java3D. I have created a small app that contains 3 gaslights. Below each gaslight there is a surface, cylinder, box and a instance of a class called Ground (a Shape3D rectangle). The gaslight emitts a spotlight downwards. The light that hits the