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 [ WorldInfo { title "IndexedFaceSet test" info ["This shows an IFS" "with and without colorPerVertex" "" "GPAC Regression Tests" "(C) 2002-2004 GPAC Team"] } Transform { translation -1.5 0 0 children [ Shape { geometry IndexedFaceSet { coord DEF COORD Coordinate { point [-1 -1 1 1 -1 1 1 1 1 -1 1 1 1 1 -1 -1 1 -1 -1 -1 -1 1 -1 -1] } coordIndex [0 1 2 3 -1 1 7 4 2 -1 7 6 5 4 -1 0 3 5 6 -1 3 2 4 5 -1 6 7 1 0 -1] color DEF COL Color { color [ 1 0 0, 0 1 0, 0 0 1, 1 1 0, 1 0 1, 0 1 1, 1 0.5 0.5, 0.5 0.5 1] } colorPerVertex TRUE } } ] } Transform { translation 1.5 0 0 children [ Shape { geometry IndexedFaceSet { coord USE COORD coordIndex [0 1 2 3 -1 1 7 4 2 -1 7 6 5 4 -1 0 3 5 6 -1 3 2 4 5 -1 6 7 1 0 -1] color USE COL colorPerVertex FALSE colorIndex [0 1 2 3 4 5 6 7] } } ] } ] }