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 ); |