By far, I have not understood how the location's Point3f and the direction's vector3f works.
I want some spotlight lighting a tennis court.
I've tested the following: (basically is an spotlight located at one corner of the court pointing to the court's center. The court center is located at (0,0,0). The corner is at (18,10,-39) )
lampSpot1 = new SpotLight(new Color3f(1f,1f,1f),new Point3f(18,10,-39),
new Point3f(1,0,0),new Vector3f(0,0,0),
90.0f * (float) Math.PI / 180.0f, 1.0f);
But the light doesn't appear.
playing with the direction vector produces several effect,s sometimes the lights appear butn in some strange directions, etc.
So, I need some advice on how the spotlight works, maybe any tutorial or white paper i dunno
Bwt, I searched many times here in the forum but I found nothing related to my stuff. Also, the Java3D tutorial doesn't give me anything useful
Tnahks in advance