#VRML V2.0 utf8 PROTO leaf [ field SFVec3f pos 0 -4 0 field SFRotation rot 1 1 1 2.1 field SFVec3f scl 1 1 1 ] { Transform { translation IS pos rotation IS rot scale IS scl children [ Shape { appearance Appearance { material Material { ambientIntensity 0.083333 diffuseColor 0.000000 0.250000 0.000000 specularColor 0.000000 0.250000 0.000000 emissiveColor 0.000000 0.000000 0.000000 shininess 0.329450 transparency 0.000000 } } geometry Extrusion { crossSection [ .05 .99 .1 .71 .15 .5 .5 .3 .6 0 .46 -.37 .27 -.55 .11 -.8 .1 -.95 -.1 -.8 -.4 -.55 -.5 -.2 -.4 .1 -.03 .53 .04 .7 -.02 1.01 .05 .99 ] spine [ -.05 -.05 0 0 -.05 0 ] scale [ 1 1 1 1 ] creaseAngle 0 } } ] } } PROTO bloem [ field SFVec3f translation 0 0 0 field SFRotation rotation 0 0 0 0 field SFVec3f scale 1 1 1 field MFString flower "pinkRose.gif" ]{ Transform { translation IS translation rotation IS rotation scale IS scale children [ DEF bloem Transform { translation 0 0.2 0 scale 0.035 0.035 0.035 children [ Billboard { axisOfRotation 0 1 0 children [ Transform { translation 0 0 0.7 children [ Shape { appearance Appearance { texture ImageTexture { url IS flower } } geometry Box {size 3 3 0.00001} } ] } ] } #trunk Transform { translation .2 -6.2 0 scale 3 6 3 children [ Shape { appearance Appearance { material Material { ambientIntensity 0.083333 diffuseColor 0.000000 0.250000 0.000000 specularColor 0.000000 0.250000 0.000000 emissiveColor 0.000000 0.000000 0.000000 shininess 0.329450 transparency 0.000000 } } geometry Cylinder { radius 0.05 } } ] } DEF leaves Transform { children [ leaf { pos -.6 -3 .65 rot 1 1 0 2.2 } leaf { pos .6 -3 -.35 rot 0 1 -1 -2 } ] } Transform { translation .3 -2 0 rotation 0 1 0 1 scale 1.3 1.3 1.3 children USE leaves } ] } ] } } bloem {} NavigationInfo { type "EXAMINE" }