#Inventor V2.1 ascii PerspectiveCamera { position 0.0 15.0 50.0 orientation 1.0 0.0 0.0 -.2 focalDistance 16.7172 } Separator { # light PointLight { on TRUE intensity 0.9 color 1 1 1 location 0 18 20 } PointLight { on TRUE intensity 0.8 color 1 1 1 location 8 10 20 } PointLight { on TRUE intensity 0.4 color 1 1 1 location 0 10 70 } # ---------------------------------------------------------- # room z = -10.0 # objects 1-5 # ground plane at y=0, Separator { Material { ambientColor 0.2 0.2 0.2 diffuseColor 0.4 0.5 0.6 shininess 0.0 } Transform { scaleFactor 10.0 0.5 20.0 translation 0.0 -0.5 10.0 } Cube {} } # back wall Separator { Material { ambientColor 0.0 0.0 0.2 diffuseColor 0.0 0.0 0.6 shininess 0.0 } Transform { scaleFactor 10.0 10.0 0.5 translation 0.0 10.0 -10.0 } Cube {} } # left wall Separator { Material { ambientColor 0.0 0.0 0.2 diffuseColor 0.0 0.0 0.6 shininess 0.0 } Transform { scaleFactor 0.5 10.0 20.0 translation -10.0 10.0 10.0 } Cube {} } # right wall Separator { Material { ambientColor 0.0 0.0 0.2 diffuseColor 0.0 0.0 0.6 } Transform { scaleFactor 0.5 10.0 20.0 translation 10.0 10.0 10.0 } Cube {} } # roof Separator { Material { ambientColor 0.0 0.0 0.2 diffuseColor 0.0 0.0 0.6 shininess 0.0 } Transform { scaleFactor 10.0 0.5 20.0 translation 0.0 20.5 10.0 } Cube {} } # ---------------------------------------------------------- # TABLE # objects: 6-10 Separator { Transform { rotation 0.0 1.0 0.0 -40.0 translation 5.0 0.0 18.0 } # top Separator { Material { ambientColor 0.1 0.1 0.1 diffuseColor 0.0 0.4 0.0 shininess 0.0 } Transform { scaleFactor 4.0 0.5 2.0 translation 0.0 5.0 0.0 } Cube {} } # leg Separator { Material { ambientColor 0.1 0.1 0.1 diffuseColor 0.0 0.4 0.0 shininess 0.0 } Transform { scaleFactor 0.5 2.5 0.5 translation 3.5 2.5 1.5 } Cube {} } # leg Separator { Material { ambientColor 0.1 0.1 0.1 diffuseColor 0.0 0.4 0.0 shininess 0.0 } Transform { scaleFactor 0.5 2.5 0.5 translation 3.5 2.5 -1.5 } Cube {} } # leg Separator { Material { ambientColor 0.1 0.1 0.1 diffuseColor 0.0 0.4 0.0 shininess 0.0 } Transform { scaleFactor 0.5 2.5 0.5 translation -3.5 2.5 1.5 } Cube {} } # leg Separator { Material { ambientColor 0.1 0.1 0.1 diffuseColor 0.0 0.4 0.0 shininess 0.0 } Transform { scaleFactor 0.5 2.5 0.5 translation -3.5 2.5 -1.5 } Cube {} } } # ---------------------------------------------------------- # VASE # object 11 Separator { Material { ambientColor 0.1 0.1 0.1 diffuseColor 0.7 0.3 0.1 specularColor 0.2 0.2 0.2 shininess 0.2 } Transform { scaleFactor 2.0 2.0 2.0 rotation 0.0 1.0 0.0 0.0 translation 5.0 7.0 18.0 } Coordinate3 { point [ 0.0 1.0 0.0, -1.0 0.0 0.0, 0.0 0.0 -1.0, 1.0 0.0 0.0, 0.0 0.0 1.0, 0.0 -1.0 0.0 ] } IndexedTriangleStripSet { coordIndex [ 0, 1, 2, -1, 0, 2, 3, -1, 0, 3, 4, -1, 0, 4, 1, -1, 5, 2, 1, -1, 5, 3, 2, -1, 5, 4, 3, -1, 5, 1, 4, -1 ] } } # ---------------------------------------------------------- # CHAIR # object 12 Separator { Material { ambientColor 0.3 0.3 0.3 diffuseColor 0.7 0.3 0.1 specularColor 0.2 0.2 0.2 shininess 0.0 } Transform { rotation 0.0 1.0 0.0 -0.0 translation -7.0 0.0 4.0 } Coordinate3 { point [ 0.0 9.0 0.0, 5.0 9.0 0.0, 0.0 9.0 1.0, 5.0 9.0 1.0, 0.0 4.0 1.0, 5.0 4.0 1.0, 0.0 4.0 5.0, 1.0 4.0 5.0, 4.0 4.0 5.0, 5.0 4.0 5.0, 0.0 3.0 0.0, 1.0 3.0 0.0, 4.0 3.0 0.0, 5.0 3.0 0.0, 0.0 3.0 1.0, 1.0 3.0 1.0, 4.0 3.0 1.0, 5.0 3.0 1.0, 0.0 3.0 4.0, 1.0 3.0 4.0, 4.0 3.0 4.0, 5.0 3.0 4.0, 0.0 3.0 5.0, 1.0 3.0 5.0, 4.0 3.0 5.0, 5.0 3.0 5.0, 0.0 0.0 0.0, 1.0 0.0 0.0, 4.0 0.0 0.0, 5.0 0.0 0.0, 0.0 0.0 1.0, 1.0 0.0 1.0, 4.0 0.0 1.0, 5.0 0.0 1.0, 0.0 0.0 4.0, 1.0 0.0 4.0, 4.0 0.0 4.0, 5.0 0.0 4.0, 0.0 0.0 5.0, 1.0 0.0 5.0, 4.0 0.0 5.0, 5.0 0.0 5.0, 0.0 4.0 4.0, 5.0 4.0 4.0 ] } IndexedTriangleStripSet { coordIndex [ 0, 1, 3, -1, 0, 3 , 2, -1, 4, 5, 9, -1, 4, 9, 6, -1, 2, 3, 5, -1, 2, 5, 4, -1, 6, 7, 39, -1, 6, 39, 38, -1, 7, 8, 23, -1, 8, 24, 23, -1, 8, 9, 41, -1, 8, 41, 40, -1, 0, 2, 30, -1, 0, 30, 26, -1, 4, 42, 18, -1, 4, 18, 14, -1, 42, 6, 38, -1, 42, 38, 34, -1, 3, 1, 29, -1, 3, 29, 33, -1, 43, 5, 17, -1, 43, 17, 21, -1, 9, 43, 37, -1, 9, 37, 41, -1, 22, 25, 13, -1, 22, 13, 10, -1, 1, 0, 10, -1, 1, 10, 13, -1, 13, 12, 28, -1, 13, 28, 29, -1, 11, 10, 26, -1, 11, 26, 27, -1 ] } } # ---------------------------------------------------------- # ellipse # object 13 Separator { Transform { translation 8.0 14 12 scaleFactor 1 2 1 } Material { diffuseColor 0.9 0.8 0.2 shininess 0.2 ambientColor 0.1 0.1 0.1 } Sphere {} } # sphere # object 14 Separator { Transform { translation 0.0 13 3 } Material { diffuseColor 0 1 0 shininess 0.0 ambientColor 0.1 0.1 0.1 } Sphere {} } # sphere # object 15 Separator { Transform { translation -6.0 13 16 } Material { diffuseColor 0 1 0 shininess 0.0 ambientColor 0.1 0.1 0.1 } Sphere {} } }