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 400 } } } ] } Group { children [ NavigationInfo {type ["ANY" "EXAMINE"]} Background2D { backColor 1 1 1} Viewpoint { position 0 0 300 } WorldInfo { title "ElevationGrid test" info ["This shows an ElevationGrid" "with interaction and texturing" "" "GPAC Regression Tests" "(C) 2002-2004 GPAC Team"] } Transform { translation -100 0 0 children [ Shape { appearance Appearance { material DEF MAT Material { diffuseColor 1 0 0 } texture DEF TX ImageTexture {} } geometry ElevationGrid { creaseAngle 2 xSpacing 15 zSpacing 8 xDimension 12 zDimension 11 height [ 17, 14, 16, 12, 14, 21, 20, 11, 9, 16, 13, 13, 22, 14, 17, 12, 15, 21, 17, 10, 14, 12, 19, 16, 17, 11, 13, 11, 9, 13, 11, 11, 17, 9, 15, 11, 9, 8, 6, 10, 7, 12, 15, 8, 11, 5, 7, 9, 0, 0, 0, 0, 0, 5, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 2, 0, -2, -6,-12,-11, -7, -2, 0, 1, 6, 9, 3, -1, -4, -9,-15,-13,-11, -4, -1, 3, 9, 11, 8, 1, -5,-11,-15,-11, -9, -7, -1, 5, 7, 9, 8, -2,-10, -9, -9,-11,-13, -9, 1, 8, 6 ] } } ] } DEF TS TouchSensor {} DEF C1 Conditional { buffer { REPLACE MAT.diffuseColor BY 0 0 1} } DEF RC1 Conditional { buffer { REPLACE MAT.diffuseColor BY 1 0 0} } DEF C2 Conditional { buffer { REPLACE TX.url BY "./auxiliary_files/logo.png"} } DEF RC2 Conditional { buffer { REPLACE TX.url BY ""} } ] } ROUTE TS.isOver TO C1.activate ROUTE TS.isOver TO RC1.reverseActivate ROUTE TS.isActive TO C2.activate ROUTE TS.isActive TO RC2.reverseActivate