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 560 pixelHeight 420 } } } ES_Descriptor { ES_ID 1 decConfigDescr DecoderConfigDescriptor { streamType 1 } } ] } OrderedGroup { children [ Background2D { backColor 1 1 1 } WorldInfo { info [ "This shows line texturing with an image using variable width and different line alignment" "" "GPAC Regression Tests" "(C) 2002-2006 GPAC Team" ] title "Line texturing with Images - the XLineProperties node" } Transform2D { translation 0 140 children [ Shape { appearance DEF TEXTAPP Appearance { material Material2D { emissiveColor 0 0 0 filled TRUE } } geometry Text { string ["Line width varying between 0 and 100"] fontStyle DEF FS FontStyle { justify ["MIDDLE" "MIDDLE"] size 20 } } } ] } Transform2D { translation -140 0 children [ Shape { appearance Appearance { material Material2D { lineProps DEF XLP XLineProperties { width 20 texture DEF IM ImageTexture { url [od:10] repeatS FALSE repeatT FALSE } } } } geometry Rectangle { size 150 150 } } Transform2D { translation 0 -150 children [ Shape { appearance USE TEXTAPP geometry Text { string ["Line centered on shape"] fontStyle USE FS } } ] } ] } Transform2D { translation 140 0 children [ Shape { appearance Appearance { material Material2D { lineProps DEF XLP2 XLineProperties { isCenterAligned FALSE width 0 texture USE IM } } } geometry Rectangle { size 150 150 } } Transform2D { translation 0 -150 children [ Shape { appearance USE TEXTAPP geometry Text { string ["Line inside shape"] fontStyle USE FS } } ] } ] } DEF TS TimeSensor { cycleInterval 2 loop TRUE } DEF SI ScalarInterpolator { key [0 0.5 1] keyValue [0 100 0] } ] } ROUTE TS.fraction_changed TO SI.set_fraction ROUTE SI.value_changed TO XLP.width ROUTE SI.value_changed TO XLP2.width AT 0 { UPDATE OD [ ObjectDescriptor { objectDescriptorID 10 esDescr [ ES_Descriptor { ES_ID 20 muxInfo MuxInfo { fileName "auxiliary_files/logo.jpg" } } ] } ] }