#VRML V2.0 utf8 Evgeny Demidov, 22 Apr 2006 #NavigationInfo{ type "EXAMINE" } Background { skyColor .5 .5 1 # backUrl "walk/forest.jpg" } DEF ROOT Transform{ scale .12 .12 .12 rotation 0 1 0 3 children[ DEF b4 Transform{ translation 0 16 0 children[ DEF b3 Transform{ translation 0 8 0 children[ DEF b2 Transform{ translation 0 4 0 children[ DEF b1 Transform{ translation 0 2 0 children[ DEF b0 Transform{ children[ DEF l0 Shape{ appearance Appearance{ texture ImageTexture{ url "leaf.gif" }} geometry IndexedFaceSet{ solid FALSE coord Coordinate{ point[0 1 0,.7 1.5 -.5,0 2 -1,-.7 1.5 -.5]} texCoord TextureCoordinate{ point[0 0,1 0,1 1,0 1]} coordIndex[0 1 2 3]}} Transform{ rotation 0 1 0 3.14 translation 0 1 0 children USE l0} Shape{ appearance Appearance{ material Material{ emissiveColor .5 .5 0}} geometry IndexedLineSet{ coord Coordinate{ point[0 0 0,0 2 0]} coordIndex[0 1 -1]}} ]} DEF br Transform{ rotation 1 0 0 1.1 children USE b0} Transform{ rotation 0 1 0 2.09 children USE br} Transform{ rotation 0 1 0 -2.09 children USE br} DEF trunk Transform{ translation 0 -2 0 scale .6 1 .6 children[ Shape{ appearance Appearance{ material Material{ diffuseColor 1 1 1} texture ImageTexture{ url "birch.gif" } } geometry IndexedFaceSet{ coord Coordinate{ point[.2 0 0,.1 0 -.17,-.1 0 -.17,-.2 0 0,-.1 0 .17,.1 0 .17, .1 2 0,.05 2 -.09,-.05 2 -.09,-.1 2 0,-.05 2 .09,.05 2 .09]} coordIndex[0 1 7 6 -1 1 2 8 7 -1 2 3 9 8 -1 3 4 10 9 -1 4 5 11 10 -1 5 0 6 11] texCoord TextureCoordinate{ point[0 0,.2 0,.3 0,.4 0,.6 0,.8 0,1 0, 0 1,.2 1,.3 1,.4 1,.6 1,.8 1,1 1]} texCoordIndex[0 1 8 7 -1 1 2 9 8 -1 2 3 10 9 -1 3 4 11 10 -1 4 5 12 11 -1 5 6 13 12] creaseAngle 2}}]} ]} DEF br Transform{ rotation 1 0 0 1.1 children USE b1} Transform{ rotation 0 1 0 2.09 translation 0 -.5 0 children USE br} Transform{ rotation 0 1 0 -2.09 translation 0 -1 0 children USE br} Transform{ scale 2 2 2 children USE trunk} ]} DEF br Transform{ rotation 1 0 0 1.1 children USE b2} Transform{ rotation 0 1 0 2.09 translation 0 -2 0 children USE br} Transform{ rotation 0 1 0 -2.09 translation 0 -1 0 children USE br} Transform{ scale 4 4 4 children USE trunk} ]} DEF br Transform{ rotation 1 0 0 1.1 children USE b3} Transform{ rotation 0 1 0 2.09 translation 0 -2 0 children USE br} Transform{ rotation 0 1 0 -2.09 translation 0 -5 0 children USE br} Transform{ scale 8 8 8 children USE trunk} ]} DEF br Transform{ rotation 1 0 0 1.1 children USE b4} Transform{ rotation 0 1 0 2.09 translation 0 -10 0 children USE br} Transform{ rotation 0 1 0 -2.09 translation 0 -5 0 children USE br} Transform{ scale 16 16 16 children USE trunk} ]} ]}