#VRML V2.0 utf8 ## ##:@* vu ##@ vu PROTO dialog-vu [ ## "@vr-extern-proto-dialog-vu.wrl" exposedField MFString string [ "AE" ] ]{ Transform { translation 0 0 0 scale 1 1 1 children [ PointLight { location 0 0 5 attenuation 0 0 0 radius 20 } DEF object Transform { children [ Shape { appearance Appearance { material Material { diffuseColor 1 1 1 } } geometry Text { fontStyle FontStyle { justify "MIDDLE" } string IS string } } ] } ] } ##@ sensor and interpolator DEF time TimeSensor { cycleInterval 10 loop TRUE enabled TRUE } DEF rotation OrientationInterpolator { key [ 0 0.25 0.5 0.75 1 ] keyValue [ 1 1 0 0, 1 1 0 1.57, 1 1 0 3.14 1 1 0 4.71, 1 1 0 0 ] } ##@ event routing ROUTE time.fraction TO rotation.fraction ROUTE rotation.value TO object.rotation } ## end proto ##@ scene Background { skyColor [ 0 0 0 ] } NavigationInfo { headlight FALSE } DEF Viewpoint Viewpoint {position 0 4.5 10} dialog-vu { string "VU" } ##