#VRML V2.0 utf8 PROTO FietspadLamp [ ] { Billboard { axisOfRotation 0 1 0 children [ Shape { appearance Appearance { texture ImageTexture { url "textures/Fietspadlamp.gif" } } geometry Box { size 0.75 3.5 0.01 } } ] } } PROTO VerkeerslichtGroot [ ] { # ------------------------------- # # Dwarspaal die in de lucht hangt # # ------------------------------- # Transform { # Paal als luchtbalk translation -0.75 3.25 0 rotation 0 0 1 1.57 children [ Transform { # Dikke stuk children [ DEF Paal Shape { appearance Appearance { texture ImageTexture { url "textures/Verkeerslichtgrijs.jpg" } } geometry Cylinder { height 2.5 radius 0.2 } } ] } Transform { # Bol erop translation 0 1.25 0 children [ DEF Bol Shape { appearance Appearance { texture ImageTexture { url "textures/Verkeerslichtgrijs.jpg" } } geometry Sphere { radius 0.2 } } ] } Transform { # Smallere stuk translation 0 2.5 0 scale 0.6 1 0.6 children [ USE Paal ] } ] } Transform { translation -5.5 3.25 0 rotation 0 0 1 1.57 scale 0.4 1 0.4 children [ USE Paal ] } Transform { translation -4.5 3.25 0 rotation 0 0 1 1.57 scale 0.6 0.6 0.6 children [ USE Bol ] } Transform { translation -7.5 3.25 0 rotation 0 0 1 1.57 scale 0.2 0.75 0.2 children [ USE Paal ] } Transform { translation -6.75 3.25 0 rotation 0 0 1 1.57 scale 0.4 0.4 0.4 children [ USE Bol ] } # -------------------------- # # Paal die op de grond staat # # -------------------------- # Transform { # Paal als stabalk, dikke stuk translation 0 -0.15 0 children [ Shape { appearance Appearance { texture ImageTexture { url "textures/Verkeerslichtzwartwit.jpg" } } geometry Cylinder { height 2.8 radius 0.2 } } ] } Transform { # Bol erop translation 0 1.25 0 children [ USE Bol ] } Transform { # Smallere bovenstuk translation 0 2.5 0 scale 0.6 1 0.6 children [ USE Paal ] } Transform { # Vierkante kopstuk translation 0 3.25 0 children [ Shape { appearance Appearance { texture ImageTexture { url "textures/Verkeerslichtgrijs.jpg" } } geometry Box { size 0.5 0.5 0.5 } } ] } Transform { # Verkeerslamp 1 translation -5 3.25 0.2 children [ Shape { appearance Appearance { texture ImageTexture { url "textures/Verkeerslicht.gif" } } geometry Box { size 0.75 1.25 0.01 } } ] } Transform { # Verkeerslamp 2 translation -8.25 3.25 0.1 children [ Shape { appearance Appearance { texture ImageTexture { url "textures/Verkeerslicht.gif" } } geometry Box { size 0.75 1.25 0.01 } } ] } Transform { # Verkeerslamp 1 achterkant translation -5 3.25 0.15 children [ Shape { appearance Appearance { texture ImageTexture { url "textures/Verkeerslicht1.gif" } } geometry Box { size 0.75 1.25 0.01 } } ] } Transform { # Verkeerslamp 2 achterkant translation -8.25 3.25 0.05 children [ Shape { appearance Appearance { texture ImageTexture { url "textures/Verkeerslicht1.gif" } } geometry Box { size 0.75 1.25 0.01 } } ] } } Transform { translation 3 0 0 scale 1 0.7 1 children [ FietspadLamp {} ] } VerkeerslichtGroot {}