Chris Pollett > Students >
Jie Wei Lin

    ( Print View )

    [Bio]

    [CS297Proposal]

    [Del1]

    [Del2]

    [Del3]

    [Del4]

    [CS297Report-PDF]

    [CS298Proposal]

    [Del298 (Semester1)]

    [CS298Presentation-PDF]

    [CS298Report-PDF]

    [Del298Final]

                            

























Deliverable 2: Jie Wei Lin's Apartment

For this deliverable I created a VRML view of my appartment to gain familiarity with VRML. To see this scene you need a VRML plug-in for your browser. I used Cortona.

The second project deliverable - my VRML appartment
# the following code has all world files neede to build 
# the appartment.  They are in alphabetical order.  

#VRML V2.0 utf8
# file name: bedRoom.wrl
# A bedroom with a desk that has a lamp on it, and a bed
Group
{
    children
    [
        # a room with a floor and three walls
        Inline
        {
            url "room.wrl"
        }  
        # a bed with two red pillows
        Transform
        {
            translation  -7.0  0.5  -4.5
            children 
            [
                # builds a bed with a box
                Shape 
                {
                    appearance DEF BedMaterial Appearance
                    {
                        material Material
                        {
                            diffuseColor 1.0  0.9  0.83
                        }
                    }
                    geometry DEF Bed Box
                    {
                        size 7.0  1.0  5.0
                    }
                }
                # rear pillow
                Transform
                {
                    translation  -2.0 0.65  -1.0
                    scale        0.2  0.2   0.2
                    rotation     0.0  1.0   0.0 -1.57
                    children
                    [
                        Shape
                        {
                            appearance DEF PillowAppearance Appearance
                            {
                                material Material
                                {
                                    diffuseColor 0.8  0.0  0.0
                                }
                            }
                            geometry USE Bed
                        }
                    ]
                }
                # front pillow
                Transform
                {
                    translation -2.0 0.65  1.0
                    scale        0.2  0.2   0.2
                    rotation     0.0  1.0   0.0 -1.57
                    children
                    [
                        Shape
                        {
                            appearance USE PillowAppearance
                            geometry USE Bed
                        }
                    ]
                }
            ]
        },
        # a chair next to the desk
        Transform
        {
            translation   6.5  2.3  3.0
            scale         0.2  0.33  0.3
            rotation      0.0  1.0  0.0 1.57
            children 
            [
                DEF Chair Inline
                {
                   url "chair.wrl"
                }  
            ]
        },
        # a study desk with a lamp
        Transform
        {
            translation   8.75 3.0  3.0
            scale         0.5  0.4  0.5
            rotation      0.0  1.0  0.0 1.57
            children 
            [
                # use a table as a study desk
                Inline
                {
                   url "table.wrl"
                }  
                Transform
                {
                    translation   2.0   0.55  1.0
                    scale         10.0  10.0  10.0
                    rotation      0.0    1.0  0.0 3.14
                    children 
                    [   
                        # a lamp placed on the table
                        Inline
                        {
                            url "lamp.wrl"
                        }  
                    ]
                },
            ]
        },
        
    ]
}


#VRML V2.0 utf8
# file name: bedRoomVP.wrl - bedroom with view point
# kitchen with viewpoint set
Group
{
    children
    [
        # sets viewpoint as forward view, initial position and orientation
        Viewpoint
        {
            description "Forward view"
            position      0.0  6.6  0.0
            orientation   0.0  1.0  0.0  3.14
        }
        # sets avator size, walk movement type, walking speed,
        # and with headlight on
        NavigationInfo
        {
            type "WALK"
            speed 1.0
            headlight TRUE
            avatarSize [ 0.5  1.6  0.5 ]
        }
        # a bedroom with a bed, a desk, and a chair
        Inline { url "bedRoom.wrl" }
        # create a door that acts as an anchor
        # to the kitchen
        Anchor 
        {
            url "livingRoomVP.wrl"
            description "To the kitchen"
            children
            [
                # a white door
                Transform
                {
                    translation  -10.25  0.0  1.0
                    rotation     0.0  1.0  0.0  1.57
                    children Inline { url "door.wrl" }
                }
            ]
        },
    ]
}


