#VRML V2.0 utf8 EXTERNPROTO MetalenRailingLang [ ] "MetalenRailing.wrl#MetalenRailingLang" EXTERNPROTO MetalenRailingKort [ ] "MetalenRailing.wrl#MetalenRailingKort" Viewpoint { position 0 4 30 } PROTO PerronEnSpoor51 [ ] { # ------------- # # Maak perron 1 # # ------------- # Transform { children [ DEF Perron Shape { appearance Appearance { texture ImageTexture { repeatS TRUE repeatT TRUE url "textures/Tegels.jpg" } textureTransform TextureTransform { scale 6 1 } } geometry Box { size 40 0.2 4 } } ] } Transform { translation 0 -0.9 0 children [ DEF PerronBlok Shape { appearance Appearance { texture ImageTexture { url "textures/Perronblok.jpg" } } geometry Box { size 40 1.6 3 } } ] } # ------------- # # Maak perron 2 # # ------------- # Transform { translation 0 0 14 children [ USE Perron ] } Transform { translation 0 -0.9 14 children [ USE PerronBlok ] } # -------------- # # Maak spoor aan # # -------------- # Transform { translation -120 -1.7 1 children [ Shape { appearance Appearance { texture ImageTexture { url "textures/Grind.jpg" } textureTransform TextureTransform { scale 90 10 } } geometry ElevationGrid { xDimension 25 zDimension 2 xSpacing 12 zSpacing 12 height [0, 0, 0.2, 0, 0.1, 0 , 0, 0, 0, 0.2, 0, 0, 0.2, 0, 0.1, 0 , 0.15, 0, 0, 0.2, 0, 0, 0.1, 0.1 0.3, 0, 0, 0.1, 0, 0.3, 0.1, 0, 0.2, 0, 0, 0, 0, 0.2, 0, 0.1, 0.05 , 0, 0, 0, 0.1, 0, 0, 0.1, 0.15 0.2 ] } } ] } Transform { translation 5 -1.65 11 children [ DEF Rails1 Shape { appearance Appearance { textureTransform TextureTransform { scale 70 1 } texture ImageTexture { url "textures/RailsBottom.jpg" } } geometry Box { size 250 0.1 0.4 } } ] } Transform { translation 5 -1.55 11 children [ DEF Rails2 Shape { appearance Appearance { textureTransform TextureTransform { scale 70 1 } texture ImageTexture { url "textures/RailsTop.jpg" } } geometry Box { size 250 0.2 0.2 } } ] } Transform { translation 5 -1.65 8.5 children [ USE Rails1 ] } Transform { translation 5 -1.55 8.5 children [ USE Rails2 ] } Transform { translation 5 -1.65 5.5 children [ USE Rails1 ] } Transform { translation 5 -1.55 5.5 children [ USE Rails2 ] } Transform { translation 5 -1.65 3 children [ USE Rails1 ] } Transform { translation 5 -1.55 3 children [ USE Rails2 ] } } PROTO PerronBlok5 [ ] { # --------------------------- # # Lage perron lijn 5 VU-zijde # # --------------------------- # Transform { translation 35 -1.53 0 children [ DEF Perron5 Shape { appearance Appearance { texture ImageTexture { url "textures/Tegels.jpg" } } geometry Box { size 30 0.35 4 } } # ------------------------ # # Stuk grond na de perrons # # ------------------------ # Transform { translation 20 0 0 children [ Shape { appearance Appearance { textureTransform TextureTransform { scale 3 1 } texture ImageTexture { url "textures/Stoeptegels.jpg" } } geometry Box { size 10 0.1 4 } } ] } Transform { # Tegels aan de overkant van de weg translation 74 0 0 children [ Shape { appearance Appearance { textureTransform TextureTransform { scale 10 3 } texture ImageTexture { url "textures/Treingrind.jpg" } } geometry Box { size 52 0.1 4 } } ] } ] } # ------------------------------------- # # Lage perron lijn 5 Metropolitan-zijde # # ------------------------------------- # Transform { translation 35 -1.53 14 children [ USE Perron5 # Transform { # translation 0 2 0 # children [ # MetalenRailingLang {} # ] # } # ------------------------ # # Stuk grond na de perrons # # ------------------------ # Transform { translation 20 0 0 children [ Shape { appearance Appearance { textureTransform TextureTransform { scale 3 1 } texture ImageTexture { url "textures/Stoeptegels.jpg" } } geometry Box { size 10 0.1 4 } } ] } Transform { # Tegels aan de overkant van de weg translation 74 0 0 children [ Shape { appearance Appearance { textureTransform TextureTransform { scale 10 3 } texture ImageTexture { url "textures/Treingrind.jpg" } } geometry Box { size 52 0.1 4 } } ] } ] } # ----------------------------------------------- # # Lage perron met metalen railing aan de VU-zijde # # ----------------------------------------------- # Transform { translation -30 -1.53 0 scale 0.7 1 1 children [ USE Perron5 # MetalenRailing aan de SPOORzijde Transform { translation 4.1 0.75 1.5 scale 0.6 0.6 0.6 children [ MetalenRailingLang {} ] } Transform { translation 0.5 0.75 1.5 scale 0.6 0.6 0.6 children [ MetalenRailingLang {} ] } Transform { translation -3.1 0.75 1.5 scale 0.6 0.6 0.6 children [ MetalenRailingLang {} ] } Transform { translation -6.7 0.75 1.5 scale 0.6 0.6 0.6 children [ MetalenRailingLang {} ] } Transform { translation -6.7 0.75 1.5 rotation 0 1 0 3.14 scale 0.6 0.6 0.6 children [ MetalenRailingKort {} ] } Transform { translation -10.3 0.75 1.5 rotation 0 1 0 1.57 scale 0.6 0.6 0.6 children [ MetalenRailingKort {} ] } Transform { # Richtingaanduidingsbord translation -11.2 1.1 1.5 children [ Shape { appearance Appearance { texture ImageTexture { url "textures/Richtingsbord1.jpg" } } geometry Box { size 1.7 0.25 0.05 } } ] } Transform { translation -13.9 0.75 1.5 scale 0.6 0.6 0.6 children [ MetalenRailingLang {} ] } Transform { translation -13.9 0.75 1.5 rotation 0 1 0 1.57 scale 0.6 0.6 0.6 children [ MetalenRailingLang {} ] } # MetalenRailing aan de STRAATzijde Transform { translation 4.1 0.75 -1.8 scale 0.6 0.6 0.6 children [ MetalenRailingLang {} ] } Transform { translation 0.5 0.75 -1.8 scale 0.6 0.6 0.6 children [ MetalenRailingLang {} ] } Transform { # Krachtcentrale translation -1.25 0.8 -1.5 children [ Shape { appearance Appearance { texture ImageTexture { url "textures/Krachtcentrale.jpg" } } geometry Box { size 3 1.5 0.75 } } ] } Transform { translation -6.7 0.75 -1.8 scale 0.6 0.6 0.6 children [ MetalenRailingLang {} ] } Transform { translation -10.3 0.75 -1.8 scale 0.6 0.6 0.6 children [ MetalenRailingLang {} ] } Transform { # Richtingaanduidingsbord translation -9.4 1.1 -1.8 children [ Shape { appearance Appearance { texture ImageTexture { url "textures/Richtingsbord1.jpg" } } geometry Box { size 1.7 0.25 0.05 } } ] } # ------------------------ # # Stuk grond na de perrons # # ------------------------ # Transform { translation -75 0 0 children [ Shape { appearance Appearance { textureTransform TextureTransform { scale 30 3 } texture ImageTexture { url "textures/Treingrind.jpg" } } geometry Box { size 120 0.1 4 } } ] } ] } # --------------------------------------------------------- # # Lage perron met metalen railing aan de Metropolitan-zijde # # --------------------------------------------------------- # Transform { translation -30 -1.53 14 scale 0.7 1 1 children [ USE Perron5 # MetalenRailing aan de SPOORzijde Transform { translation 4.1 0.75 -1.5 scale 0.6 0.6 0.6 children [ MetalenRailingLang {} ] } Transform { translation 0.5 0.75 -1.5 scale 0.6 0.6 0.6 children [ MetalenRailingLang {} ] } Transform { translation -3.1 0.75 -1.5 scale 0.6 0.6 0.6 children [ MetalenRailingLang {} ] } Transform { translation -6.7 0.75 -1.5 scale 0.6 0.6 0.6 children [ MetalenRailingLang {} ] } Transform { translation -6.7 0.75 -1.5 scale 0.6 0.6 0.6 children [ MetalenRailingKort {} ] } Transform { translation -10.3 0.75 -1.5 rotation 0 1 0 1.57 scale 0.6 0.6 0.6 children [ MetalenRailingKort {} ] } Transform { # Richtingaanduidingsbord translation -11.2 1.1 -1.5 children [ Shape { appearance Appearance { texture ImageTexture { url "textures/Richtingsbord1.jpg" } } geometry Box { size 1.7 0.25 0.05 } } ] } Transform { translation -13.9 0.75 -1.5 scale 0.6 0.6 0.6 children [ MetalenRailingLang {} ] } # MetalenRailing aan de STRAATzijde Transform { translation 4.1 0.75 1.8 scale 0.6 0.6 0.6 children [ MetalenRailingLang {} ] } Transform { translation 0.5 0.75 1.8 scale 0.6 0.6 0.6 children [ MetalenRailingLang {} ] } Transform { translation -3.1 0.75 1.8 scale 0.6 0.6 0.6 children [ MetalenRailingLang {} ] } Transform { translation -6.7 0.75 1.8 scale 0.6 0.6 0.6 children [ MetalenRailingLang {} ] } Transform { translation -10.3 0.75 1.8 scale 0.6 0.6 0.6 children [ MetalenRailingLang {} ] } Transform { # Richtingaanduidingsbord translation -9.4 1.1 1.8 children [ Shape { appearance Appearance { texture ImageTexture { url "textures/Richtingsbord2.jpg" } } geometry Box { size 1.7 0.25 0.05 } } ] } Transform { translation -13.9 0.75 2.1 rotation 0 1 0 1.57 scale 0.6 0.6 0.6 children [ MetalenRailingLang {} ] } # ------------------------ # # Stuk grond na de perrons # # ------------------------ # Transform { translation -75 0 0 children [ Shape { appearance Appearance { textureTransform TextureTransform { scale 30 3 } texture ImageTexture { url "textures/Treingrind.jpg" } } geometry Box { size 120 0.1 4 } } ] } ] } } PerronEnSpoor51 {} PerronBlok5 {}