InitialObjectDescriptor { objectDescriptorID 1 audioProfileLevelIndication 1 visualProfileLevelIndication 1 sceneProfileLevelIndication 1 graphicsProfileLevelIndication 1 ODProfileLevelIndication 1 esDescr [ ES_Descriptor { ES_ID 2 decConfigDescr DecoderConfigDescriptor { streamType 3 decSpecificInfo BIFSConfig { isCommandStream true pixelMetric true pixelWidth 500 pixelHeight 200 } } } ] } OrderedGroup { children [ Background2D { backColor 1 1 1 } WorldInfo { info [ "This test shows how to set basic outline properties, using the LineProperties node" "The properties are width, lineColor and lineStyle." "" "GPAC Regression Tests" "(C) 2002-2006 GPAC Team" ] title "Setting simple line properties - the LineProperties node" } DEF TR1 Transform2D { translation -190 0 children [ Shape { appearance Appearance { material Material2D { lineProps LineProperties { lineColor 0 0 1 lineStyle 0 width 15 } } } geometry DEF LS IndexedLineSet2D { coord Coordinate2D { point [-50 0 0 50 50 0] } } } ] } Transform2D { translation -190 -30 children [ Shape { appearance DEF TEXTAPP Appearance { material Material2D { emissiveColor 0 0 0 filled TRUE } } geometry Text { string ["lineStyle 0"] fontStyle DEF FS FontStyle { justify ["MIDDLE" "MIDDLE"] size 16 } } } ] } DEF TR2 Transform2D { translation -65 0 children [ Shape { appearance Appearance { material Material2D { lineProps LineProperties { lineColor 1 0 0 lineStyle 1 width 15 } } } geometry USE LS } ] } Transform2D { translation -65 -30 children [ Shape { appearance USE TEXTAPP geometry Text { string ["lineStyle 1"] fontStyle USE FS } } ] } DEF TR3 Transform2D { translation 65 0 children [ Shape { appearance Appearance { material Material2D { lineProps XLineProperties { lineColor 0 1 1 lineStyle 2 width 15 } } } geometry USE LS } ] } Transform2D { translation 65 -30 children [ Shape { appearance USE TEXTAPP geometry Text { string ["lineStyle 2"] fontStyle USE FS } } ] } DEF TR4 Transform2D { translation 190 0 children [ Shape { appearance Appearance { material Material2D { lineProps XLineProperties { lineColor 0 1 0 lineStyle 3 width 15 } } } geometry USE LS } ] } Transform2D { translation 190 -30 children [ Shape { appearance USE TEXTAPP geometry Text { string ["lineStyle 3"] fontStyle USE FS } } ] } ] }