home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2003 April
/
Chip_2003-04_cd1.bin
/
sharewar
/
room
/
rooarr3d.exe
/
library.wrl
/
library
Wrap
Text File
|
2003-02-17
|
27KB
|
1,397 lines
#VRML V2.0 utf8
PROTO Rectangle [field SFColor color 0 0 0]
{
Transform {
translation .5 .5 .5
children
Shape {
appearance Appearance {
material Material {
diffuseColor IS color
}
}
geometry Box {
size 1 1 1
}
}
}
}
PROTO Ellipse [field SFColor color 0 0 0]
{
Transform {
translation .5 .5 .5
children
Shape {
appearance Appearance {
material Material {
diffuseColor IS color
}
}
geometry Cylinder {
radius .5
height 1
}
}
}
}
PROTO Circle [field SFColor color 0 0 0]
{
Ellipse {color IS color}
}
PROTO Triangle [field SFColor color 0 0 0]
{
Shape {
appearance Appearance {
material Material {
diffuseColor IS color
}
}
geometry Extrusion {
crossSection [ 0 0, 0 1, 1 0, 0 0]
}
}
}
PROTO Hexagon [field SFColor color 0 0 0]
{
Shape {
appearance Appearance {
material Material {
diffuseColor IS color
}
}
geometry Extrusion {
crossSection [ 0 .5, .25 .0625, .75 .0625, 1 .5,
.75 .9375, .25 .9375, 0 .5]
ccw FALSE
}
}
}
PROTO Door [field SFColor color 0 0 0]
{
Group { children [
]}
}
PROTO Window [field SFColor color 0 0 0]
{
Transform {
translation .5 .5 .5
children Shape {
appearance Appearance { material Material {
diffuseColor IS color
transparency .7
}
}
geometry Box {size 1 1 .2}
}
}
}
PROTO Wall [field SFColor color 0 0 0 field SFFloat transparency 0]
{
Transform {
translation .5 .5 .5
children Shape {
appearance Appearance { material Material {
diffuseColor IS color
emissiveColor .1 .1 .1
transparency IS transparency
}
}
geometry Box {size 1 1 1}
}
}
}
#cabinet (tech)
PROTO LibraryObject53 [field SFColor color 0 0 0]
{
Group { children [
Rectangle {color IS color}
# handles
Transform {
translation .1 .5 1
scale .05 .02 .02
children Rectangle {}
}
]}
}
#cabinet 2 (tech)
PROTO LibraryObject20 [field SFColor color 0 0 0]
{
Group { children [
Rectangle {color IS color}
# handles
Transform {
translation .44 .5 1
scale .03 .02 .02
children Rectangle {}
}
Transform {
translation .54 .5 1
scale .03 .02 .02
children Rectangle {}
}
Shape {
appearance Appearance { material Material {diffuseColor 0 0 0}}
geometry
IndexedLineSet {
coord Coordinate {
point [.5 1 1.01, .5 0 1.01]
}
coordIndex [0 1 -1]
}
}
]}
}
#cabinet
PROTO LibraryObject21 [field SFColor color 0 0 0]
{
LibraryObject53 {color IS color}
}
#cabinet 2
PROTO LibraryObject22 [field SFColor color 0 0 0]
{
LibraryObject20 {color IS color}
}
#chest of drawers
PROTO LibraryObject67 [field SFColor color 0 0 0]
{
Group { children [
Rectangle {color IS color}
# three drawers
Shape {
appearance Appearance { material Material {diffuseColor 0 0 0}}
geometry
IndexedLineSet {
coord Coordinate {
point [.06 .1 1.01, .94 .1 1.01, .94 .3 1.01, .06 .3 1.01,
.06 .4 1.01, .94 .4 1.01, .94 .6 1.01, .06 .6 1.01,
.06 .7 1.01, .94 .7 1.01, .94 .9 1.01, .06 .9 1.01, ]
}
coordIndex [0 1 2 3 0 -1, 4 5 6 7 4 -1, 8 9 10 11 8 -1]
}
}
]}
}
#sigle bed
PROTO LibraryObject23 [field SFColor color 0 0 0]
{
Rectangle { color IS color }
}
#double bed
PROTO LibraryObject24 [field SFColor color 0 0 0]
{
Rectangle { color IS color }
}
#umbrella
PROTO LibraryObject25 [field SFColor color 0 0 0]
{
Group { children [
Transform { #stand
translation .47 0 .47
scale .06 .98 .06
children Ellipse { color IS color }
}
Transform {# top
translation .5 0 .5
rotation 1 0 0 -1.57
scale .5 .5 1
children
Shape {
appearance Appearance { material Material { diffuseColor IS color }}
geometry Extrusion {
crossSection [0 1, 1 .7]
spine [0 0 0, 0 0 0, 0 0 0,
0 0 0, 0 0 0, 0 0 0,
0 0 0, 0 0 0, 0 0 0]
orientation [0 0 1 0, 0 0 1 .78, 0 0 1 1.57,
0 0 1 2.35, 0 0 1 3.14, 0 0 1 -2.35,
0 0 1 -1.57, 0 0 1 -.78, 0 0 1 0]
solid FALSE
beginCap FALSE
endCap FALSE
}
}
}
]}
}
#lamp
PROTO LibraryObject26 [field SFColor color 0 0 0]
{
Group { children [
Transform { #stand
scale .07 .95 .07
translation .47 0 .47
children Ellipse { color IS color }
}
Transform { #stand
scale 1 .4 1
translation 0 .6 0
children Ellipse { color IS color }
}
]}
}
#waste basket
PROTO LibraryObject27 [field SFColor color 0 0 0]
{
Transform {
translation .5 0 .5
rotation 1 0 0 -1.57
scale .5 .5 1
children
Shape {
appearance Appearance { material Material { diffuseColor IS color }}
geometry Extrusion {
crossSection [0 0, .7 0, 0 .01, .8 .001, 1 1]
spine [0 0 0, 0 0 0, 0 0 0,
0 0 0, 0 0 0, 0 0 0,
0 0 0, 0 0 0, 0 0 0]
orientation [0 0 1 0, 0 0 1 .78, 0 0 1 1.57,
0 0 1 2.35, 0 0 1 3.14, 0 0 1 -2.35,
0 0 1 -1.57, 0 0 1 -.78, 0 0 1 0]
solid FALSE
beginCap FALSE
endCap FALSE
creaseAngle .78
}
}
}
}
#chair
PROTO LibraryObject28 [field SFColor color 0 0 0]
{
Group { children [
Transform { #left arm
scale .13 .7 1
children Rectangle {color IS color }
}
Transform { #right arm
translation .87 0 0
scale .13 .7 1
children Rectangle {color IS color }
}
Transform { #base
translation .05 0 0
scale .9 .5 1
children Rectangle {color IS color }
}
Transform { #back
translation .13 0 0
scale .74 1 .2
children Rectangle {color IS color }
}
]}
}
#sofa 2
PROTO LibraryObject29 [field SFColor color 0 0 0]
{
LibraryObject28 {color IS color }
}
#sofa 3
PROTO LibraryObject30 [field SFColor color 0 0 0]
{
LibraryObject28 {color IS color }
}
#couch
PROTO LibraryObject31 [field SFColor color 0 0 0]
{
Group { children [
Transform { #base
scale 1 .5 1
children Rectangle {color IS color }
}
Transform { #back
scale 1 1 .2
children Rectangle {color IS color }
}
]}
}
#chair 2
PROTO LibraryObject32 [field SFColor color 0 0 0]
{
Group { children [
DEF NOHA Transform {
scale .1 .5 .1
children Rectangle {color IS color }
}
Transform {
translation .9 0 0
children USE NOHA
}
Transform {
translation .9 0 .9
children USE NOHA
}
Transform {
translation 0 0 .9
children USE NOHA
}
Transform { #base
translation 0 .44 0
scale 1 .07 1
children Rectangle {color IS color }
}
Transform { #back
translation 0 .5 0
scale 1 .5 .1
children Rectangle {color IS color }
}
]}
}
#chair 3
PROTO LibraryObject81 [field SFColor color 0 0 0]
{
Group { children [
Transform {
translation .15 0 .15
scale .1 1 .1
children Rectangle {color IS color }
}
Transform {
translation .75 0 .15
scale .1 1 .1
children Rectangle {color IS color }
}
Transform {
translation .75 0 .75
scale .1 .5 .1
children Rectangle {color IS color }
}
Transform {
translation .15 0 .75
scale .1 .5 .1
children Rectangle {color IS color }
}
Transform { #base
translation 0 .44 0
scale 1 .07 1
children Ellipse {color IS color }
}
Transform { #back
translation .1 .7 .15
scale .8 .3 .1
children Rectangle {color IS color }
}
]}
}
#bar stool
PROTO LibraryObject33 [field SFColor color 0 0 0]
{
Group { children [
Transform {
translation .15 0 .15
scale .1 1 .1
children Rectangle {color IS color }
}
Transform {
translation .75 0 .15
scale .1 1 .1
children Rectangle {color IS color }
}
Transform {
translation .75 0 .75
scale .1 1 .1
children Rectangle {color IS color }
}
Transform {
translation .15 0 .75
scale .1 1 .1
children Rectangle {color IS color }
}
Transform { #base
translation 0 .9 0
scale 1 .1 1
children Ellipse {color IS color }
}
]}
}
#office chair
PROTO LibraryObject34 [field SFColor color 0 0 0]
{
Group { children [
Transform { #stand
rotation 0 1 0 -.78
scale 1.4 .08 .05
children Rectangle {color IS color }
}
Transform {
translation 0 0 1
rotation 0 1 0 .78
scale 1.4 .08 .05
children Rectangle {color IS color }
}
Transform {
translation .45 0 .45
scale .1 .4 .1
children Ellipse {color IS color }
}
Transform { #base
translation 0 .4 0
scale 1 .05 1
children Rectangle {color IS color }
}
Transform { #back
translation .45 .4 0
scale .1 .3 .07
children Rectangle {color IS color }
}
Transform { #back
translation 0 .6 0
scale 1 .4 .1
children Rectangle {color IS color }
}
]}
}
#office chair 2
PROTO LibraryObject35 [field SFColor color 0 0 0]
{
Group { children [
LibraryObject34 { color IS color }
Transform { #left arm
translation 0 .65 .15
scale .07 .04 .6
children Rectangle {color IS color }
}
Transform { #left arm
translation .01 .45 .15
scale .05 .2 .05
children Rectangle {color IS color }
}
Transform { #right arm
translation .93 .65 .15
scale .07 .04 .6
children Rectangle {color IS color }
}
Transform { #right arm
translation .94 .45 .15
scale .05 .2 .05
children Rectangle {color IS color }
}
]}
}
#square table
PROTO LibraryObject36 [field SFColor color 0 0 0]
{
Group { children [
DEF NOHA Transform {
scale .07 .9 .07
children Rectangle {color IS color }
}
Transform {
translation .93 0 0
children USE NOHA
}
Transform {
translation .93 0 .93
children USE NOHA
}
Transform {
translation 0 0 .93
children USE NOHA
}
Transform { #desk
translation 0 .9 0
scale 1 .1 1
children Rectangle {color IS color }
}
]}
}
#round table
PROTO LibraryObject76 [field SFColor color 0 0 0]
{
Group { children [
Transform {
translation .15 0 .15
children
DEF NOHA Transform {
scale .07 .9 .07
children Rectangle {color IS color }
}
}
Transform {
translation .78 0 .15
children USE NOHA
}
Transform {
translation .78 0 .78
children USE NOHA
}
Transform {
translation .15 0 .78
children USE NOHA
}
Transform { #desk
translation 0 .9 0
scale 1 .1 1
children Ellipse {color IS color }
}
]}
}
#rectangular table
PROTO LibraryObject37 [field SFColor color 0 0 0]
{
LibraryObject36 {color IS color }
}
#elliptical table
PROTO LibraryObject38 [field SFColor color 0 0 0]
{
LibraryObject76 {color IS color }
}
#table end 1
PROTO LibraryObject39 [field SFColor color 0 0 0]
{
Transform {
# translation 0 .9 0
# scale 1 .1 1
children
Shape {
appearance Appearance { material Material { diffuseColor IS color }}
geometry Extrusion {
crossSection [0 0, .3 .7, 1 1, 1 0, 0 0]
}
}
}
}
#table end 2
PROTO LibraryObject40 [field SFColor color 0 0 0]
{
Transform {
# translation 0 .9 0
# scale 1 .1 .5
children
Shape {
appearance Appearance { material Material { diffuseColor IS color }}
geometry Extrusion {
crossSection [1 0, .3 .3, 0 1, .3 1.7, 1 2, 1 0]
}
}
}
}
#work surface 1
PROTO LibraryObject41 [field SFColor color 0 0 0]
{
Transform {
# translation 0 .9 0
# scale 1 .1 1
children
Shape {
appearance Appearance { material Material { diffuseColor IS color }}
geometry Extrusion {
crossSection [0 0, 1 0, 1 .56, .56 .56, .56 1, 0 1, 0 0]
ccw FALSE
convex FALSE
}
}
}
}
#work surface 2
PROTO LibraryObject42 [field SFColor color 0 0 0]
{
Transform {
# translation 0 .9 0
# scale 1 .1 1
children
Shape {
appearance Appearance { material Material { diffuseColor IS color }}
geometry Extrusion {
crossSection [0 0, 1 0, 1 .56, .75 .56, .56 .75, .56 1, 0 1, 0 0]
ccw FALSE
convex FALSE
}
}
}
}
#ping pong
PROTO LibraryObject43 [field SFColor color 0 0 0]
{
Group { children [
Transform {
translation .15 0 .05
children DEF NOHA Transform {
scale .02 .97 .04
children Ellipse {color .7 .7 .7}
}
}
Transform {
translation .85 0 .05
children USE NOHA
}
Transform {
translation .85 0 .9
children USE NOHA
}
Transform {
translation .15 0 .9
children USE NOHA
}
Transform { #desk
translation 0 .97 0
scale 1 .03 1
children Rectangle {color IS color }
}
Shape {
appearance Appearance { material Material { emissiveColor .9 .9 .9}}
geometry IndexedFaceSet {
coord Coordinate { point [0 1.01 0, 1 1.01 0, 1 1.01 1, 0 1.01 1, #outer: 0-3
.005 1.01 .01, .995 1.01 .01, .995 1.01 .99, .005 1.01 .99 #inner: 4-7
.495 1.01 0, .505 1.01 0, .505 1.01 1, .495 1.01 1, # half: 8-11
0 1.01 .49, 0 1.01 .51, 1 1.01 .51, 1 1.01 .49 ]# half: 12-15
}
coordIndex [11 10 9 8 -1, 4 5 1 0 -1 , 6 7 3 2 -1 #half, back and front lines
0 3 7 4 -1, 5 6 2 1 -1, 12 13 14 15 -1 ] # left and right line and the last half
}
}
Transform { #net
translation .502 1 0
rotation 0 1 0 -1.57
scale 1 .2 .005
children Wall {transparency .3} # black with transparency
}
Transform { # net top
translation .5 1.21 .5
children Shape {
appearance Appearance { material Material { emissiveColor .9 .9 .9}}
geometry Box {size .005 .015 1 }
}
}
]}
}
#folding table
PROTO LibraryObject44 [field SFColor color 0 0 0]
{
LibraryObject76 {color IS color }
}
#pool table
PROTO LibraryObject45 [field SFColor color 0 0 0]
{
Group { children [
DEF NOHA Transform {
scale .07 .9 .07
children Rectangle {} #black
}
Transform {
translation .93 0 0
children USE NOHA
}
Transform {
translation .93 0 .93
children USE NOHA
}
Transform {
translation 0 0 .93
children USE NOHA
}
Transform { #black sides
translation 0 .7 0
scale 1 .3 .1
children Rectangle {}
}
Transform {
translation 0 .7 .9
scale 1 .3 .1
children Rectangle {}
}
Transform {
translation 0 .7 0
scale .1 .3 1
children Rectangle {}
}
Transform {
translation .9 .7 0
scale .1 .3 1
children Rectangle {}
}
Transform { #desk
translation .05 .8 .05
scale .9 .15 .9
children Rectangle {color IS color }
}
]}
}
#bath tub
PROTO LibraryObject46 [field SFColor color 0 0 0]
{
Group { children [
Transform { #base
translation .05 0 .05
scale .9 .15 .9
children Rectangle {color IS color }
}
Transform { #sides
scale 1 1 .1
children Rectangle {color IS color }
}
Transform {
scale .1 1 1
children Rectangle {color IS color }
}
Transform {
translation .9 0 0
scale .1 1 1
children Rectangle {color IS color }
}
Transform {
translation 0 0 .9
scale 1 1 .1
children Rectangle {color IS color }
}
]}
}
#corner bath
PROTO LibraryObject80 [field SFColor color 0 0 0]
{
Group { children [
Transform {
rotation 1 0 0 -1.57
children
Shape {
appearance Appearance { material Material { diffuseColor IS color }}
geometry Extrusion {
crossSection [0 0, 1 0, 1 1, .9 1, .9 .1, 0 .1, 0 0]
spine [0 0 0, 0 0 0, 0 0 0]
orientation [0 0 1 -1.57, 0 0 1 -.78, 0 0 1 0]
solid FALSE
beginCap FALSE
endCap FALSE
creaseAngle .78
#convex FALSE
}
}
}
Transform { #sides
scale .97 1 .1
children Rectangle {color IS color }
}
Transform {
scale .1 1 .97
children Rectangle {color IS color }
}
]}
}
#shower
PROTO LibraryObject47 [field SFColor color 0 0 0]
{
LibraryObject46 {color IS color }
}
#corner shower
PROTO LibraryObject48 [field SFColor color 0 0 0]
{
LibraryObject80 {color IS color }
}
#wall sink
PROTO LibraryObject49 [field SFColor color 0 0 0]
{
LibraryObject46 {color IS color }
}
#bidet
PROTO LibraryObject51 [field SFColor color 0 0 0]
{
Transform {
translation .5 0 .5
scale .5 1 .5
children
Shape {
appearance Appearance { material Material { diffuseColor IS color }}
geometry Extrusion {
crossSection [1 0.2, .7 .7, 0.2 1, -.7 .7, -1 0.2, -.4 -1, .4 -1, 1 0.2]
scale [.7 .7, 1 1]
ccw FALSE
}
}
}
}
#toilet
PROTO LibraryObject50 [field SFColor color 0 0 0]
{
Group { children [
Transform { #base
scale 1 .6 1
children LibraryObject51 {color IS color}
}
Transform { #back
translation .1 .3 0
scale .8 .7 .2
children Rectangle {color IS color }
}
]}
}
#radiator
PROTO LibraryObject52 [field SFColor color 0 0 0]
{
Rectangle {color IS color }
}
#oven
PROTO LibraryObject54 [field SFColor color 0 0 0]
{
Group { children [
Rectangle {color IS color }
Transform {
translation .2 1 .2
scale .2 .03 .2
children Ellipse {}
}
Transform {
translation .2 1 .6
scale .2 .03 .2
children Ellipse {}
}
Transform {
translation .6 1 .2
scale .2 .03 .2
children Ellipse {}
}
Transform {
translation .6 1 .6
scale .2 .03 .2
children Ellipse {}
}
Transform {
translation .2 .3 1
scale .6 .4 .05
children Rectangle {}
}
]}
}
#refrigerator
PROTO LibraryObject55 [field SFColor color 0 0 0]
{
Group { children [
Rectangle {color IS color }
Transform { #handle
translation .03 .6 1
scale .06 .2 .05
children Rectangle {color IS color }
}
]}
}
#dish washer
PROTO LibraryObject56 [field SFColor color 0 0 0]
{
Group { children [
Rectangle {color IS color }
Transform {
translation .8 .95 1
rotation 1 0 0 1.57
scale .1 .02 .08
children Ellipse {color IS color }
}
Transform {
translation .65 .95 1
rotation 1 0 0 1.57
scale .1 .02 .08
children Ellipse {color IS color }
}
]}
}
#washing machine
PROTO LibraryObject57 [field SFColor color 0 0 0]
{
Group { children [
LibraryObject56 {color IS color }
Transform {
translation .25 .7 1
rotation 1 0 0 1.57
scale .5 .05 .4
children Ellipse {}
}
]}
}
#sink
PROTO LibraryObject58 [field SFColor color 0 0 0]
{
Group { children [
Transform {
translation .6 0 0
scale .4 1 1
children Rectangle {color IS color }
}
Transform {
scale .6 1 1
children LibraryObject46 {color IS color }
}
]}
}
#double sink
PROTO LibraryObject59 [field SFColor color 0 0 0]
{
Group { children [
Transform {
translation .7 0 0
scale .3 1 1
children Rectangle {color IS color }
}
Transform {
translation .35 0 0
scale .35 1 1
children LibraryObject46 {color IS color }
}
Transform {
scale .35 1 1
children LibraryObject46 {color IS color }
}
]}
}
#TV/Monitor
PROTO LibraryObject60 [field SFColor color 0 0 0]
{
Group { children [
Transform { #screen
translation 0 0 .5
scale 1 1 .44
children Rectangle {color IS color }
}
Transform {
translation .1 .25 .9
scale .8 .6 .1
children Rectangle {}
}
Shape {#back
appearance Appearance { material Material { diffuseColor IS color }}
geometry Extrusion {
crossSection [.25 0, 0 .5, 1 .5, .75 0, .25 0]
}
}
]}
}
#keyboard
PROTO LibraryObject61 [field SFColor color 0 0 0]
{
Rectangle {color IS color }
}
#computer case
PROTO LibraryObject62 [field SFColor color 0 0 0]
{
Rectangle {color IS color }
}
#printer
PROTO LibraryObject63 [field SFColor color 0 0 0]
{
Group { children [
Transform {#body
scale 1 1 .6
children Rectangle {color IS color }
}
Transform {#paper tray
translation .1 0 0
scale .65 .2 1
children Rectangle {color IS color }
}
Transform {
translation .1 0 .3
scale .05 .6 .7
children Rectangle {color IS color }
}
Transform {
translation .7 0 .3
scale .05 .6 .7
children Rectangle {color IS color }
}
]}
}
#phone
PROTO LibraryObject64 [field SFColor color 0 0 0]
{
Group { children [
Transform {#body
scale 1 .6 1
children Rectangle {color IS color }
}
Transform {
translation .1 0 .1
scale .3 1 .8
children Rectangle {color IS color }
}
]}
}
#stairs
PROTO LibraryObject65 [field SFColor color 0 0 0]
{
Group { children [
Transform {#10 steps
scale .1 .1 1
children Rectangle {color IS color }
}
Transform {
translation .1 0 0
scale .1 .2 1
children Rectangle {color IS color }
}
Transform {
translation .2 0 0
scale .1 .3 1
children Rectangle {color IS color }
}
Transform {
translation .3 0 0
scale .1 .4 1
children Rectangle {color IS color }
}
Transform {
translation .4 0 0
scale .1 .5 1
children Rectangle {color IS color }
}
Transform {
translation .5 0 0
scale .1 .6 1
children Rectangle {color IS color }
}
Transform {
translation .6 0 0
scale .1 .7 1
children Rectangle {color IS color }
}
Transform {
translation .7 0 0
scale .1 .8 1
children Rectangle {color IS color }
}
Transform {
translation .8 0 0
scale .1 .9 1
children Rectangle {color IS color }
}
Transform {
translation .9 0 0
scale .1 1 1
children Rectangle {color IS color }
}
]}
}
#copier
PROTO LibraryObject66 [field SFColor color 0 0 0]
{
Group { children [
Transform {#body
translation 0 .4 .1
scale 1 .15 .65
children Rectangle {color IS color }
}
Transform { #trays
translation .15 0 0
scale .6 1 1
children Rectangle {color IS color }
}
]}
}
#plant
PROTO LibraryObject68 [field SFColor color 0 0 0]
{
Transform {
translation .5 0 .5
children [
Transform {
scale .7 1 .5
children
DEF LEAF Shape {
appearance Appearance { material Material {diffuseColor IS color }}
geometry IndexedFaceSet {
coord Coordinate { point [-.07 0 .05, .07 0 .05, .15 .4 .15, 0 1 .5, -.15 .4 .15]}
coordIndex [0 1 2 3 4 0 -1]
solid FALSE
}
}
}
Transform {#down
rotation 0 1 0 -1
scale 1 .6 1
children USE LEAF
}
Transform {
rotation 0 1 0 1
scale 1 .7 1
children USE LEAF
}
Transform {
rotation 0 1 0 3
scale 1 .5 1
children USE LEAF
}
Transform {
rotation 0 1 0 1.8
scale .7 1 .6
children USE LEAF
}
Transform {
rotation 0 1 0 -1.8
scale .7 .9 .6
children USE LEAF
}
Transform {
rotation 0 1 0 -.8
scale .7 .8 .2
children USE LEAF
}
Transform {
rotation 0 1 0 2.5
scale .7 .8 .6
children USE LEAF
}
]
}
}
#tree
PROTO LibraryObject69 [field SFColor color 0 0 0]
{
Group { children [
Transform {
translation .5 .6 .5
scale 1 .8 1
children Shape {
appearance Appearance { material Material {diffuseColor IS color }}
geometry Sphere {radius .5}
}
}
Transform {
translation .4 0 .4
scale .2 .8 .2
children Ellipse {color .5 0 0}
}
]}
}
#car
PROTO LibraryObject70 [field SFColor color 0 0 0]
{
Transform {
translation 0 0 1
rotation 1 0 0 -1.57
children Shape {
appearance Appearance { material Material { diffuseColor IS color }}
geometry Extrusion {
crossSection [0 .1, .14 .1, .17 0, .25 0, .28 .1, .69 .1, .72 0, .8 0, .83 .1, # bottom
1 .1, .99 .36, .7 .6, .56 1, .33 1, # front and roof
.068 .65, .06 .9, 0 .9, 0 .1]
ccw FALSE
convex FALSE
}
}
}
}
#truck
PROTO LibraryObject71 [field SFColor color 0 0 0]
{
Group { children [
Transform {#body
scale .7 1 1
children Rectangle {color IS color }
}
Transform {#cabin
translation .6 0 .15
scale .4 .8 .7
children Rectangle {color IS color }
}
]}
}
#tank
PROTO LibraryObject72 [field SFColor color 0 0 0]
{
Group { children [
Transform {#body
scale .8 .6 1
children Rectangle {color IS color }
}
Transform {#cabin
translation .16 .51 .1
scale .45 .4 .8
children Rectangle {color IS color }
}
Transform {
translation .6 .6 .4
scale .07 .25 .2
children Rectangle {color IS color }
}
Transform {#cannon
translation .6 .75 .48
rotation 0 0 1 -1.57
scale .05 .4 .05
children Ellipse {color IS color }
}
]}
}
#spitfire
PROTO LibraryObject73 [field SFColor color 0 0 0]
{
Group { children [
Transform {#wing
translation .5 .3 0
scale .25 .06 1
children Rectangle {color IS color }
}
Transform {#body
translation 0 .26 .4
scale 1 .4 .2
children Rectangle {color IS color }
}
Transform {#rudder
translation 0 .26 .45
scale .15 .74 .1
children Rectangle {color IS color }
}
Transform {#cabin
translation .5 .26 .42
scale .2 .6 .16
children Rectangle {color IS color }
}
]}
}
#coat rack
PROTO LibraryObject74 [field SFColor color 0 0 0]
{
Transform {
translation .5 0 .5
children [
Transform {
translation -.04 .2 -.04
scale .08 .6 .08
children Ellipse {color IS color}
}
DEF S4 Group { children [
DEF STAND Transform {
translation -.02 .2 .03
rotation 1 0 0 -2.5
scale .05 .3 .05
children Ellipse {color IS color}
}
Transform {
rotation 0 1 0 1.57
children USE STAND
}
Transform {
rotation 0 1 0 -1.57
children USE STAND
}
Transform {
rotation 0 1 0 3.14
children USE STAND
}
]}
Transform {
rotation 1 0 0 3.1415
center 0 .55 0
scale 1.2 .7 1.2
children USE S4
}
]
}
}
#hor.piano
PROTO LibraryObject75 [field SFColor color 0 0 0]
{
Group { children [
Transform {#body
scale 1 1 .6
children Rectangle {color IS color }
}
Transform {#cabin
translation 0 .3 .6
scale 1 .2 .4
children Rectangle {color IS color }
}
]}
}
#grand piano
PROTO LibraryObject77 [field SFColor color 0 0 0]
{
Group { children [
Shape {#body
appearance Appearance { material Material { diffuseColor IS color }}
geometry Extrusion {
crossSection [0 .9, 1 .9, 1 .6, .6 .4, .4 0, 0 0, 0 .9]
spine [0 .5 0, 0 1 0]
convex FALSE
}
}
Transform {#keys
translation 0 .5 .9
scale 1 .15 .1
children Rectangle {color IS color }
}
Transform {
translation .2 0 .2
children DEF NOHA Transform {
scale .07 .9 .07
children Rectangle { color IS color }
}
}
Transform {
translation .9 0 .8
children USE NOHA
}
Transform {
translation .05 0 .8
children USE NOHA
}
# Transform {#pedals
# translation .4 0 .75
# scale .2 .9 .05
# children Rectangle {color IS color }
# }
]}
}
#bedside table
PROTO LibraryObject78 [field SFColor color 0 0 0]
{
LibraryObject37 {color IS color }
}
#library
PROTO LibraryObject79 [field SFColor color 0 0 0]
{
Group { children [
Transform {#back
scale 1 1 .1
children Rectangle {color IS color }
}
Transform {#left
scale .05 1 1
children Rectangle {color IS color }
}
Transform {#right
translation .95 0 0
scale .05 1 1
children Rectangle {color IS color }
}
DEF SHELL Transform {#shells
translation .05 0 0
scale .9 .02 1
children Rectangle {color IS color }
}
Transform {
translation 0 .25 0
children USE SHELL
}
Transform {
translation 0 .5 0
children USE SHELL
}
Transform {
translation 0 .75 0
children USE SHELL
}
Transform {
translation 0 .98 0
children USE SHELL
}
]}
}
PROTO LibraryObject99 [field SFColor color 0 0 0]
{
}