#VRML V2.0 utf8 EXTERNPROTO Boom1 [ ] "Boom.wrl#Boom1" EXTERNPROTO Boom2 [ ] "Boom.wrl#Boom2" EXTERNPROTO FietspadLamp [ ] "StraatLampen.wrl#FietspadLamp" EXTERNPROTO VerkeerslichtGroot [ ] "StraatLampen.wrl#VerkeerslichtGroot" NavigationInfo { type "EXAMINE" } PROTO Stoeprand [ exposedField SFVec3f translation 0 0 0 exposedField SFVec2f scale 60 1 exposedField SFVec3f lengte 1 1 1 exposedField SFRotation rotatie 0 1 0 0 ] { Transform { translation IS translation rotation IS rotatie scale IS lengte children [ Shape { appearance Appearance { textureTransform TextureTransform { scale IS scale } texture ImageTexture { url "textures/Stoeprand.jpg" } } geometry Box { size 180 0.5 0.5 } } ] } } PROTO StraatEnBomen [ exposedField SFVec2f scale 1 1 ] { # --------------- # # Maak straat aan # # --------------- # PROTO Weg [ field MFString url ["textures/Wegdek.jpg"] exposedField SFVec2f scale 10 2 ] { Transform { children [ Shape { appearance Appearance { textureTransform TextureTransform { scale IS scale } texture ImageTexture { url IS url } } geometry Box { size 250 0.1 12 } } ] } } # ------------ # # Weg Lijnbaan # # ------------ # Transform { translation 0 0 0 children [ Weg {} ] } Transform { translation 0 0 34 children [ Weg {} ] } Transform { # Groene grasrand scale 1 2 0.2 translation 0 0.2 7.25 children [ Weg { url "textures/Gras.jpg" } ] } Transform { # Groene grasrand scale 1 2 0.2 translation 0 0.2 26.75 children [ Weg { url "textures/Gras.jpg" } ] } Transform { # Groene grasrand met bomen scale 1 1 0.4 translation 0 0.2 -8.25 children [ Weg { url "textures/Gras.jpg" } ] } Transform { # Groene grasrand met bomen scale 1 1 0.4 translation 0 0.2 42.25 children [ Weg { url "textures/Gras.jpg" } ] } # Stoeprand aan Amstelveen zijde Stoeprand { translation -36 0.2 -6 } Stoeprand { translation -36 0.2 6 } Stoeprand { translation -36 0.2 28 } Stoeprand { translation -36 0.2 40 } # Stoeprand aan Zuid WTC-zijde Stoeprand { translation 101 0.2 -6 lengte 0.26 1 1 } Stoeprand { translation 101 0.2 6 lengte 0.26 1 1 } Stoeprand { translation 101 0.2 28 lengte 0.26 1 1 } Stoeprand { translation 101 0.2 40 lengte 0.26 1 1 } Stoeprand { translation 78 0.2 -87 rotatie 0 1 0 1.57 lengte 0.8 1 1 } Stoeprand { translation 54 0.2 -87 rotatie 0 1 0 1.57 lengte 0.8 1 1 } Stoeprand { translation 78 0.2 76 rotatie 0 1 0 1.57 lengte 0.3 1 1 } Stoeprand { translation 54 0.2 76 rotatie 0 1 0 1.57 lengte 0.3 1 1 } # Kleine korte stoepjes Stoeprand { translation 78 0.2 42.3 rotatie 0 1 0 1.57 lengte 0.028 1 1 } Stoeprand { translation 54 0.2 42.3 rotatie 0 1 0 1.57 lengte 0.028 1 1 } # ------------------ Stoeprand { translation 78 0.2 26.9 rotatie 0 1 0 1.57 lengte 0.015 1 1 } Stoeprand { translation 54 0.2 26.9 rotatie 0 1 0 1.57 lengte 0.015 1 1 } # ------------------ Stoeprand { translation 78 0.2 7.1 rotatie 0 1 0 1.57 lengte 0.015 1 1 } Stoeprand { translation 54 0.2 7.1 rotatie 0 1 0 1.57 lengte 0.015 1 1 } # ------------------ Stoeprand { translation 78 0.2 -8.16 rotatie 0 1 0 1.57 lengte 0.028 1 1 } Stoeprand { translation 54 0.2 -8.16 rotatie 0 1 0 1.57 lengte 0.028 1 1 } # ---------------- # # Weg De Boelelaan # # ---------------- # Transform { translation 60 0.28 -20 rotation 0 1 0 1.57 scale 1.25 1 1 children [ Weg {} ] } Transform { translation 72 0.28 -20 rotation 0 1 0 1.57 scale 1.25 1 1 children [ Weg {} ] } # ----------------- # # Maak fietspad aan # # ----------------- # Transform { # Fietspad Metropolitan scale 1 1 0.4 translation 0 0.2 47 children [ Weg { scale 60 1 url "textures/Fietspad.jpg" } ] } Transform { # Fietspad VU scale 1 1 0.4 translation 0 0.2 -13 children [ Weg { scale 60 1 url "textures/Fietspad.jpg" } ] } # ------------------------------------------------ # # Maak ondergrond gebouwen aan inclusief voetpaden # # ------------------------------------------------ # Transform { # Metropolitan-zijde translation 0 0.2 74.4 children [ DEF Ondergrond Shape { appearance Appearance { textureTransform TextureTransform { scale 40 20 } texture ImageTexture { url "textures/Stoeptegels.jpg" } } geometry Box { size 250 0.1 50 } } ] } Transform { # VU-zijde translation 0 0.2 -77.9 scale 1 1 2.5 children [ USE Ondergrond ] } # ---------------------- # # Bomen worden geplaatst # # ---------------------- # Transform { translation -115 0 -8 children [ Boom2 {} ] } Transform { translation -80 0 -8 children [ Boom1 {} ] } Transform { translation -90 0 43 children [ Boom1 {} ] } Transform { translation -50 0 -8 children [ Boom1 {} ] } Transform { translation -55 0 43 children [ Boom1 {} ] } Transform { translation -40 0 -8 children [ Boom1 {} ] } Transform { translation -38 0 43 children [ Boom1 {} ] } Transform { rotation 0 1 0 3.14 translation -15 0 -8 children [ Boom1 {} ] } Transform { rotation 0 1 0 -3.14 translation -10 0 43 children [ Boom1 {} ] } Transform { rotation 0 1 0 0.2 translation 20 0 -8 children [ Boom1 {} ] } Transform { rotation 0 1 0 -0.2 translation 20 0 43 children [ Boom1 {} ] } Transform { rotation 0 1 0 0.2 translation 35 0 -8 children [ Boom1 {} ] } Transform { rotation 0 1 0 -0.2 translation 27 0 43 children [ Boom1 {} ] } Transform { translation 50 0 -8 children [ Boom1 {} ] } Transform { translation 44 0 43 children [ Boom1 {} ] } Transform { translation 81 0 -8 children [ Boom1 {} ] } Transform { translation 85 0 43 children [ Boom1 {} ] } Transform { translation 98 0 -8 children [ Boom2 {} ] } Transform { translation 115 0 43 children [ Boom2 {} ] } # ------------------------- # # Bomen voor de Hoofdingang # # ------------------------- # Transform { translation 81 0 -45 children [ Boom2 {} ] } Transform { translation 81 0 -55 children [ Boom2 {} ] } Transform { translation 81 0 -70 children [ Boom2 {} ] } Transform { translation 81 0 -85 children [ Boom2 {} ] } # ------------------------ # # Bomen naast Metropolitan # # ------------------------ # Transform { translation 81 0 60 children [ Boom2 {} ] } Transform { translation 81 0 80 children [ Boom2 {} ] } Transform { translation 50 0 85 children [ Boom2 {} ] } # --------------------------- # # Betonnen paaltjes bij de VU # # --------------------------- # Transform { translation 35 0.7 -15.5 children [ DEF BetonPaaltje Billboard { axisOfRotation 0 1 0 children [ Shape { appearance Appearance { texture ImageTexture { url "textures/Betonpaaltje.gif" } } geometry Box { size 0.5 1 0.01 } } ] } ] } Transform { translation 37 0.7 -15.5 children [ USE BetonPaaltje ] } Transform { translation 39 0.7 -15.5 children [ USE BetonPaaltje ] } Transform { translation 41 0.7 -15.5 children [ USE BetonPaaltje ] } Transform { translation 43 0.7 -15.5 children [ USE BetonPaaltje ] } Transform { translation 45 0.7 -16.5 children [ USE BetonPaaltje ] } Transform { translation 46.5 0.7 -18.5 children [ USE BetonPaaltje ] } Transform { translation 47 0.7 -21 children [ USE BetonPaaltje ] } Transform { translation 47 0.7 -23 children [ USE BetonPaaltje ] } Transform { translation 47 0.7 -25 children [ USE BetonPaaltje ] } Transform { translation 47 0.7 -27 children [ USE BetonPaaltje ] } # ------------------------ # # Blauwe railing bij de VU # # ------------------------ # Transform { translation -67 0.75 -20 children [ DEF Blauwerailing Shape { appearance Appearance { texture ImageTexture { url "textures/Blauwerailing.gif" } } geometry Box { size 4 1 0.01 } } ] } Transform { translation -71 0.75 -20 children [ USE Blauwerailing ] } Transform { translation -75 0.75 -20 children [ USE Blauwerailing ] } Transform { translation -79 0.75 -20 children [ USE Blauwerailing ] } Transform { translation -83 0.75 -20 children [ USE Blauwerailing ] } Transform { translation -87 0.75 -20 children [ USE Blauwerailing ] } Transform { translation -91 0.75 -20 children [ USE Blauwerailing ] } Transform { translation -95 0.75 -20 children [ USE Blauwerailing ] } Transform { translation -99 0.75 -20 children [ USE Blauwerailing ] } Transform { translation -103 0.75 -20 children [ USE Blauwerailing ] } Transform { translation -107 0.75 -20 children [ USE Blauwerailing ] } Transform { translation -111 0.75 -20 children [ USE Blauwerailing ] } Transform { translation -115 0.75 -20 children [ USE Blauwerailing ] } Transform { translation -119 0.75 -20 children [ USE Blauwerailing ] } Transform { # beginhek translation -65 0.75 -22 rotation 0 1 0 1.57 children [ USE Blauwerailing ] } Transform { translation -65 0.75 -26 rotation 0 1 0 1.57 children [ USE Blauwerailing ] } Transform { # Eindhek translation -121 0.75 -22 rotation 0 1 0 1.57 children [ USE Blauwerailing ] } Transform { translation -121 0.75 -26 rotation 0 1 0 1.57 children [ USE Blauwerailing ] } Transform { # Water achter de railing translation -93 0.25 -24 children [ Shape { appearance Appearance { textureTransform TextureTransform { scale 2 1 } texture ImageTexture { url "textures/Water.jpg" } } geometry Box { size 56 0.1 8 } } ] } # ---------------------- # # Plaatswijzer bij de VU # # ---------------------- # Transform { translation 40 2 -24 children [ Shape { appearance Appearance { texture ImageTexture { url "textures/Namenwijzerpaal.jpg" } } geometry Box { size 0.2 3 0.2 } } ] } Transform { translation 40 3 -24 rotation 0 1 0 1.57 children [ Shape { appearance Appearance { texture ImageTexture { url "textures/Namenwijzerbordjes.gif" } } geometry Box { size 2 1 0.01 } } ] } # ------------------------------ # # StudieInformatiebord bij de VU # # ------------------------------ # Transform { translation -40 3 -20 children [ Shape { appearance Appearance { texture ImageTexture { url "textures/StudieInformatie1.jpg" } } geometry Box { size 1 5 0.01 } } ] } Transform { translation -42 3 -20 children [ Shape { appearance Appearance { texture ImageTexture { url "textures/StudieInformatie2.jpg" } } geometry Box { size 1 5 0.01 } } ] } # ---------------------------------------- # # Lampen bij het fietspad worden geplaatst # # ---------------------------------------- # # Metropolitan-zijde # # 4 5 6 20 ..... 28 # # 1 2 3 11 ..... 19 # # VU-zijde Transform { # 1 translation 100 2 -16 children [ FietspadLamp {} ] } Transform { # 2 translation 90 2 -16 children [ FietspadLamp {} ] } Transform { # 3 translation 80 2 -16 children [ FietspadLamp {} ] } Transform { # 4 translation 100 2 50 children [ FietspadLamp {} ] } Transform { # 5 translation 90 2 50 children [ FietspadLamp {} ] } Transform { # 6 translation 80 2 50 children [ FietspadLamp {} ] } Transform { # 11 translation 50 2 -16 children [ FietspadLamp {} ] } Transform { # 12 translation 30 2 -16 children [ FietspadLamp {} ] } Transform { # 13 translation 10 2 -16 children [ FietspadLamp {} ] } Transform { # 14 translation -10 2 -16 children [ FietspadLamp {} ] } Transform { # 15 translation -30 2 -16 children [ FietspadLamp {} ] } Transform { # 16 translation -50 2 -16 children [ FietspadLamp {} ] } Transform { # 17 translation -70 2 -16 children [ FietspadLamp {} ] } Transform { # 18 translation -90 2 -16 children [ FietspadLamp {} ] } Transform { # 19 translation -110 2 -16 children [ FietspadLamp {} ] } Transform { # 20 translation 50 2 50 children [ FietspadLamp {} ] } Transform { # 21 translation 30 2 50 children [ FietspadLamp {} ] } Transform { # 22 translation 10 2 50 children [ FietspadLamp {} ] } Transform { # 23 translation -10 2 50 children [ FietspadLamp {} ] } Transform { # 24 translation -30 2 50 children [ FietspadLamp {} ] } Transform { # 25 translation -50 2 50 children [ FietspadLamp {} ] } Transform { # 26 translation -70 2 50 children [ FietspadLamp {} ] } Transform { # 27 translation -90 2 50 children [ FietspadLamp {} ] } Transform { # 28 translation -110 2 50 children [ FietspadLamp {} ] } # -------------------------------- # # Verkeerslichten worden geplaatst # # -------------------------------- # # Metropolitan-zijde # | | # |V2| ----- # --- V3 # V1 ----- # --- # |V4| # | | # VU-zijde # # # |V5| Transform { # V1 translation 85 1.75 -7 rotation 0 1 0 1.57 children [ VerkeerslichtGroot {} ] } Transform { # V2 translation 79 1.75 52 children [ VerkeerslichtGroot {} ] } Transform { # V3 translation 50 1.75 41 rotation 0 1 0 -1.57 children [ VerkeerslichtGroot {} ] } Transform { # V4 translation 53 1.75 -18 rotation 0 1 0 3.14 children [ VerkeerslichtGroot {} ] } Transform { # V5 translation 79 1.75 -130 children [ VerkeerslichtGroot {} ] } } StraatEnBomen {}