#VRML V2.0 utf8
# file name: chair.wrl
# A yellow chair
Group
{
    children
    [
        # seat which has two legs and a seat
        Inline
        {
            url "chairSeat.wrl"
        }  
        # chair back using a box
        # acts a chair's back and two rear legs
        Transform
        {
            translation  0.0  0.5  -3.25
            children 
            [
                Shape
                {
                    appearance Appearance
                    {
                         material Material
                        {
                            diffuseColor 1.0  1.0  0.0
                        }
                    }
                    geometry Box
                    {
                        size 9 15 0.5
                    }
                }
            ]
        },
        
    ]
}


#VRML V2.0 utf8
# file name: chairSeat.wrl
# chair seat which has two legs and a seat
Group
{
    children
    [
        # chair seat
        Shape
        {
            appearance DEF Yellow Appearance
            {
                material Material
                {
                    diffuseColor 1.0  1.0  0.0
                }
            }
            geometry Box { size 9  1.0  7 }
        },
        # Left front chair leg
        Transform
        {
            translation -3.5  -3.5  2.5
            children DEF TableLeg Shape
            {
                appearance USE Yellow
                geometry Box
                {
                    size 1.0  7  1.0
                }
            }
        },
        # Right front chair leg
        Transform
        {
            translation 3.5  -3.5  2.5
            children USE TableLeg
        },
    ]
}

#VRML V2.0 utf8
# file name: counter.wrl
# a counter simply built with two boxes
Group
{
    children
    [
        # counter stand built with a box
        Shape
        {
            appearance DEF Wood Appearance
            {
                material Material
                {
                    diffuseColor 0.7  0.5  0.2
                }
            }
            geometry Box { size 7  5  3 }
        },
        # counter top built with a box
        Transform
        {
            translation -0.15  2.5  0.0
            children Shape
            {
                appearance USE Wood
                geometry Box { size 9  1.0  5.0 }
            }
        },
    ]
}


#VRML V2.0 utf8
# file name: door.wrl
# build a plain white door with a gray handle
Group
{
    children
    [
        # white door built with a box
        Transform
        {   
            translation 0.0  3.0  0.0
            children
            [
                Shape
                {
                        appearance Appearance 
                        {
                            material Material
                            {
                                diffuseColor 1.0  1.0  1.0
                            }
                        }
                        geometry Box
                        {
                            size 3.0  6.0  0.5
                        }
                }
          ]
        },
        # door handle built with a gray sphere
        Transform
        {   
            translation -1.0  3.0  0.4
            children
            [
                Shape
                {
                        appearance Appearance 
                        {
                            material Material
                            {
                                diffuseColor 0.5  0.5  0.5
                            }
                        }
                        geometry Sphere
                        {
                            radius 0.2
                        }
                }
          ]
        },
    ]
}


