[ Contact ] [ Links ] [ Previous : 10 / 23 : Light Influencing Bounds ] [ Up ] [ Next : 12 / 23 : Scoping Lights ]

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)

 


See the "Links" link above to find out the sources of the proposed informations
Pascal Vuylsteker / eScience / Computer Science / ANU
Last modified: 20/4/2004
TOC - Print
Send your comments at :
<Hugh.Fisher@anu.edu.au>