#VRML V2.0 utf8 NavigationInfo { headlight TRUE } Background { backUrl "textures/Wolken.jpg" bottomUrl "textures/Wolken.jpg" frontUrl "textures/Wolken.jpg" leftUrl "textures/Wolken.jpg" rightUrl "textures/Wolken.jpg" topUrl "textures/Wolken.jpg" } PROTO Bankje [ ] { Transform { # Staande paal translation 2.7 -0.95 0.3 children [ DEF Paal Shape { appearance Appearance { material Material { diffuseColor 0 0.3 0.5 } texture ImageTexture { url "textures/Halteblauw.jpg" } } geometry Box { size 0.09 0.51 0.15 } } ] } Transform { # Ronde voetje translation 2.7 -1.2 0.3 children [ DEF Voetje Shape { appearance Appearance { material Material { diffuseColor 0.6 0.7 0.7 } } geometry Cylinder { radius 0.15 height 0.05 } } ] } Transform { # Paal met voetje 2 translation 4.1 -0.95 0.3 children [ USE Paal ] } Transform { # Ronde voetje 2 translation 4.1 -1.2 0.3 children [ USE Voetje ] } Transform { # Zitvlak bankje translation 3.4 -0.65 0.3 children [ Shape { appearance Appearance { material Material { diffuseColor 0.8 0.8 0.8 } texture ImageTexture { url "textures/Bankje.jpg" } } geometry Box { size 2 0.1 0.5 } } ] } } PROTO AbriKlein [ ] # Technical Info ------------------------- # De abri heeft steunpalen van hoogte 2.5. # Hij steekt ongeveer 1.25 het pad op. # Op de steunpalen komt nog het dak. # De abri is ongeveer xxxx breed. { # ------------------ # # Zijkant 1 van abri # # ------------------ # Transform { # Staande paal translation 0 0.05 0 children [ DEF Paal Shape { appearance Appearance { material Material { diffuseColor 0 0.3 0.5 } texture ImageTexture { url "textures/Halteblauw.jpg" } } geometry Box { size 0.15 2.55 0.15 } } ] } Transform { # Kopstuk van staande paal rotation 1 0 0 1.57 scale 1 0.55 1 translation 0 1.35 0.62 children [ USE Paal ] } Transform { # Blokjes op kopstuk translation 0 1.48 1.15 children [ DEF Blokje Shape { appearance Appearance { material Material { diffuseColor 0.5 0.5 0.5 } texture ImageTexture { url "textures/Halteblokje.jpg" } } geometry Box { size 0.1 0.12 0.1 } } ] } Transform { # Blokjes op kopstuk translation 0 1.48 0.25 children [ USE Blokje ] } Transform { # Ronde voetje translation 0 -1.2 0 children [ DEF Voetje Shape { appearance Appearance { material Material { diffuseColor 0.6 0.7 0.7 } } geometry Cylinder { radius 0.15 height 0.05 } } ] } Transform { # Metalen glassteunder translation 0 -1.05 0.62 children [ DEF Glassteunder Shape { appearance Appearance { material Material { diffuseColor 0.8 0.8 0.8 } texture ImageTexture { url "textures/Halteglassteunder.jpg" } } geometry Box { size 0.05 0.3 1.2 } } ] } Transform { # Ruit wordt aangemaakt translation 0 0.1 0.37 children [ DEF Ruit Shape { appearance Appearance { material Material { transparency 0.7 } } geometry Box { size 0.01 2.25 0.55 } } ] } Transform { # Ruit wordt aangemaakt translation 0 0.1 0.94 children [ USE Ruit ] } # ------------------- # # Achterkant van abri # # ------------------- # Transform { # Achterruit 1 translation 0.7 0.3 0 children [ DEF HogeRuit Shape { appearance Appearance { material Material { transparency 0.7 } } geometry Box { size 1.15 2.5 0.01 } } ] } Transform { # Achterruit 2 translation 1.88 0.3 0 children [ USE HogeRuit ] } Transform { # Achterruit 3 translation 3.06 0.3 0 children [ USE HogeRuit ] } Transform { # Achterruit 4 translation 4.24 0.3 0 children [ USE HogeRuit ] } Transform { # Glassteunder achterruiten rotation 0 1 0 1.57 translation 2.5 -1.05 0 scale 1 1 4.2 children [ USE Glassteunder ] } # ------------------ # # Zijkant 2 van abri # # ------------------ # Transform { # Staande paal translation 5 0.05 0 children [ USE Paal ] } Transform { # Kopstuk van staande paal rotation 1 0 0 1.57 scale 1 0.55 1 translation 5 1.35 0.62 children [ USE Paal ] } Transform { # Blokjes op kopstuk translation 5 1.48 1.15 children [ USE Blokje ] } Transform { # Blokjes op kopstuk translation 5 1.48 0.25 children [ USE Blokje ] } Transform { # Ronde voetje translation 5 -1.2 0 children [ USE Voetje ] } Transform { # Metalen glassteunder translation 5 -1.05 0.62 children [ USE Glassteunder ] } Transform { # Ruit wordt aangemaakt translation 5 0.1 0.37 children [ USE Ruit ] } Transform { # Ruit wordt aangemaakt translation 5 0.1 0.94 children [ USE Ruit ] } # --------------------------- # # Dak van Abri met omlijsting # # --------------------------- # PROTO Dak [ exposedField MFString url ["textures/Halteblauw.jpg"] ] { Shape { appearance Appearance { texture ImageTexture { url IS url } } geometry Box { size 5.5 0.1 1.6 } } } Transform { # Dak wordt aangemaakt translation 2.5 1.6 0.7 children [ Dak { url "textures/Haltedak.jpg" } ] } Transform { translation 2.5 1.6 1.52 scale 1 1 0.03 children [ Dak {} ] } Transform { translation 2.5 1.6 -0.12 scale 1 1 0.03 children [ Dak {} ] } Transform { translation -0.27 1.6 0.7 scale 0.01 1 1.05 children [ Dak {} ] } Transform { translation 5.27 1.6 0.7 scale 0.01 1 1.05 children [ Dak {} ] } Transform { # Plafondlamp translation 2.5 1.55 0.7 children [ Shape { appearance Appearance { texture ImageTexture { url "textures/Haltelamp.jpg" } } geometry Box { size 1.5 0.01 0.3 } } ] } # ----------- # # Verlichting # # ----------- # PointLight { location 2.5 1 1.5 color 1 1 1 radius 5 } # --------- # # RaamClips # # --------- # Transform { translation 0 0.2 1.17 rotation 0 0 1 1.57 children [ DEF RaamClip Shape { appearance Appearance { material Material { diffuseColor 0.8 0.8 0.8 } } geometry Cylinder { radius 0.03 height 0.03 } } ] } Transform { translation 0 0.2 0.9 rotation 0 0 1 1.57 children [ USE RaamClip ] } # ------ # # Bankje # # ------ # Transform { children [ Bankje {} ] } } # ----------------------------------------------------- PROTO AbriGroot [ ] # Technical Info ------------------------- # De abri heeft steunpalen van hoogte 2.5. # Hij steekt ongeveer 1.25 het pad op. # Op de steunpalen komt nog het dak. # De abri is ongeveer xxxx breed. { # ------------------ # # Zijkant 1 van abri # # ------------------ # Transform { # Staande paal translation 0 0.05 0 children [ DEF Paal Shape { appearance Appearance { material Material { diffuseColor 0 0.3 0.5 } texture ImageTexture { url "textures/Halteblauw.jpg" } } geometry Box { size 0.15 2.55 0.15 } } ] } Transform { # Kopstuk van staande paal rotation 1 0 0 1.57 scale 1 0.55 1 translation 0 1.35 0.62 children [ USE Paal ] } Transform { # Blokjes op kopstuk translation 0 1.48 1.15 children [ DEF Blokje Shape { appearance Appearance { material Material { diffuseColor 0.5 0.5 0.5 } texture ImageTexture { url "textures/Halteblokje.jpg" } } geometry Box { size 0.1 0.12 0.1 } } ] } Transform { # Blokjes op kopstuk translation 0 1.48 0.25 children [ USE Blokje ] } Transform { # Ronde voetje translation 0 -1.2 0 children [ DEF Voetje Shape { appearance Appearance { material Material { diffuseColor 0.6 0.7 0.7 } } geometry Cylinder { radius 0.15 height 0.05 } } ] } Transform { # Metalen glassteunder translation 0 -1.05 0.62 children [ DEF Glassteunder Shape { appearance Appearance { material Material { diffuseColor 0.8 0.8 0.8 } texture ImageTexture { url "textures/Halteglassteunder.jpg" } } geometry Box { size 0.05 0.3 1.2 } } ] } Transform { # Ruit wordt aangemaakt translation 0 0.1 0.37 children [ DEF Ruit Shape { appearance Appearance { material Material { transparency 0.7 } } geometry Box { size 0.01 2.25 0.55 } } ] } Transform { # Ruit wordt aangemaakt translation 0 0.1 0.94 children [ USE Ruit ] } # ------------------- # # Achterkant van abri # # ------------------- # Transform { # Achterruit 1 translation 0.7 0.3 0 children [ DEF HogeRuit Shape { appearance Appearance { material Material { transparency 0.7 } } geometry Box { size 1.15 2.5 0.01 } } ] } Transform { # Achterruit 2 translation 1.88 0.3 0 children [ USE HogeRuit ] } Transform { # Achterruit 3 translation 3.06 0.3 0 children [ USE HogeRuit ] } Transform { # Achterruit 4 translation 4.24 0.3 0 children [ USE HogeRuit ] } Transform { # Achterruit 5 translation 5.42 0.3 0 children [ USE HogeRuit ] } Transform { # Achterruit 6 translation 6.60 0.3 0 children [ USE HogeRuit ] } Transform { # Achterruit 7 translation 7.78 0.3 0 children [ USE HogeRuit ] } Transform { # Achterruit 8 translation 8.96 0.3 0 children [ USE HogeRuit ] } Transform { # Glassteunder achterruiten rotation 0 1 0 1.57 translation 4.8 -1.05 0 scale 1 1 8 children [ USE Glassteunder ] } # ---------------------------- # # 2 Tussenpalen van grote abri # # ---------------------------- # # Eerste tussenpaal zonder ruit Transform { # Staande paal translation 4.4 0.05 0.1 children [ USE Paal ] } Transform { # Kopstuk van staande paal rotation 1 0 0 1.57 scale 1 0.55 1 translation 4.4 1.35 0.72 children [ USE Paal ] } Transform { # Blokjes op kopstuk translation 4.4 1.48 1.25 children [ USE Blokje ] } Transform { # Blokjes op kopstuk translation 4.4 1.48 0.35 children [ USE Blokje ] } Transform { # Ronde voetje translation 4.4 -1.2 0.1 children [ USE Voetje ] } # Tweede tussenpaal zonder ruit Transform { # Staande paal translation 5.3 0.05 0.1 children [ USE Paal ] } Transform { # Kopstuk van staande paal rotation 1 0 0 1.57 scale 1 0.55 1 translation 5.3 1.35 0.72 children [ USE Paal ] } Transform { # Blokjes op kopstuk translation 5.3 1.48 1.25 children [ USE Blokje ] } Transform { # Blokjes op kopstuk translation 5.3 1.48 0.35 children [ USE Blokje ] } Transform { # Ronde voetje translation 5.3 -1.2 0.1 children [ USE Voetje ] } # ------------------ # # Zijkant 2 van abri # # ------------------ # Transform { # Staande paal translation 9.65 0.05 0 children [ USE Paal ] } Transform { # Kopstuk van staande paal rotation 1 0 0 1.57 scale 1 0.55 1 translation 9.65 1.35 0.62 children [ USE Paal ] } Transform { # Blokjes op kopstuk translation 9.65 1.48 1.15 children [ USE Blokje ] } Transform { # Blokjes op kopstuk translation 9.65 1.48 0.25 children [ USE Blokje ] } Transform { # Ronde voetje translation 9.65 -1.2 0 children [ USE Voetje ] } Transform { # Metalen glassteunder translation 9.65 -1.05 0.62 children [ USE Glassteunder ] } Transform { # Ruit wordt aangemaakt translation 9.65 0.1 0.37 children [ USE Ruit ] } Transform { # Ruit wordt aangemaakt translation 9.65 0.1 0.94 children [ USE Ruit ] } # --------------------------- # # Dak van Abri met omlijsting # # --------------------------- # PROTO Dak [ exposedField MFString url ["textures/Halteblauw.jpg"] ] { Shape { appearance Appearance { texture ImageTexture { url IS url } } geometry Box { size 10.3 0.1 1.6 } } } Transform { # Dak wordt aangemaakt translation 4.85 1.6 0.7 children [ Dak { url "textures/Haltedak.jpg" } ] } Transform { translation 4.85 1.6 1.52 scale 1 1 0.03 children [ Dak {} ] } Transform { translation 4.85 1.6 -0.12 scale 1 1 0.03 children [ Dak {} ] } Transform { translation -0.35 1.6 0.7 scale 0.01 1 1.05 children [ Dak {} ] } Transform { translation 10.05 1.6 0.7 scale 0.01 1 1.05 children [ Dak {} ] } Transform { # Plafondlamp 1 translation 2.5 1.55 0.7 children [ Shape { appearance Appearance { texture ImageTexture { url "textures/Haltelamp.jpg" } } geometry Box { size 1.5 0.01 0.3 } } ] } Transform { # Plafondlamp 2 translation 7 1.55 0.7 children [ Shape { appearance Appearance { texture ImageTexture { url "textures/Haltelamp.jpg" } } geometry Box { size 1.5 0.01 0.3 } } ] } # ----------- # # Verlichting # # ----------- # PointLight { location 2.5 1 1.5 color 1 1 1 radius 5 } PointLight { location 7 1 1.5 color 1 1 1 radius 5 } # --------- # # RaamClips # # --------- # Transform { translation 0 0.2 1.17 rotation 0 0 1 1.57 children [ DEF RaamClip Shape { appearance Appearance { material Material { diffuseColor 0.8 0.8 0.8 } } geometry Cylinder { radius 0.03 height 0.03 } } ] } Transform { translation 0 0.2 0.9 rotation 0 0 1 1.57 children [ USE RaamClip ] } # ------- # # Bankjes # # ------- # Transform { translation -0.6 0 0 children [ Bankje {} ] } Transform { translation 3.5 0 0 children [ Bankje {} ] } } # ------------------------------------------------------------ PROTO ReclameBord [ field MFString url [] ] { Transform { # Omlijsting translation 0.15 0.1 0.15 children [ DEF ReclameRand Shape { appearance Appearance { material Material { diffuseColor 0 0.4 0.5 } } geometry Box { size 0.08 1.9 0.2 } } ] } Transform { # Omlijsting translation 1.55 0.1 0.15 children [ USE ReclameRand ] } Transform { # Omlijsting translation 0.85 1.08 0.15 scale 1 0.78 1 rotation 0 0 1 1.57 children [ USE ReclameRand ] } Transform { # Omlijsting translation 0.85 -0.88 0.15 scale 1 0.78 1 rotation 0 0 1 1.57 children [ USE ReclameRand ] } Transform { # Posterwand translation 0.85 0.1 0.1 children [ Shape { appearance Appearance { texture ImageTexture { url IS url } } geometry Box { size 1.32 1.87 0.01 } } ] } Transform { # Glas voor posterwand translation 0.85 0.1 0.2 children [ Shape { appearance Appearance { material Material { transparency 0.8 } } geometry Box { size 1.3 1.85 0.01 } } ] } Transform { # Steunpaaltjes translation 0.35 -1.05 0.1 children [ DEF SteunPaaltje Shape { appearance Appearance { material Material { diffuseColor 0.7 0.7 0.6 } texture ImageTexture { url "textures/Halteblokje.jpg" } } geometry Box { size 0.1 0.3 0.1 } } ] } Transform { translation 1.3 -1.05 0.1 children [ USE SteunPaaltje ] } Transform { translation 0.35 1.35 0.1 scale 1 1.5 1 children [ USE SteunPaaltje ] } Transform { translation 1.3 1.35 0.1 scale 1 1.5 1 children [ USE SteunPaaltje ] } Transform { # Ronde voetje translation 0.35 -1.2 0.1 children [ DEF Voetje Shape { appearance Appearance { material Material { diffuseColor 0.6 0.7 0.7 } } geometry Cylinder { radius 0.1 height 0.05 } } ] } Transform { # Ronde voetje 2 translation 1.3 -1.2 0.1 children [ USE Voetje ] } } PROTO ReclameBord1 [ ] { ReclameBord { url "textures/Reclame1.jpg" } } PROTO ReclameBord2 [ ] { ReclameBord { url "textures/Reclame2.jpg" } } PROTO ReclameBord3 [ ] { ReclameBord { url "textures/Reclame3.jpg" } } PROTO ReclameBord4 [ ] { ReclameBord { url "textures/Reclame4.jpg" } } PROTO Plattegrond [ ] { # -------------------- # # Plattegrond & Tijden # # -------------------- # Transform { # Omlijsting translation 3.2 0.3 0.05 children [ DEF PlattegrondRand Shape { appearance Appearance { material Material { diffuseColor 0 0.4 0.5 } } geometry Box { size 0.04 1.3 0.05 } } ] } Transform { # Omlijsting translation 4.5 0.3 0.05 children [ USE PlattegrondRand ] } Transform { # Omlijsting translation 3.85 0.93 0.05 rotation 0 0 1 1.57 children [ USE PlattegrondRand ] } Transform { # Omlijsting translation 3.85 -0.33 0.05 rotation 0 0 1 1.57 children [ USE PlattegrondRand ] } PROTO PlattegrondEnGlasWand [ field SFVec3f Locatie 3.85 0.3 0.03 field SFColor Kleur 0.3 0.3 0.3 exposedField SFFloat transparency 0 field MFString url [] ] { Transform { # Plattegrondwand translation IS Locatie children [ DEF Wand Shape { appearance Appearance { material Material { diffuseColor IS Kleur transparency IS transparency } texture ImageTexture { url IS url } } geometry Box { size 1.27 1.24 0.01 } } ] } } PlattegrondEnGlasWand {} # Achterwand naar straat toe is grijs PlattegrondEnGlasWand { # Wand waar de plattegrond op staat is wit Locatie 3.85 0.3 0.04 Kleur 1 1 1 url "textures/Plattegrond.jpg" } PlattegrondEnGlasWand { # Glaswand voor de plattegrond is transparant Locatie 3.85 0.3 0.05 Kleur 1 1 1 transparency 0.85 } } #AbriGroot{} AbriKlein{} #ReclameBord1 {} #ReclameBord2 {} ReclameBord3 {} #ReclameBord4 {} Plattegrond{}