Basic HTML version of Foils prepared April 7 1998

Foil 35 Java 3D example

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


Material blue = new Material( );
blue.setDiffuseColor( 0.0, 0.0, 1.0 );
Appearance color = new Appearance( );
color.setMaterial( blue );
Text3D hello = new Text3D( );
hello.setFont3D( someFont );
hello.setString( "Hello world" );
Shape3D sign = new Shape3D( );
sign.setGeometry( hello );
sign.setAppearance( color );



© 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