[ Contact ] [ Links ] [ Previous : 3 / 23 : Types of Lights ] [ Up ] [ Next : 5 / 23 : Ambient Lights ]

Ambient Lights

AmbientLight extends the Light class



TransformGroup group = new TransformGroup( );
. . .
AmbientLight light = new AmbientLight( );
light.setEnable( true );
light.setColor( new Color3f( 1.0f, 1.0f, 1.
0f ) );
. . .
light.setInfluencingBounds( bounds );
group.addChild( light );

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>