![]() |
![]() |
![]() |
![]() |
268 |
TransformGroup myLightable = new TransformGroup( );
Shape3D myShape = new Shape3D( myGeom, myAppear );
myLightable.addChild( myShape );
DirectionalLight myLight = new DirectionalLight( );
myLight.addScope( myLightable );