#Inventor V2.1 ascii #Creating the basement walls Separator { Material {diffuseColor .7 .7 .7} Texture2 {filename "grybrick.rgb"} Texture2Transform { scaleFactor 5 4 } Cube { width .1 height 3 depth 6 } } Separator { Translation {translation 10 0 0 } Material {diffuseColor .7 .7 .7} Texture2 {filename "grybrick.rgb"} Texture2Transform { scaleFactor 5 4 } Cube { width .1 height 3 depth 6 } } #Creating the back of the basement Separator { Translation {translation 4.95 0 -2.95 } Material {diffuseColor .7 .7 .7} Texture2 {filename "grybrick.rgb"} Texture2Transform { scaleFactor 5 4 } Cube { width 10 height 3 depth .1 } } #Creating the front of the basement Separator { Translation {translation 4.95 0 2.95 } Material {diffuseColor .7 .7 .7} Texture2 {filename "grybrick.rgb"} Texture2Transform { scaleFactor 5 4 } Cube { width 10 height 3 depth .1 } } #Creating the floor to the basement Separator { Translation {translation 4.95 -1.5 0 } Material {diffuseColor .4 .4 .4} Texture2 {filename "basementFloor.rgb"} Texture2Transform { scaleFactor 1 1 } Cube { width 10 height .1 depth 6 } } #Creating the top to the basement Separator { Translation {translation 4.95 1.5 1 } Material {diffuseColor .7 .6 .6} Texture2 { filename "ceiling.rgb" } Texture2Transform { scaleFactor 10 10 } Cube { width 10 height .1 depth 4 } } Separator { Translation {translation 5.95 1.501 -1.9 } Material {diffuseColor .7 .6 .6} Texture2 { filename "ceiling.rgb" } Texture2Transform { scaleFactor 10 10 } Cube { width 8 height .1 depth 2.05 } } Separator { Translation {translation 1 3 -1.98} Material {diffuseColor .7 .6 .6} Texture2 { filename "ceiling.rgb" } Texture2Transform { scaleFactor 10 10 } Cube { width 2.1 height .1 depth 2.1 } } #Creating the short walls that extend up to give headroom for the staricase. #The left short wall Separator { Translation {translation 0 2.25 -2 } Material {diffuseColor .7 .7 .7} Texture2 {filename "grybrick.rgb"} Texture2Transform { scaleFactor 4 3 } Cube { width .1 height 1.55 depth 2 } } #The right short wall Separator { Translation {translation 2.05 2.25 -2.05 } Material {diffuseColor .7 .7 .7} Texture2 {filename "grybrick.rgb"} Texture2Transform { scaleFactor 4 3 } Cube { width .1 height 1.55 depth 2 } } Separator { Translation {translation 1.05 2.25 -1.05 } Material {diffuseColor .7 .6 .6} Texture2 { filename "ceiling.rgb" } Texture2Transform { scaleFactor 10 10 } Cube { width 2.1 height 1.55 depth .1 } } # Creating the beam Separator { Material {diffuseColor .2 .2 .2} Translation {translation 5 1.335 0 } Cube { width 10.1 height .33 depth .25 } } # Creating 3 poles that support the beam Separator { Material {diffuseColor .2 .2 .2} Translation {translation 2.5 -.165 0 } Cylinder { height 2.67 radius .07 } } Separator { Material {diffuseColor .2 .2 .2} Translation {translation 5 -.165 0 } Cylinder { height 2.67 radius .07 } } Separator { Material {diffuseColor .2 .2 .2} Translation {translation 7.5 -.165 0 } Cylinder { height 2.67 radius .07 } } #creating the staircase Separator { Translation {translation .59 -.45 -2.769} #Material {diffuseColor .6 .3 .6} Texture2 {filename "stairs.rgb"} Texture2Transform { scaleFactor 2 2 } Cube { width 1 height 2 depth .3 } } Separator { Translation {translation .59 -.615 -2.469} #Material {diffuseColor .6 .3 .6} Texture2 {filename "stairs.rgb"} Texture2Transform { scaleFactor 2 2 } Cube { width 1 height 1.8 depth .3 } } Separator { Translation {translation .59 -.785 -2.169} #Material {diffuseColor .6 .3 .6} Texture2 {filename "stairs.rgb"} Texture2Transform { scaleFactor 2 2 } Cube { width 1 height 1.6 depth .3 } } Separator { Translation {translation .59 -.995 -1.869} #Material {diffuseColor .6 .3 .6} Texture2 {filename "stairs.rgb"} Texture2Transform { scaleFactor 2 2 } Cube { width 1 height 1.4 depth .3 } } Separator { Translation {translation .59 -1.115 -1.569} #Material {diffuseColor .6 .3 .6} Texture2 {filename "stairs.rgb"} Texture2Transform { scaleFactor 2 2 } Cube { width 1 height 1.2 depth .3 } } Separator { Translation {translation .59 -1.285 -1.269} #Material {diffuseColor .6 .3 .6} Texture2 {filename "stairs.rgb"} Texture2Transform { scaleFactor 2 2 } Cube { width 1 height 1 depth .3 } } Separator { Translation {translation .59 -1.45 -.969} #Material {diffuseColor .6 .3 .6} Texture2 {filename "stairs.rgb"} Texture2Transform { scaleFactor 2 2 } Cube { width 1 height .8 depth .3 } } Separator { Translation {translation .59 -1.58 -.669} #Material {diffuseColor .6 .3 .6} Texture2 {filename "stairs.rgb"} Texture2Transform { scaleFactor 2 2 } Cube { width 1 height .6 depth .3 } } #Creating a room that connects to the basement. #Creating the walls to room #1 Separator { Translation {translation -2 1.9 -4.7} Material {diffuseColor .7 .7 .7} Texture2 { filename "livwallpaper.rgb" } Texture2Transform { scaleFactor 8 8 } Cube { width .1 height 3 depth 3.5 } } Separator { Translation {translation 2 1.9 -4.7} Material {diffuseColor .7 .7 .7} Texture2 { filename "livwallpaper.rgb" } Texture2Transform { scaleFactor 8 8 } Cube { width .1 height 3 depth 3.5 } } #Creating the back and front walls to room #1 Separator { Translation {translation 0 1.9 -6.4} Material {diffuseColor .7 .7 .7} Texture2 { filename "livwallpaper.rgb" } Texture2Transform { scaleFactor 8 8 } Cube { width 4 height 3 depth .1 } } Separator { Translation {translation 0 1.9 -3} Material {diffuseColor .7 .7 .7} Texture2 { filename "livwallpaper.rgb" } Texture2Transform { scaleFactor 8 8 } Cube { width 4 height 3 depth .1 } } #Create the door that goes from the basement to room #1 Separator { Translation {translation .5 1.6 -2.975} Material {diffuseColor 0 0 0} Cube { width .75 height 2 depth .2 } } #Creating the floor to room #1 Separator { Translation {translation 0 .45 -4.7} Material {diffuseColor .4 .4 .4} Texture2 { filename "floor.rgb" } Texture2Transform { scaleFactor 10 9 } Cube { width 4 height .1 depth 3.5 } } #Creating the top to room #1 Separator { Translation {translation 0 3.35 -4.7} Material {diffuseColor .5 .5 .6} Texture2 { filename "livceiling.rgb" } Cube { width 4 height .1 depth 3.5 } } #adding a viewpoint #PerspectiveCamera { # position 4.5 4 10 # orientation 1 0 0 -.5 #}