Basic HTML version of Foils prepared
April 7 1998
Foil 41 Controlling Lights
From
Overview of Java2D and Java3D Frameworks CPS616 Web Technologies --
Spring 98
.
by
Geoffrey C. Fox
1
Like VRML, Java 3D has a set of leaf nodes to create and manipulate lights:
2
Light
3
AmibientLight
4
DirectionalLight
5
PointLight
6
SpotLight
7
PointLight bulb = new PointLight( );
8
bulb.setColor( yellow );
9
bulb.setPosition( 0.0, 5.0, 3.0 );
in Table To:
©
Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu
If you have any comments about this server, send e-mail to
webmaster@npac.syr.edu
.
Page produced by
wwwfoil
on Sun May 3 1998