home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Serif Graphics Collection
/
Serif_Graphics_Collection_6_DTP_Porgrams_on_One_CD_Serif-SPF.iso
/
3DPLUS
/
data1.cab
/
VRML
/
computer.wrl
< prev
next >
Wrap
Text File
|
1998-04-22
|
8KB
|
515 lines
#VRML V1.0 ascii
#This is my computer
#First a big block
Material {
shininess 0.15
diffuseColor 1.0 0.925 0.69
specularColor 0.95 0.95 0.95
}
Cube {
depth 8.0
width 3.5
height 6.0
}
#Now for the co-ordinates for the contours of the front bit
Coordinate3 {
point [
-1.75 3.0 4.0,
1.75 3.0 4.0,
1.75 -3.0 4.0,
-1.75 -3.0 4.0,
-1.75 3.0 4.5,
1.75 3.0 4.5,
1.75 -3.0 4.5,
-1.75 -3.0 4.5,
#Now for the contours
-1.5 2.8 4.5,
1.5 2.8 4.5,
1.5 0.5 4.5,
1.4 0.4 4.5,
1.25 0.25 4.5,
1.0 0.2 4.5,
0.75 0.15 4.5,
0.5 0.0 4.5,
0.25 -0.125 4.5,
0.0 -0.25 4.5,
-0.25 -0.25 4.5,
-0.75 -0.2 4.5,
-1.0 -0.15 4.5,
-1.6 0.0 4.5,
0.25 -3.0 4.5,
0.25 -0.6 4.5,
0.3 -0.5 4.5,
0.5 -0.25 4.5,
0.75 -0.125 4.5,
1.0 0.0 4.4,
1.5 0.0 4.3,
-1.6 -2.25 4.5,
-1.6 -2.15 4.3,
0.125 -2.25 4.5,
0.125 -2.15 4.3,
-1.6 -2.05 4.5,
-1.6 -1.95 4.3,
0.125 -2.05 4.5,
0.125 -1.95 4.3,
-1.6 -1.85 4.5,
-1.6 -1.75 4.3,
0.125 -1.85 4.5,
#Number 40 is next
0.125 -1.75 4.3,
-1.6 -2.15 4.5,
0.125 -2.15 4.5,
-1.6 -1.95 4.5,
0.125 -1.95 4.5,
-1.6 -1.75 4.5,
0.125 -1.75 4.5,
#Now we're up to number 47
0.5 -3.0 4.3,
0.5 -0.6 4.3,
1.5 -3.0 4.3,
1.75 -0.6 4.5,
0.25 -2.75 4.3,
1.75 -2.75 4.3,
#Ok, we're up to 53
#to think that all these points have been
#drawn on a 2cm square bit of paper
0.75 -0.5 4.3,
1.0 -0.33 4.3,
1.25 -0.25 4.3,
#Time for a break
#---------------------------
#That's better
-1.3 2.8 4.3,
1.3 2.8 4.3,
1.3 0.5 4.3,
-1.3 0.0 4.3,
-1.5 2.6 4.3,
1.5 2.6 4.3,
#Alright number 62, after this set of points
#we can do all the fun stuff
1.4 0.6 4.3,
1.25 0.45 4.3,
1.0 0.4 4.3,
0.75 0.25 4.3,
0.5 0.15 4.3,
0.25 0.06 4.3,
0.0 -0.05 4.3,
-0.25 -0.05 4.3,
-0.75 0.0 4.3,
-1.0 0.01 4.3,
]
}
IndexedFaceSet {
coordIndex [
4, 5, 1, 0, -1,
3, 7, 4, 0, -1,
2, 6, 7, 3, -1,
1, 5, 6, 2, -1,
#Now for the grill bits at the bottom
31, 32, 30, 29, -1,
32, 42, 41, 30, -1,
42, 35, 33, 41, -1,
35, 36, 34, 33, -1,
36, 44, 43, 34, -1,
44, 39, 37, 43, -1,
39, 40, 38, 37, -1,
40, 46, 45, 38, -1,
#Now for the outline contours
7, 29, 8, 4, -1,
22, 31, 29, 7, -1,
23, 46, 31, 22, -1,
21, 45, 46, 23, -1,
21, 23, 20, -1,
19, 20, 23, -1,
18, 19, 23, -1,
17, 18, 23, -1,
16, 17, 23, -1,
16, 23, 24, -1,
15, 16, 24, 25, -1,
14, 15, 25, 26, -1,
13, 14, 26, 27, -1,
12, 13, 27, 28, -1,
48, 23, 22, 47, -1,
28, 49, 6, 50, -1,
51, 22, 6, 52, -1,
#This is really getting confusing
11, 12, 28, -1,
10, 11, 28, 50, -1,
4, 8, 9, 5, -1,
5, 9, 10, 50, -1,
24, 23, 48, 53, -1,
25, 24, 23, 53, -1,
25, 24, 53, 54, -1,
26, 25, 54, 55, -1,
27, 26, 55, 28, -1,
56, 8, 21, 59, -1,
9, 57, 58, 10, -1,
9, 8, 60, 61, -1,
#Alright here's another tricky bit
10, 62, 63, 11, -1,
11, 63, 64, 12, -1,
12, 64, 65, 13, -1,
13, 65, 66, 14, -1,
14, 66, 67, 15, -1,
15, 67, 68, 16, -1,
16, 68, 69, 17, -1,
69, 18, 17, -1,
18, 69, 70, 19, -1,
19, 70, 71, 20, -1,
20, 71, 59, 21
]
}
#The backing
Translation {
translation 0.0 0.0 4.3
}
Cube {
height 5.9
width 3.4
depth 0.01
}
Separator {
Translation {
translation -0.8 -0.75 0.2
}
Material {
diffuseColor 0.0 0.0 0.0
shininess 0.0
}
Cube {
width 0.75
height 0.4
depth 0.01
}
Separator {
Translation {
translation -0.375 0.0 0.0
}
Rotation {
rotation 1.0 0.0 0.0 1.571
}
DEF endbit Cylinder {
height 0.01
radius 0.1925
}
Translation {
translation 0.75 0.0 0.0
}
USE endbit
Rotation {
rotation 1.0 0.0 0.0 -1.571
}
Material {
diffuseColor 1.0 0.518 0.04
transparency 0.4
emissiveColor 1.0 0.518 0.04
}
DEF light Sphere {
radius 0.03
}
Translation {
translation 0.0 0.12 0.0
}
Material {
diffuseColor 0.45 1.0 0.35
transparency 0.4
emissiveColor 0.694 1.0 0.392
}
USE light
Translation {
translation 0.0 -0.24 0.0
}
Material {
diffuseColor 1.0 0.0 0.0
transparency 0.4
emissiveColor 1.0 0.0 0.0
}
USE light
Translation {
translation -0.25 0.2 0.01
}
Material {
diffuseColor 1.0 1.0 1.0
transparency 0.0
}
FontStyle {
family SANS
size 0.05
}
AsciiText {
string [ "POWER",
"TURBO",
"H. D. D."
]
spacing 1.5
}
Translation {
translation -0.4 -0.175 0.0
}
Material {
diffuseColor 0.0 1.0 0.0
emissiveColor 0.0 1.0 0.0
}
FontStyle {
family SANS
size 0.2
style ITALIC
}
AsciiText {
string "H I"
}
}
Switch {
whichChild -1
Material {
diffuseColor 0.0 0.0 0.0
shininess 0.8
specularColor 1.0 1.0 1.0
transparency 2.0
}
Translation {
translation 0.0 0.0 0.04
}
Cube {
width 0.75
height 0.4
depth 0.001
}
Translation {
translation -0.375 0.0 0.0
}
Rotation {
rotation 1.0 0.0 0.0 1.571
}
DEF enbit Cylinder {
height 0.001
radius 0.1925
}
Translation {
translation 0.75 0.0 0.0
}
USE enbit
Rotation {
rotation 1.0 0.0 0.0 -1.571
}
}
}
#Now for the buttons on the right
Separator {
Material {
shininess 0.15
diffuseColor 1.0 0.925 0.69
specularColor 0.95 0.95 0.95
}
Translation {
translation 0.8 -1.0 0.0
}
Scale {
scaleFactor 1.0 1.0 0.25
}
Sphere {
radius 0.15
}
Translation {
translation 0.0 -0.5 0.0
}
Sphere {
radius 0.12
}
Translation {
translation 0.0 -0.5 0.0
}
Sphere {
radius 0.12
}
Translation {
translation 0.0 -0.55 0.0
}
Material {
shininess 1.0
specularColor 1.0 1.0 1.0
diffuseColor 0.75 0.75 0.75
}
Rotation {
rotation 1.0 0.0 0.0 1.571
}
Cylinder {
height 0.05
radius 0.13
}
Rotation {
rotation 1.0 0.0 0.0 -1.571
}
Scale {
scaleFactor 1.0 1.0 4.0
}
Translation {
translation 0.28 1.55 0.05
}
Material {
shininess 0.0
specularColor 0.0 0.0 0.0
diffuseColor 0.0 0.0 0.0
}
FontStyle {
size 0.07
style BOLD
}
AsciiText {
justification LEFT
string "POWER"
width 7.0
}
Translation {
translation 0.0 -0.5 0.0
}
AsciiText {
string "TURBO"
}
Translation {
translation 0.0 -0.5 0.0
}
AsciiText {
string "RESET"
}
}
#The drives and slots
Separator {
#A few points for the outlining
Switch {
whichChild -1
Coordinate3 {
point [
-1.31 1.05 0.05,
-1.31 0.56 0.05,
0.21 0.56 0.05,
0.21 1.05 0.05,
-1.31 0.05 0.05,
0.21 0.05 0.05,
-1.3 2.57 0.05,
-1.3 1.80 0.05,
1.3 1.80 0.05,
1.3 2.57 0.05,
-1.3 1.05 0.05,
1.3 1.05 0.05,
-1.26 2.5 0.1,
-1.26 2.1 0.1,
1.26 2.1 0.1,
1.26 2.5 0.1,
0.95 1.975 0.1,
0.95 1.825 0.1,
1.25 1.825 0.1,
1.25 1.975 0.1
]
}
Material {
diffuseColor 0.0 0.0 0.0
shininess 0.0
}
IndexedLineSet {
coordIndex [
0, 1, 2, 3, 0, -1,
1, 4, 5, 2, 1, -1,
6, 7, 8, 9, 6, -1,
7, 10, 11, 8, 7, -1,
12, 13, 14, 15, 12, -1,
16, 17, 18, 19, 16
]
}
}
Material {
shininess 0.15
diffuseColor 1.0 0.925 0.69
specularColor 0.95 0.95 0.95
}
Translation {
translation -0.55 0.8 0.0
}
DEF block Cube {
depth 0.1
height 0.5
width 1.5
}
Translation {
translation 0.0 -0.51 0.0
}
USE block
Translation {
translation 0.55 1.89 0.0
}
DEF blockii Cube {
depth 0.1
width 2.6
height 0.74
}
Separator {
#These are the details on the CD player
Translation {
translation 0.0 0.1 0.0
}
Cube {
depth 0.15
width 2.5
height 0.4
}
Translation {
translation 1.1 -0.375 0.0
}
Cube {
depth 0.2
width 0.3
height 0.15
}
}
Translation {
translation 0.0 -0.76 0.0
}
USE blockii
#Now to fill in the gaps
Translation {
translation 0.7525 -0.9 0.0
}
Cube {
width 1.05
depth 0.1
height 1.0
}
Translation {
translation -1.3025 -0.76 0.0
}
USE block
Translation {
translation 1.3025 0.9 0.0
}
Material {
diffuseColor 1.0 1.0 1.0
}
Cube {
width 0.5
height 0.5
depth 0.15
}
Material {
diffuseColor 1.0 0.0 0.0
shininess 0.0
}
FontStyle {
family SERIF
style (BOLD|ITALIC)
size 0.07
}
Translation {
translation 0.0 0.0 0.1
}
AsciiText {
string "VRMLibrary"
justification CENTER
}
}