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 PlanarExtrusion [
    exposedField SFNode geometry NULL
    exposedField SFNode spine NULL
    exposedField SFBool beginCap TRUE
    exposedField SFBool endCap TRUE
    exposedField SFFloat creaseAngle 1.0
    exposedField MFFloat orientationKeys []
    exposedField MFRotation orientation []
    exposedField MFFloat scaleKeys []
    exposedField MFVec2f scale []
    exposedField SFBool txAlongSpine FALSE
]
[ "urn:inet:gpac:builtin:PlanarExtrusion"]



Group {
  children [
  WorldInfo {
   info ["This shows GPAC PlanarExtrusion HardcodedProto" "A circle is extruded along another circle to get a nice 3D torus" "GPAC Regression Tests" "$Date: 2007-07-27 09:46:10 $ - $Revision: 1.2 $" "(C) 2002-2004 GPAC Team"]
   title "PlanarExtrusion HardcodedProto"
  }
  	
  	Background2D { backColor 1 1 1}
    DEF VIEWPOINT Viewpoint {
        description "one"
        position 0 0 10
    }
		

Shape {
	appearance Appearance {
		material Material {
			diffuseColor 1.0 0.8 0.0
		}
#		texture ImageTexture { url "../../../auxiliary_files/logo.jpg"}
	}
	
	geometry PlanarExtrusion {
		geometry Circle { radius 1}
#		geometry Curve2D { 
#			type [2]
#			point Coordinate2D {
#				point [0 0 0.75 2 1.5 0 2 2]
#			}
#		}
		spine Circle {radius 5}
#		spine Rectangle {size 20 10}
		creaseAngle 1
		endCap FALSE
		beginCap FALSE
#		scaleKeys [0 0.1 0.25 0.5 0.75 0.9 1]
#		scale [0 0, 0 0, 1 1, 2 2.5, 1 1, 0 0, 0 0]
#		orientationKeys [0 0.25 0.5 0.75 1]
#		orientation [0 1 0 0, 0 1 1 0.25, 0 0 1 0.25, 0 1 1 0.25, 0 1 0 0]
		txAlongSpine TRUE
	}
}

]
}

