Basic HTML version of Foils prepared April 7 1998

Foil 45 Controlling Backgrounds

From Overview of Java2D and Java3D Frameworks CPS616 Web Technologies -- Spring 98. by Geoffrey C. Fox


1 The Background leaf node defines either a solid color or a background image used to fill the window
2 A Background node is active when its application region intersects the viewer's activation volume
3 If no Background nodes are active, then the window is cleared to black
4 Background mountains = new Background();
5 mountains.setColor( 0.0, 0.5, 1.0 );
6 mountains.setGeometry( mountainWorld );

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 Nov 29 1998