#VRML V2.0 utf8

EXTERNPROTO Text3D [
	exposedField MFString string
	exposedField SFNode fontStyle
	exposedField MFFloat length
	exposedField SFFloat maxExtent
	exposedField SFFloat depth
	exposedField SFFloat creaseAngle
	exposedField SFBool solid
]
[	"urn:inet:parallelgraphics.com:cortona:Text3D"
	"urn:ParaGraph:Text3D" "http://www.parallelgraphics.com/vrml/proto/Cortona/extensions.wrl#Text3D" ]

NavigationInfo {type "EXAMINE" }

#Viewpoint {
#	position -5 -0.5 5
#	orientation 0 1 0 -0.8
#}

DEF MainTransform Transform {
	children Shape {

		geometry Text3D {
			string ["@"]
			fontStyle FontStyle	{
			justify	["MIDDLE", "MIDDLE"]
			family "Times"
			style "BOLD"
			size 4
			}
			creaseAngle	1.5
			depth 0.5
		}
		appearance Appearance {
			material Material {
				diffuseColor .28 .42 .6
				specularColor .32 .4 .4
				ambientIntensity .05
				shininess .54
				emissiveColor .14 .22 .31
			}
		}
	}
}

DEF	MainInterpolator OrientationInterpolator {
	key	[ 0 0.5 1 ]
	keyValue [0 1 0 0  0 1 0 3.14  0 1 0 6.28]
}

DEF	MainTimer TimeSensor {
	loop TRUE
	cycleInterval 5
}


ROUTE MainTimer.fraction_changed TO	MainInterpolator.set_fraction
ROUTE MainInterpolator.value_changed TO MainTransform.rotation
