#VRML V2.0 utf8 #foret Sebastien Marnier 08/98 Viewpoint { #point de vue numero 1 position -2 1.7 24 #position x y z description "entree" #son nom } Viewpoint { #point de vue numero 2 position -2 1.7 15 description "plus pret" } Viewpoint { #point de vue numero 3 position -2 1.7 3 description "tres pres" } Transform { children [ Shape { appearance Appearance { texture ImageTexture { url["marbre.jpg"] } } geometry Box { size 50 0.2 50 } } ] } Transform { translation 0 0 18 children [ DEF arbre LOD { range [ 15,25 ] level [ Transform { #forme complexe translation 0 0.5 0 children [ DEF tronc Shape { appearance Appearance { material Material { diffuseColor 0.7 0 0 } } geometry Cylinder { radius 0.2 height 1 } } Transform { translation 0 1 0 scale 1 0.5 1 children [ DEF cone2 Shape { appearance Appearance { texture ImageTexture { url["sapint.gif"] } } geometry Cone { bottomRadius 1 height 2 } } ] } Transform { translation 0 1.8 0 scale 0.6 0.3 0.6 children [ USE cone2 ] } Transform { translation 0 2.3 0 scale 0.3 0.2 0.3 children [ USE cone2 ] } ] } Transform { #forme normale translation 0 0.5 0 children [ USE tronc Transform { translation 0 1 0 scale 1 0.5 1 children [ DEF cone Shape { appearance Appearance { material Material { diffuseColor 0.5 1 0.5 } } geometry Cone { bottomRadius 1 height 2 } } ] } Transform { translation 0 1.8 0 scale 0.6 0.3 0.6 children [ USE cone ] } Transform { translation 0 2.3 0 scale 0.3 0.2 0.3 children [ USE cone ] } ] } Transform { #forme simple translation 0 0.5 0 children [ USE tronc Transform { scale 1 1.4 1 translation 0 1.9 0 children [ USE cone ] } ] } ] } ] } Transform { translation 0 0 9 children [ USE arbre ] } Transform { translation 0 0 0 children [ USE arbre ] } Transform { translation 0 0 -9 children [ USE arbre ] } Transform { translation 0 0 -18 children [ USE arbre ] }