#VRML V2.0 utf8 PROTO Trappen [ ] { # ------------------------ # # Treden 0.25 hoog tot 1.8 # # ------------------------ # Transform { children [ DEF trede Shape { appearance Appearance { texture ImageTexture { url "textures/Tegels.jpg" } } geometry Box { size 0.5 0.25 2 } } ] } Transform { translation 0.5 -0.25 0 children [ USE trede ] } Transform { translation 1 -0.5 0 children [ USE trede ] } Transform { translation 1.5 -0.75 0 children [ USE trede ] } Transform { translation 2 -1 0 children [ USE trede ] } Transform { translation 2.5 -1.25 0 children [ USE trede ] } Transform { translation 3 -1.5 0 children [ USE trede ] } } PROTO Fietsbaan [ ] { # ------------------------- # # Rolstoel/fiets baan \__ # # \ # # ------------------------- # Transform { translation 4.75 -0.88 -1 rotation 0 1 0 -1.57 children [ Shape { # Bovenblok 1 appearance Appearance { texture ImageTexture { url "textures/Tegels.jpg" } } geometry IndexedFaceSet { coord Coordinate { point [ -2 0 0, 0 0 0, 0 0.75 5, -2 0.75 5 -2 0.25 0, 0 0.25 0, 0 1 5, -2 1 5 ] } coordIndex [ 0 4 7 3 -1 0 1 2 3 -1 0 1 5 4 -1 1 2 6 5 -1 4 5 6 7 -1 2 3 7 6 -1 ] solid FALSE } } Shape { # Onderblok 1 appearance Appearance { textureTransform TextureTransform { scale 0.2 1 } texture ImageTexture { url "textures/Perronblok.jpg" } } geometry IndexedFaceSet { coord Coordinate { point [ -1.75 -0.75 0, -0.25 -0.75 0, -0.25 -0.75 5, -1.75 -0.75 5 -1.75 0 0, -0.25 0 0, -0.25 0.75 5, -1.75 0.75 5 ] } coordIndex [ 0 4 7 3 -1 0 1 2 3 -1 0 1 5 4 -1 1 2 6 5 -1 4 5 6 7 -1 2 3 7 6 -1 ] solid FALSE } } ] } Transform { # Bovenblok 2 translation 5.25 -0.76 -2 children [ Shape { appearance Appearance { texture ImageTexture { url "textures/Tegels.jpg" } } geometry Box { size 1 0.25 2 } } ] } Transform { # Onderblok 2 translation 5.25 -1.25 -2 children [ Shape { appearance Appearance { textureTransform TextureTransform { scale 0.1 0.5 } texture ImageTexture { url "textures/Perronblok.jpg" } } geometry Box { size 1 0.75 1.5 } } ] } Transform { # Bovenblok 3 translation 10.75 -1.63 -1 rotation 0 1 0 -1.57 children [ Shape { appearance Appearance { texture ImageTexture { url "textures/Tegels.jpg" } } geometry IndexedFaceSet { coord Coordinate { point [ -2 0 0, 0 0 0, 0 0.75 5, -2 0.75 5 -2 0.25 0, 0 0.25 0, 0 1 5, -2 1 5 ] } coordIndex [ 0 4 7 3 -1 0 1 2 3 -1 0 1 5 4 -1 1 2 6 5 -1 4 5 6 7 -1 2 3 7 6 -1 ] solid FALSE } } ] } Transform { # Onderblok 3 translation 10.75 -1.63 -1 rotation 0 1 0 -1.57 children [ Shape { appearance Appearance { textureTransform TextureTransform { scale 0.2 1 } texture ImageTexture { url "textures/Perronblok.jpg" } } geometry IndexedFaceSet { coord Coordinate { point [ -1.75 0 0, -0.25 0 0, -0.25 0 5, -1.75 0 5 -1.75 0 0, -0.25 0 0, -0.25 0.75 5, -1.75 0.75 5 ] } coordIndex [ 0 4 7 3 -1 0 1 2 3 -1 0 1 5 4 -1 1 2 6 5 -1 4 5 6 7 -1 2 3 7 6 -1 ] solid FALSE } } ] } } Trappen {} Fietsbaan {}