#VRML V2.0 utf8
# file name: kitchen.wrl
# A kitchen with wash counter, stove which has two cooking pots on it, 
# a refrigerator, a dining table, and two chairs
Group
{
    children
    [
        # a room with a floor and three walls
        Inline
        {
            url "room.wrl"
        }  
        # a stove counter
        Transform
        {
            translation  -7.125  1.2  -6.0
            scale         0.75   0.5  0.5
            children 
            [
                DEF Counter Inline
                {
                   url "counter.wrl"
                }  
            ]
        },
        # large pot on the left
        Transform
        {
            translation  -7.125  3.2  -5.75
            scale         0.5   0.5  0.5
            children 
            [
                DEF Pot Inline
                {
                   url "pot.wrl"
                }  
            ]
        },
        # small pot on the right
        Transform
        {
            translation  -5.125  3.2  -5.75
            scale         0.3   0.3  0.3
            children USE Pot
        },
        # a wash counter
        Transform
        {
            translation  -9.25  1.2  -3.0
            scale         0.75   0.5  0.5
            rotation     0.0  1.0  0.0  1.57
            children USE Counter
        },
        # a frigerator 
        Transform
        {
            translation   9.5  2.5  -5.75
            scale         1.0  1.0  1.0
            rotation      0.0  1.0  0.0  -1.57
            children 
            [
                Inline
                {
                   url "refrigerator.wrl"
                }  
            ]
        },
        # a dining table
        Transform
        {
            translation   5.5  3.5  2.75
            scale         0.5  0.5  0.5
            children 
            [
                Inline
                {
                   url "table.wrl"
                }  
            ]
        },
        # a dining chair on the right of table
        Transform
        {
            translation   7.5  2.5  2.75
            rotation      0.0  1.0  0.0  -1.57
            scale         0.2  0.35  0.3
            children 
            [
                DEF Chair Inline
                {
                   url "chair.wrl"
                }  
            ]
        },
        # a dining chair on the left the table
        Transform
        {
            translation   3.5  2.5  2.75
            rotation      0.0  1.0  0.0  1.57
            scale         0.2  0.35  0.3
            children USE Chair
        },
    ]
}


#VRML V2.0 utf8
# file name: kitchenVP.wrl - kitchen with viewpoint set
# kitchen with viewpoint set
Group
{
    children
    [
        # sets viewpoint as forward view, initial position and orientation
        Viewpoint
        {
            description "Forward view"
            position 0.0  6.6  0.0
            orientation   0.0  1.0  0.0  3.14
        }
        # sets avator size, walk movement type, walking speed,
        # and with headlight on
        NavigationInfo
        {
            type "WALK"
            speed 1.0
            headlight TRUE
            avatarSize [ 0.5  1.6  0.5 ]
        }
        # a kitchen with a wash counter, stove which has
        # two cooking pots on it, a refrigerator, a table
        # and two chairs next to it.
        Inline { url "kitchen.wrl" }
        # create a door that acts as an anchor
        # to the bedroom
        Anchor 
        {
            url "bedRoomVP.wrl"
            description "To the kitchen"
            children
            [
                # a white door with a gray handle
                Transform
                {
                    translation  10.25  0.0  -3.0
                    rotation     0.0  1.0  0.0  -1.57
                    children Inline { url "door.wrl" }
                }
            ]
        },
    ]
}


