Light Influencing Bounds : Examples

Set bounds relative to the light's coordinate system

PointLight light = new PointLight( );
light.setInfluencingBounds( bounds );

Or relative to a bounding leaf's coordinate system

TransformGroup group = new TransformGroup( );
BoundingLeaf leaf = new BoundingLeaf( bounds );
group.addChild( leaf );
. . .
PointLight light = new PointLight( );
light.setInfluencingBoundingLeaf( leaf );

Large bounds Small bounds

Example : BoundingSphere(Point3d center, double radius)