home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Boot Disc 11
/
boot-disc-1997-07.iso
/
SpceBldr
/
data.z
/
Clock.vcd
< prev
next >
Wrap
Text File
|
1996-12-03
|
15KB
|
564 lines
#VRML V2.0 utf8 (Created By ISB 2.01)
# This file was created with Internet3D Space Builder 1.0 Beta2.
# According to License Agreement, you may not remove or modify this notice.
# Last corrections: [Mon Dec 02 17:14:55 1996]
PROTO ISBPicture [
exposedField SFVec3f translation 0 0 0
exposedField SFRotation rotation 0 0 1 0
exposedField SFRotation scaleOrientation 0 0 1 0
exposedField SFVec3f scale 1 1 1
exposedField MFNode frames []
exposedField SFBool soundEnabled FALSE
field MFString urlSound []
field SFInt32 frameCount 0
field SFInt32 playOrder 0 # 0-forward, 1-backward, 2-pingpong
field SFBool pinned FALSE
eventIn SFFloat switchTime # ROUTE here to animate
eventOut SFInt32 intDummy
]
{
Transform { # childs: 1
translation IS translation
rotation IS rotation
scaleOrientation IS scaleOrientation
scale IS scale
children [
DEF PICT_SWITCH Switch {
whichChoice -1
choice IS frames
}
Sound {
minFront 100000
maxFront 100000
minBack 100000
maxBack 100000
source DEF AUDIO AudioClip { url IS urlSound }
}
DEF TOUCH TouchSensor {
enabled IS soundEnabled
}
]
ROUTE TOUCH.touchTime TO AUDIO.startTime
} # Transform end
DEF PICT_SCRIPT Script {
eventIn SFFloat time_in IS switchTime
eventOut SFInt32 curFrame IS intDummy
field SFInt32 nFrames IS frameCount
field SFInt32 playOrder IS playOrder
field SFInt32 ping_pong_dir 0 # 0-forward, 1-backward
field SFInt32 nActiveFrame -1
url "vrmlscript:
function time_in()
{
if(nFrames == 0)
return;
else if(nFrames == 1 && nActiveFrame == -1)
{
nActiveFrame = 0;
curFrame = 0;
return;
}
nCurrentFrame = nActiveFrame;
if(playOrder == 0) {
if(++nActiveFrame == nFrames) nActiveFrame = 0;
}
else if(playOrder == 1) {
if(--nActiveFrame == -1) nActiveFrame = nFrames-1;
}
else if(playOrder == 2) {
if(ping_pong_dir == 0)
{
if(++nActiveFrame == nFrames)
{
nActiveFrame = nFrames - 1;
ping_pong_dir = 1;
}
}
else
{
if(--nActiveFrame == -1)
{
nActiveFrame = 0;
ping_pong_dir = 0;
}
}
}
if(nCurrentFrame != nActiveFrame)
curFrame = nActiveFrame;
}"
}
ROUTE PICT_SCRIPT.curFrame TO PICT_SWITCH.whichChoice
} # ISBPicture PROTO end
PROTO ISBPictureFrame [
field SFNode texNode NULL
]
{
Shape {
appearance Appearance {
material Material {
diffuseColor 0.5 0.5 0.5
}
texture IS texNode
}
geometry IndexedFaceSet { # faces: 1
convex FALSE
colorPerVertex FALSE
color Color {
color 0 0 0
}
coord Coordinate {
point [
0 0 1,
1 0 1,
1 1 1,
0 1 1
]
}
coordIndex [
0, 1, 2, 3, -1
]
texCoord TextureCoordinate {
point [
0 0,
1 0,
1 1,
0 1
]
}
texCoordIndex [
0, 1, 2, 3, -1
]
}
} # Shape end
} # ISBPictureFrame PROTO end
Group { # childs: 3
children [
Shape {
appearance Appearance {
material Material {
diffuseColor 0.5 0.5 0.5
}
texture ImageTexture {
url "WOOD/wood2.gif"
}
}
geometry IndexedFaceSet { # faces: 27
convex FALSE
colorPerVertex FALSE
color Color {
color [
0.476563 0.476563 0.476563
0.476563 0.476563 0.476563
0.476563 0.476563 0.476563
0.476563 0.476563 0.476563
0.476563 0.476563 0.476563
0.476563 0.476563 0.476563
0.476563 0.476563 0.476563
0.476563 0.476563 0.476563
0.476563 0.476563 0.476563
0.476563 0.476563 0.476563
0.476563 0.476563 0.476563
0.476563 0.476563 0.476563
0.476563 0.476563 0.476563
0.476563 0.476563 0.476563
0.476563 0.476563 0.476563
0.476563 0.476563 0.476563
0.476563 0.476563 0.476563
0.476563 0.476563 0.476563
0.476563 0.476563 0.476563
0.476563 0.476563 0.476563
0.476563 0.476563 0.476563
0.476563 0.476563 0.476563
0.476563 0.476563 0.476563
0.476563 0.476563 0.476563
0.476563 0.476563 0.476563
0.476563 0.476563 0.476563
0.476563 0.476563 0.476563
]
}
coord DEF Label_000 Coordinate {
point [
-0.105074 0.407839 -0.751663,
-0.105074 0.407839 -0.922039,
-0.144205 0.366211 -0.922039,
-0.144205 0.366211 -0.751663,
0.0289361 0.407839 -0.751663,
0.0721027 0.370785 -0.751663,
0.0721027 0.370785 -0.922039,
0.0289361 0.407839 -0.922039,
-0.116694 0.363865 -0.805092,
0.0404555 0.363865 -0.805092,
0.0404555 -0.398358 -0.805092,
-0.116694 -0.398358 -0.805092,
0.0404555 0.363865 -0.912585,
0.0404555 -0.398358 -0.912585,
-0.116694 0.363865 -0.912585,
-0.116694 -0.398358 -0.912585,
0.0404555 -0.398358 -0.751663,
0.0404555 0.363865 -0.751663,
0.0404555 0.363865 -0.787991,
0.0404555 -0.398358 -0.787991,
-0.116694 0.363865 -0.751663,
-0.116694 -0.398358 -0.751663,
-0.116694 -0.398358 -0.787991,
-0.116694 0.363865 -0.787991,
-0.204814 -0.440426 -0.739958,
-0.16775 -0.440426 -0.7479,
-0.16775 -0.440426 -0.927925,
0.0916976 -0.440426 -0.927925,
0.0916976 -0.440426 -0.7479,
0.123467 -0.440426 -0.739958,
0.123467 -0.440426 -0.930572,
-0.204814 -0.440426 -0.930572,
-0.204814 -0.482784 -0.739958,
0.123467 -0.482784 -0.739958,
0.123467 -0.482784 -0.930572,
-0.204814 -0.482784 -0.930572,
0.0916976 -0.413951 -0.7479,
-0.16775 -0.413951 -0.7479,
0.0916976 -0.413951 -0.927925,
-0.16775 -0.413951 -0.927925,
0.0721027 -0.413951 -0.751663,
-0.144205 -0.413951 -0.751663,
-0.144205 -0.413951 -0.922039,
0.0721027 -0.413951 -0.922039
]
}
coordIndex [
0, 1, 2, 3, -1,
4, 5, 6, 7, -1,
4, 7, 1, 0, -1,
8, 9, 10, 11, -1,
9, 12, 13, 10, -1,
14, 8, 11, 15, -1,
12, 14, 15, 13, -1,
14, 12, 9, 8, -1,
11, 10, 13, 15, -1,
16, 17, 18, 19, -1,
20, 21, 22, 23, -1,
17, 20, 23, 18, -1,
21, 16, 19, 22, -1,
24, 25, 26, 27, 28, 25, 24, 29, 30, 31, -1,
32, 33, 29, 24, -1,
33, 34, 30, 29, -1,
35, 32, 24, 31, -1,
34, 35, 31, 30, -1,
25, 28, 36, 37, -1,
28, 27, 38, 36, -1,
26, 25, 37, 39, -1,
27, 26, 39, 38, -1,
37, 40, 41, 42, 43, 40, 37, 36, 38, 39, -1,
42, 41, 3, 2, -1,
41, 21, 20, 17, 16, 21, 41, 40, 5, 4, 0, 3, -1,
43, 42, 2, 1, 7, 6, -1,
40, 43, 6, 5, -1,
]
texCoord DEF Label_001 TextureCoordinate {
point [
0.38488 -0.112919,
0.562618 -0.310317,
0.681337 -0.203421,
0.503599 -0.00602299,
-0.0216885 -0.112919,
-0.15265 -0.0177698,
-0.308781 -0.232665,
-0.17782 -0.327814,
-0.0216885 -0.112919,
-0.0216885 -0.378544,
0.38488 -0.378544,
0.38488 -0.112919,
-0.644356 4.85136e-008,
-0.167586 1.26176e-008,
-0.167586 1.95726,
-0.644356 1.95726,
-0.167586 1.26176e-008,
0 0,
0 1.95726,
-0.167586 1.95726,
-0.811942 6.11312e-008,
-0.644356 4.85136e-008,
-0.644356 1.95726,
-0.811942 1.95726,
0 0,
0.47677 0,
0.47677 1.95726,
0 1.95726,
0.47677 0,
0 0,
0 -0.167586,
0.47677 -0.167586,
-0.644356 1.95726,
-0.167586 1.95726,
-0.167586 2.12485,
-0.644356 2.12485,
-0.0566369 1.95726,
-0.0566369 4.2642e-009,
0 0,
0 1.95726,
0.533406 -3.44953e-009,
0.533406 1.95726,
0.47677 1.95726,
0.47677 -3.44953e-009,
0 -0.0566369,
0.47677 -0.0566369,
0.47677 0,
0 0,
0.47677 2.0139,
1.11022e-016 2.0139,
0 1.95726,
0.47677 1.95726,
0.485351 2.24916,
0.497733 2.13671,
0.7784 2.13671,
0.7784 1.34959,
0.497733 1.34959,
0.497733 2.13671,
0.485351 2.24916,
0.485351 1.25321,
0.782527 1.25321,
0.782527 2.24916,
0 0,
0.995959 0,
0.995959 0.10877,
0 0.10877,
-0.134402 2.32989,
-0.431578 2.32989,
-0.431578 2.22112,
-0.134402 2.22112,
0.782527 2.35793,
0.485351 2.35793,
0.485351 2.24916,
0.782527 2.24916,
-0.308482 2.26882,
0.687477 2.26882,
0.687477 2.37759,
-0.308482 2.37759,
0.112447 0.121153,
0.899576 0.121153,
0.899576 0.189134,
0.112447 0.189134,
-0.146784 2.12474,
-0.427451 2.12474,
-0.427451 2.05675,
-0.146784 2.05675,
0.7784 2.13672,
0.497733 2.13672,
0.497733 2.06874,
0.7784 2.06874,
-0.212099 2.38172,
0.57503 2.38172,
0.57503 2.4497,
-0.212099 2.4497,
0.497733 2.06874,
0.5036 1.34106,
0.5036 1.99731,
0.769223 1.99731,
0.769223 1.34106,
0.5036 1.34106,
0.497733 2.06874,
0.497733 1.28161,
0.7784 1.28161,
0.7784 2.06874,
0.769225 1.99731,
0.5036 1.99731,
0.5036 -0.0060236,
0.769225 -0.0060236,
0.5036 1.99731,
0.420135 1.95727,
0.420135 -5.72828e-007,
-0.0566369 -5.72828e-007,
-0.0566364 1.95727,
0.420135 1.95727,
0.5036 1.99731,
-0.15265 1.99731,
-0.15265 -0.0177701,
-0.0216885 -0.112919,
0.384881 -0.112919,
0.5036 -0.00602476,
-0.15265 2.45887,
0.5036 2.45887,
0.503599 4.46221,
0.38488 4.5691,
-0.0216896 4.5691,
-0.152651 4.47395,
-0.15265 1.99731,
-0.418275 1.99731,
-0.418275 -0.0177697,
-0.15265 -0.0177697
]
}
texCoordIndex [
0, 1, 2, 3, -1,
4, 5, 6, 7, -1,
8, 9, 10, 11, -1,
12, 13, 14, 15, -1,
16, 17, 18, 19, -1,
20, 21, 22, 23, -1,
24, 25, 26, 27, -1,
28, 29, 30, 31, -1,
32, 33, 34, 35, -1,
36, 37, 38, 39, -1,
40, 41, 42, 43, -1,
44, 45, 46, 47, -1,
48, 49, 50, 51, -1,
52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -1,
62, 63, 64, 65, -1,
66, 67, 68, 69, -1,
70, 71, 72, 73, -1,
74, 75, 76, 77, -1,
78, 79, 80, 81, -1,
82, 83, 84, 85, -1,
86, 87, 88, 89, -1,
90, 91, 92, 93, -1,
94, 95, 96, 97, 98, 99, 100, 101, 102, 103, -1,
104, 105, 106, 107, -1,
108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, -1,
120, 121, 122, 123, 124, 125, -1,
126, 127, 128, 129, -1,
]
}
}
Shape {
appearance Appearance {
material Material {
diffuseColor 0.5 0.5 0.5
transparency 1
}
}
geometry IndexedFaceSet { # faces: 1
convex FALSE
colorPerVertex FALSE
color Color {
color [
0.726563 0.726563 0.726563
]
}
coord USE Label_000
coordIndex [
18, 23, 22, 19, -1,
]
texCoord USE Label_001
texCoordIndex [
-1,
]
}
}
Shape {
appearance Appearance {
material Material {
diffuseColor 0.5 0.5 0.5
}
}
geometry IndexedFaceSet { # faces: 1
convex FALSE
colorPerVertex FALSE
color Color {
color [
0.476563 0.476563 0.476563
]
}
coord USE Label_000
coordIndex [
35, 34, 33, 32, -1
]
texCoord USE Label_001
texCoordIndex [
-1
]
}
}
DEF Object12 Transform { # childs: 1
translation -0.0192096 -0.00621202 -0.392828
rotation 0 0 1 0
scaleOrientation 0 0 1 0
scale 0.613473 1.06937 0.607143
children [
Shape {
appearance Appearance {
material Material {
diffuseColor 0.5 0.5 0.5
}
}
geometry IndexedFaceSet { # faces: 6
convex FALSE
colorPerVertex FALSE
color Color {
color [
0.476563 0.476563 0.476563
0.476563 0.476563 0.476563
0.476563 0.476563 0.476563
0.476563 0.476563 0.476563
0.476563 0.476563 0.476563
0.476563 0.476563 0.476563
]
}
coord DEF Label_002 Coordinate {
point [
-0.180257 -0.410578 -0.791751,
0.118454 -0.410578 -0.791751,
0.118454 0.362203 -0.791751,
-0.180257 0.362203 -0.791751,
0.118454 -0.410578 -0.841862,
0.118454 0.362203 -0.841862,
-0.180257 -0.410578 -0.841862,
-0.180257 0.362203 -0.841862
]
}
coordIndex [
0, 1, 2, 3, -1,
1, 4, 5, 2, -1,
6, 0, 3, 7, -1,
4, 6, 7, 5, -1,
3, 2, 5, 7, -1,
6, 4, 1, 0, -1
]
}
}
]
}
DEF Cl4 ISBPicture {
translation -0.116694 -0.393943 -0.787991
rotation 0 0.164086 -0.986446 1.43667e-031
scaleOrientation -1 0 0 1.5708
scale 0.166565 0.0383521 0.767042
pinned TRUE
frameCount 14
playOrder 0
frames [
ISBPictureFrame { texNode ImageTexture { url "CL00.gif" } }
ISBPictureFrame { texNode ImageTexture { url "CL01.gif" } }
ISBPictureFrame { texNode ImageTexture { url "CL02.gif" } }
ISBPictureFrame { texNode ImageTexture { url "CL03.gif" } }
ISBPictureFrame { texNode ImageTexture { url "CL04.gif" } }
ISBPictureFrame { texNode ImageTexture { url "CL05.gif" } }
ISBPictureFrame { texNode ImageTexture { url "CL06.gif" } }
ISBPictureFrame { texNode ImageTexture { url "CL07.gif" } }
ISBPictureFrame { texNode ImageTexture { url "CL08.gif" } }
ISBPictureFrame { texNode ImageTexture { url "CL09.gif" } }
ISBPictureFrame { texNode ImageTexture { url "CL10.gif" } }
ISBPictureFrame { texNode ImageTexture { url "CL11.gif" } }
ISBPictureFrame { texNode ImageTexture { url "CL12.gif" } }
ISBPictureFrame { texNode ImageTexture { url "CL13.gif" } }
]
}
DEF _PictureTimer TimeSensor {
loop TRUE
startTime 0.1
}
]
ROUTE _PictureTimer.fraction_changed TO Cl4.switchTime
}
# Faces total: 35
# Facesets total: 2