BoundingSphere bounds = new BoundingSphere(new Point3d(0.0,0.0,0.0), Double.MAX_VALUE);
//A spotlight rotating around the scene.
Color3f lightColourSpot = new Color3f(0.3f, 0.3f, 0.3f);
SpotLight lightSpot = new SpotLight(lightColourSpot,
new Point3f(0.0f,0.0f,1.0f),
new Point3f(0.1f,0.1f,0.01f),
new Vector3f(0.0f,0.0f,-1.0f),
(float) (Math.PI/4),
0.0f);
lightSpot.setInfluencingBounds(bounds);
//The transformation group for the spotlight and its rotation.