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 600
				  pixelHeight 400
				}
      }
    }
  ]
}


EXTERNPROTO PathExtrusion [
    exposedField SFNode geometry NULL
    exposedField MFVec3f spine []
    exposedField SFBool beginCap TRUE
    exposedField SFBool endCap TRUE
    exposedField SFFloat creaseAngle 1.0
    exposedField MFRotation orientation []
    exposedField MFVec2f scale []
    exposedField SFBool txAlongSpine FALSE
]
[ "urn:inet:gpac:builtin:PathExtrusion"]



Group {
  children [
  	
  WorldInfo {
   info ["This shows GPAC PathExtrusion HardcodedProto" "The text is extruded along a spline to get a solid text in 3D" "GPAC Regression Tests" "$Date: 2008-05-19 15:28:18 $ - $Revision: 1.3 $" "(C) 2002-2004 GPAC Team"]
   title "PathExtrusion HardcodedProto"
  }
  NavigationInfo { type ["EXAMINE", "ANY"] headlight FALSE}
  	Background2D {backColor 0 0 0 url "./../auxiliary_files/logo.jpg"}
    DEF VIEWPOINT Viewpoint {
        description "one"
        position 0 0 10
    }
		
		DirectionalLight {
			direction -1 -1 -1
		}

Shape {
	appearance Appearance {
		material Material {
			diffuseColor 1.0 0.8 0.0
#			specularColor 1 1 1
#			shininess 0.3
		}
#		texture ImageTexture { url "../../../auxiliary_files/logo.jpg"}
	}
	
	geometry PathExtrusion {
#   geometry Curve2D { fineness 1.0 point Coordinate2D { point [0 0, 0.25 1, 0.75 1, 1 0, 1.5 0, 0.8 -2, 0 0] } type [2 0 3] 	}
#		geometry Rectangle { size 0.5 1.0	}
	
		geometry Text { 
			string ["G"]
     fontStyle FontStyle { 
       size 2.0
       justify ["MIDDLE", "MIDDLE"]
      }
    }
    
		creaseAngle 0.5
		endCap FALSE
		beginCap TRUE
		txAlongSpine FALSE
		spine [
		# Straight-line
			0.0 0.0 0.0, 0.0 1 0,
#			0.0 0.0 -0.8, 0.0 0.0 -1.2,
#			0.0 0.0 -1.6, 0.0 0.0 -2.0
		]
#		scale [
#			1.8  1.8,  1.95 1.95,
#			2.0  2.0,  1.95 1.95
#			1.8  1.8,  1.5  1.5
#			1.2  1.2,  1.05 1.05,
#			1.0  1.0,  1.05  1.05,
#			1.15 1.15,
#		]
	}
}

]
}

