[JAVA3D] Is the plane problem ?

2005-05-20 Thread Saeed Ansari
Hi all, I have still problem with lightning. Don't you think that the problem is beacause of the plane object ? Regards, Saeed Yahoo! Mail Mobile Take Yahoo! Mail with you! Check email on your mobile phone.

Re: [JAVA3D] Is the plane problem ?

2005-05-20 Thread Lorenzo Bolzani
Hi all, I have still problem with lightning. Don't you think that the problem is beacause of the plane object ? Hi, I'm not sure, but if I still remember something, maybe Directional light works only if you define normals. I'd try to add a color cube at the same location, to check if the camera

Re: [JAVA3D] Is the plane problem ?

2005-05-20 Thread John Wright
You should probably read the documentation, specifically the chapter on lighting. - John Wright Starfire Research Saeed Ansari wrote: Hi all, I have still problem with lightning. Don't you think that the problem is beacause of the plane object ? Regards, Saeed

[JAVA3D] PointLight has no effect

2005-05-20 Thread Saeed Ansari
Hi, I have used PointLight on a shape, but it has no effect.Is this a problem of java3d ? Sphere s=new Sphere(0.5f); PointLight pointlight=new PointLight(true, new Color3f(1.0f, 1.0f, 1.0f), new Point3f(0.0f, 0.0f, 0.0f),new Point3f(1.0f, 0.0f, 0.0f) ); pointlight.setInfluencingBounds(bounds);