InitialObjectDescriptor { objectDescriptorID 1 ODProfileLevelIndication 0xFF sceneProfileLevelIndication 0xFE audioProfileLevelIndication 0xFF visualProfileLevelIndication 0xFF graphicsProfileLevelIndication 0xFE esdescr [ ES_Descriptor { es_id 1 decConfigDescr DecoderConfigDescriptor { streamType 3 decSpecificInfo BIFSConfig { isCommandStream true pixelMetric false pixelWidth 400 pixelHeight 300 } } } ] } Group { children [ Viewpoint {position 0 0 10} WorldInfo { title "VisibilitySensor test" info ["This shows a VisibiliitySensor" "controling spinning of a cube" "" "GPAC Regression Tests" "(C) 2002-2004 GPAC Team"] } Transform { translation 10 0 0 children [ DEF PS VisibilitySensor { center 0 0 0 size 8 8 8 } Shape { appearance Appearance { material Material { diffuseColor 1 1 0 } } geometry Box { size 8 8 8 } } ] } DEF Box Transform { children [ Shape { appearance Appearance { material DEF M1 Material { diffuseColor 1 0 0 } } geometry Box { size 2 2 2 } } ] } DEF TS TimeSensor { cycleInterval 5.0 loop TRUE startTime -1 } DEF Animation OrientationInterpolator { key [0.0, 0.20, 0.40, 0.60, 0.80, 1.0] keyValue [0 1 0 0, 0 1 0 1.57079, 0 1 0 3.14159, 0 1 0 4.71238, 0 1 0 5.52456, 0 1 0 6.28318] } ] } ROUTE PS.enterTime TO TS.startTime ROUTE PS.exitTime TO TS.stopTime ROUTE TS.fraction_changed TO Animation.set_fraction ROUTE Animation.value_changed TO Box.rotation