InitialObjectDescriptor { objectDescriptorID 1 audioProfileLevelIndication 255 visualProfileLevelIndication 254 sceneProfileLevelIndication 1 graphicsProfileLevelIndication 1 ODProfileLevelIndication 1 esDescr [ ES_Descriptor { ES_ID 1 decConfigDescr DecoderConfigDescriptor { streamType 3 decSpecificInfo BIFSConfig { isCommandStream true pixelMetric true pixelWidth 300 pixelHeight 300 } } } ] } OrderedGroup { children [ WorldInfo { info ["This shows quantification of IFS2D" "with several values" "GPAC Regression Tests" "(C) 2002-2004 GPAC Team"] title "Quantification Test" } DEF BACK Background2D { backColor 1 1 1 } DEF TR Transform2D { scale 0.5 0.5 children [ QuantizationParameter { position2DQuant TRUE position2DMin -100 -100 position2DMax 100 100 position2DNbBits 9 colorQuant FALSE } Shape { appearance Appearance { material DEF MAT Material2D { emissiveColor 1 0 0 filled TRUE } } geometry IndexedFaceSet2D { coord Coordinate2D { point [-100 0 -50 100 50 100 100 0 50 -100 -50 -100] } } } ] } ] } AT 2000 { REPLACE TR BY DEF TR1 Transform2D { scale 0.5 0.5 children [ QuantizationParameter { position2DQuant TRUE position2DMin -100 -100 position2DMax 100 100 position2DNbBits 8 colorQuant FALSE } Shape { appearance Appearance { material USE MAT } geometry IndexedFaceSet2D { coord Coordinate2D { point [-100 0 -50 100 50 100 100 0 50 -100 -50 -100] } } } ] } } AT 4000 { REPLACE TR1 BY DEF TR2 Transform2D { scale 0.5 0.5 children [ QuantizationParameter { position2DQuant TRUE position2DMin -100 -100 position2DMax 100 100 position2DNbBits 6 colorQuant FALSE } Shape { appearance Appearance { material USE MAT } geometry IndexedFaceSet2D { coord Coordinate2D { point [-100 0 -50 100 50 100 100 0 50 -100 -50 -100] } } } ] } } AT 6000 { REPLACE TR2 BY DEF TR3 Transform2D { scale 0.5 0.5 children [ QuantizationParameter { position2DQuant TRUE position2DMin -100 -100 position2DMax 100 100 position2DNbBits 4 colorQuant FALSE } Shape { appearance Appearance { material USE MAT } geometry IndexedFaceSet2D { coord Coordinate2D { point [-100 0 -50 100 50 100 100 0 50 -100 -50 -100] } } } ] } } AT 8000 { REPLACE TR3 BY DEF TR4 Transform2D { scale 0.5 0.5 children [ QuantizationParameter { position2DQuant TRUE position2DMin -100 -100 position2DMax 100 100 position2DNbBits 2 colorQuant FALSE } Shape { appearance Appearance { material USE MAT } geometry IndexedFaceSet2D { coord Coordinate2D { point [-100 0 -50 100 50 100 100 0 50 -100 -50 -100] } } } ] } } AT 10000 { REPLACE TR4 BY DEF TR5 Transform2D { scale 0.5 0.5 children [ QuantizationParameter { position2DQuant TRUE position2DMin -100 -100 position2DMax 100 100 position2DNbBits 1 colorQuant FALSE } Shape { appearance Appearance { material USE MAT } geometry IndexedFaceSet2D { coord Coordinate2D { point [-100 0 -50 100 50 100 100 0 50 -100 -50 -100] } } } ] } }