#VRML V2.0 utf8
# file name: lamp.wrl
# The VRML 2.0 Sourcebook
# Copyright [1997] By
# Andrea L. Ames, David R. Nadeau, and John L. Moreland
Group {
  children [
  # Lamp
    DEF MoveLamp PlaneSensor { },
    DEF Lamp Transform {
      children [
      # Lamp base
        Shape {
          appearance DEF White Appearance {
            material Material { }
          }
          geometry Cylinder {
            radius 0.1
            height 0.01
          }
        },
      # Base - First arm joint
        Group {
          children [
            DEF MoveFirstArm SphereSensor {
              offset 1.0 0.0 0.0 -0.7
            },
            DEF FirstArm Transform {
              translation 0.0 0.15 0.0
              rotation    1.0 0.0 0.0  -0.7
              center      0.0 -0.15 0.0
              children [
              # Lower arm
                DEF LampArm Shape {
                  appearance USE White
                  geometry Cylinder {
                    radius 0.01
                    height 0.3
                  }
                },
              # First arm - second arm joint
                Group {
                  children [
                    DEF MoveSecondArm SphereSensor {
                      offset 1.0 0.0 0.0 1.9
                    },
                    DEF SecondArm Transform {
                      translation 0.0 0.3 0.0
                      rotation  1.0 0.0 0.0  1.9
                      center    0.0 -0.15 0.0
                      children [
                      # Second arm
                        USE LampArm,
                      # Second arm - shade joint
                        Group {
                          children [
                            DEF MoveLampShade SphereSensor {
                              offset 1.0 0.0 0.0 -1.25
                            },
                            DEF LampShade Transform {
                              translation 0.0 0.075 0.0
                              rotation  1.0 0.0 0.0  -1.25
                              center    0.0 0.075 0.0
                              children [
                              # Shade
                                Shape {
                                  appearance USE White
                                  geometry Cone {
                                    height 0.15
                                    bottomRadius 0.12
                                    bottom FALSE
                                  }
                                },
                              # Light bulb
                                Transform {
                                  translation 0.0 -0.05 0.0
                                  children Shape {
                                    appearance USE White
                                    geometry Sphere {
                                      radius 0.05
                                    }
                                  }
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}
ROUTE MoveLamp.translation_changed   TO Lamp.set_translation
ROUTE MoveFirstArm.rotation_changed  TO FirstArm.set_rotation
ROUTE MoveSecondArm.rotation_changed TO SecondArm.set_rotation
ROUTE MoveLampShade.rotation_changed TO LampShade.set_rotation


#VRML V2.0 utf8
# file name: light.wrl
# a light built with a cone upside down, and a pointlight
Group
{
    children
    [
        # light built with a cone upside down
        Transform
        {
            rotation  1.0  0.0  0.0  3.14
            children
            [
                Shape
                {
                    appearance Appearance
                    {
                        material Material
                        {
                            diffuseColor 1.0  1.0  0.0
                        }
                    }
                    geometry Cone
                    {
                        bottomRadius 0.75
                        height       2.0
                    }
                }
            ]
        },
        # a pointlight on top of the cone
        Transform
        {
            translation 0.0  1.0  0.0
            children
            [
                PointLight
                {
                    location 0.0  2.0  0.0
                    color    1.0  0.4  0.2
                    intensity 0.8
                    attenuation 0.0  0.6  0.0
                    radius 10.0
                }
            ]
        }
    ]
}


#VRML V2.0 utf8
# file name: livingRoom.wrl
# A living room with a bar that has four chairs, 
# sofa, and a tea table
Group
{
    children
    [
        # a room with a floor and three walls
        Inline
        {
            url "room.wrl"
        }  
        # a bar with a counter and four chairs
        Transform
        {
            translation  -5.75  1.8  -3.0
            scale         1.0   0.75  0.5
            children 
            [
                DEF Counter Inline
                {
                   url "counter.wrl"
                }  
            ]
        },
        # a bar chair on the rear left of the bar
        Transform
        {
            translation   -7.5  2.5  -5.0
            scale         0.2  0.35  0.3
            children 
            [
                DEF Chair Inline
                {
                   url "chair.wrl"
                }  
            ]
        },
        # a bar chair on the rear right of the bar
        Transform
        {
            translation   -3.5  2.5  -5.0
            scale         0.2  0.35  0.3
            children USE Chair
        },
        # a bar chair on the front left of the bar
        Transform
        {
            translation   -7.5  2.5  -1.0
            scale         0.2  0.35  0.3
            rotation      0.0  1.0   0.0  3.14
            children 
            [
                DEF Chair Inline
                {
                   url "chair.wrl"
                }  
            ]
        },
        # a bar chair on the front right of the bar
        Transform
        {
            translation   -3.5  2.5  -1.0
            scale         0.2  0.35  0.3
            rotation      0.0  1.0   0.0  3.14
            children USE Chair
        },
        
        # a tea table
        Transform
        {
            translation   5.0  1.5  5.0
            scale         0.3  0.2  0.3
            children 
            [
                Inline
                {
                   url "table.wrl"
                }  
            ]
        },
        # a sofa in the middle of the living roon
        Transform
        {
            translation   7.0  0.5  1.0
            children 
            [
                DEF Sofa Inline
                {
                   url "sofa.wrl"
                }  
            ]
        },
        # sofa against the wall
        Transform
        {
            translation   9.0  0.5  3.0
            rotation      0.0  1.0  0.0  -1.57
            children USE Sofa
        },
    ]
}


#VRML V2.0 utf8
# file name: livingRoomVP.wrl - living room with viewpoint
# living room with viewpoint set
# adds viewpoint and a door to "livingRoom.wrl"
Group
{
    children
    [
        # sets viewpoint as forward view, initial position and orientation
        Viewpoint
        {
            description "Forward view"
            position 0.0  7.6  0.0
            orientation   0.0  1.0  0.0  3.14
        }
        # sets avator size, walk movement type, walking speed,
        # and with headlight on
        NavigationInfo
        {
            type "WALK"
            speed 1.0
            headlight TRUE
            avatarSize [ 0.5  1.6  0.5 ]
        }
        # living room with a bar which has four chairs next to it,
        # a sofa, and a tea table
        Inline { url "livingRoom.wrl" }
        # create a door at the right wall that acts as an anchor
        # to the kitchen
        Anchor 
        {
            url "kitchenVP.wrl"
            description "To the kitchen"
            children
            [
                Transform
                {
                    translation  10.25  0.0  -3.0
                    rotation     0.0  1.0  0.0  -1.57
                    children Inline { url "door.wrl" }
                }
            ]
        },
    ]
}


#VRML V2.0 utf8
# file name: myCylinder.wrl
# a transparent cylinder will acts as a cooking pot's
# body
Shape {
	appearance Appearance {
		material Material {
			diffuseColor 0.0 0.7 1.0
			transparency 0.5
		}
	}
	geometry Extrusion {
		creaseAngle 0.785
		solid       FALSE
		crossSection [
			 1.00  0.00,   0.92 -0.38,
			 0.71 -0.71,   0.38 -0.92,
			 0.00 -1.00,  -0.38 -0.92,
			-0.71 -0.71,  -0.92 -0.38,
			-1.00 -0.00,  -0.92  0.38,
			-0.71  0.71,  -0.38  0.92,
			 0.00  1.00,   0.38  0.92,
			 0.71  0.71,   0.92  0.38,
			 1.00  0.00
		]
		spine [ 0.0 -1.0 0.0,  0.0 1.0 0.0 ]
	}
}


#VRML V2.0 utf8
# file name: pot.wrl
# a blue transparent cooking pot that has a knob,
# and two side handles
Group
{
    children
    [
        # builds the pots body with a transparent cylinder
        DEF PotCylinder Inline
        {
            url "myCylinder.wrl"
        },
        # builds a top knob with a sphere
        Transform
        {
            translation 0.0  1.3  0.0
            children DEF Knob Shape
            {
                appearance Appearance
                {
                    material Material 
                    {  
                        diffuseColor 0.0  0.7  1.0 
                        transparency 0.5
                    }
                }
                geometry Sphere { radius 0.3 }
            }
        },
        # builds a left knob with a scaled sphere 
        Transform
        {
            translation -1.31  0.7  0.0
            scale        1.0   0.5  1.0
            children USE Knob
        },
        # builds a left knob with a scaled sphere 
        Transform
        {
            translation  1.31  0.7  0.0
            scale        1.0   0.5  1.0
            children USE Knob
        },
    ]
}

#VRML V2.0 utf8
# file name: refrigerator.wrl
# A white refrigerator with a handle
Group
{
    children
    [
        # refrigerator body
        DEF MyBox Shape
        {
            appearance Appearance
            {
                material Material
                {
                    diffuseColor 0.9  0.9  0.9
                }
            }
            geometry Box
            {
                size 2.0  5.0  2.0
            }
        },
        # handle
        Transform
        {
            translation  -0.7  0.6  1.05
            scale         0.1   0.1  0.15
            children USE MyBox
        },
    ]
}


#VRML V2.0 utf8
# file name: room.wrl
# A room with four brick walls, one of them has a window, a floor,
# and two wall lights
Group
{
    children
    [   
        # create a background for this world
        Background
        {
            skyColor
            [
                0.0  0.2  0.7
                0.0  0.5  1.0
                1.0  1.0  1.0
            ]
            skyAngle [ 1.309  1.571 ]
            groundColor 
            [
                0.1  0.1  0.0
                0.4  0.25  0.2
                0.6  0.6  0.6
            ]
        }
    
        # builds a white floor with a flat white box
        Shape
        {
            appearance DEF FloorApp Appearance
            {
                material Material
                {
                    diffuseColor 1.0  1.0  1.0
                }
            }
            geometry DEF FloorGeo Box
            {
                size 21.0  0.2  14.0
            }
            
        },
        # builds a ceiling with the material and shape as the floor
        # the room gets dark after I put the ceiling on :=(
        #Transform
        #{
        #    translation  0.0  7.0  0.0
        #    children
        #    {
        #        Shape
        #        {
        #            appearance USE FloorApp
        #            geometry USE FloorGeo
        #        }
        #    }
        #},
        # builds a far most wall with three parts, 
        # a brick wall with window, and two brick walls on the side
        # 1st part of the far most wall - wall with window
        Transform
        {
            translation 0.0  3.5  -7.0
            children 
            [
                Inline
                {
                   url "windowWall.wrl"
                }  
            ]
        },
        # 2st part of the far most wall - left to the wall with window
        Transform
        {
            translation -7.0  3.5  -7.0
            children 
            [
                DEF BrickWall Inline
                {
                   url "wall.wrl"
                }  
            ]
        },
        # 3st part of the far most wall - right to the wall with window
        Transform
        {
            translation 7.0  3.5  -7.0
            children USE BrickWall
        },
        # front wall that builds from three parts: front left, front center, and front right
        # 1st part of font wall - front center wall
        Transform
        {
            translation 0.0  3.5  7.0
            children USE BrickWall
        },
        # 2nd part of font wall - front right wall
        Transform
        {
            translation -7.0  3.5  7.0
            children USE BrickWall
        },
        # 3rd part of font wall - front right wall
        Transform
        {
            translation 7.0  3.5  7.0
            children USE BrickWall
        },
        # builds a left wall with 2 square brick walls
        # far left wall
        Transform
        {
            translation -10.5  3.5  -3.5
            rotation    0.0   1.0  0.0  1.57
            children USE BrickWall
        },
        # front left wall
        Transform
        {
            translation -10.5  3.5  3.5
            rotation    0.0   1.0  0.0  1.57
            children
            [ 
                USE BrickWall
                DEF Light Inline
                {
                   url "light.wrl"
                } 
            ]
         
        },
        # builds a right wall with 2 square brick walls
        # far right wall
        Transform
        {
            translation 10.5  3.5  -3.5
            rotation    0.0   1.0  0.0  1.57
            children USE BrickWall
        },
        # front right wall
        Transform
        {
            translation 10.5  3.5  3.5
            rotation    0.0   1.0  0.0  1.57
            children
            [ 
                USE BrickWall
                DEF Light Inline
                {
                   url "light.wrl"
                } 
            ]
         
        },
    ]
}


#VRML V2.0 utf8
# file name: sofa.wrl
# A green sofa built 
Group
{
    children
    [
        # sofa seat
        Shape
        {
            appearance DEF Green Appearance
            {
                material Material
                {
                    diffuseColor 0.0 1.0  0.0
                }
            }
            geometry Box
            {
                size 7.0  1.0  3.0
            }
        }
        # sofa back
        Transform
        {
            translation  0.0  0.75  -1.0
            children 
            [
                Shape 
                {
                    appearance USE Green
                    geometry Box
                    {
                        size 7.0  2.5  1.0
                    }
                }
            ]
        },
        
    ]
}


#VRML V2.0 utf8
# file name: table.wrl
# a yellow table that has a table top and four legs
Group
{
    children
    [
        # Table top
        Shape
        {
            appearance DEF Yellow Appearance
            {
                material Material
                {
                    diffuseColor 1.0  1.0  0.0
                }
            }
            geometry Box { size 9  1.0  7 }
        },
        # Left front table leg
        Transform
        {
            translation -3.5  -3.5  2.5
            children DEF TableLeg Shape
            {
                appearance USE Yellow
                geometry Cylinder
                {
                    radius 0.5
                    height 7
                }
            }
        },
        # Right front table leg
        Transform
        {
            translation 3.5  -3.5  2.5
            children USE TableLeg
        },
        # Left rear table leg
        Transform
        {
            translation -3.5  -3.5  -2.5
            children USE TableLeg
        },
        # Left rear table leg
        Transform
        {
            translation 3.5  -3.5  -2.5
            children USE TableLeg
        },
    ]
}


#VRML V2.0 utf8
# file name: wall.wrl
# Brick wall
Shape {
	appearance Appearance {
		material Material { }
		texture ImageTexture {
			url "brick.jpg"
		}
		textureTransform TextureTransform {
			scale 5.0 5.0
		}
	}
	geometry Box { size 7.0 7.0 0.5 }
}


#VRML V2.0 utf8
# file name: window.wrl
# a window built from 4 screens
Group {
	children [
	# Lower-left video screen
		Shape {
			appearance Appearance {
				# no material, use emissive texturing
				texture DEF Video ImageTexture {
					url "grand.jpg"
				}
			}
			geometry DEF Screen IndexedFaceSet {
				solid FALSE
				coord Coordinate {
					point [
						0.0 0.0 0.0,  1.0 0.0 0.0,
						1.0 1.0 0.0,  0.0 1.0 0.0,
					]
				}
				coordIndex [ 0, 1, 2, 3 ]
				texCoord TextureCoordinate {
					point [
						0.0 0.0,  0.5 0.0,
						0.5 0.5,  0.0 0.5,
					]
				}
				texCoordIndex [ 0, 1, 2, 3 ]
			}
		},
	# Lower-right video screen
		Transform {
			translation 1.1 0.0 0.0
			children Shape {
				appearance Appearance {
				# no material, use emissive texturing
					texture USE Video
					textureTransform TextureTransform {
					# Slide to lower-right quadrant
						translation 0.5 0.0
					}
				}
				geometry USE Screen
			}
		},
	# Upper-left video screen
		Transform {
			translation 0.0 1.1 0.0
			children Shape {
				appearance Appearance {
				# no material, use emissive texturing
					texture USE Video
					textureTransform TextureTransform {
					# Slide to upper-left quadrant
						translation 0.0 0.5
					}
				}
				geometry USE Screen
			}
		},
	# Upper-right video screen
		Transform {
			translation 1.1 1.1 0.0
			children Shape {
				appearance Appearance {
				# no material, use emissive texturing
					texture USE Video
					textureTransform TextureTransform {
					# Slide to upper-right quadrant
						translation 0.5 0.5
					}
				}
				geometry USE Screen
			}
		}
	]
}


#VRML V2.0 utf8
# file name: windowWall.wrl
# Brick wall with a window in the middle
Group
{
    children
    [
        # a brick wall
        Inline
        {
            url "wall.wrl"
        },
        # a white box behind the window acts 
        # a window frame
        Transform
        {
            translation 0.0  0.0  0.3
            children 
            [
                Shape 
                {
                    appearance Appearance
                    {
                        material Material
                        {
                            diffuseColor 1.0  1.0  1.0
                        }
                    }
                    geometry Box { size 2.65 2.65 0.1 }
                }  
                # window
                Transform
                {
                    translation -1.0  -1.0  0.1
                    children 
                    [
                        Inline
                        {
                            url "window.wrl"
                        }  
                    ]
                }
            ]
        },
        
    ]
}