136 lines
3.6 KiB
Plaintext
Executable File
136 lines
3.6 KiB
Plaintext
Executable File
#VRML V2.0 utf8
|
|
|
|
PROTO ScrollingTextGroup
|
|
[ field MFString text "Scrolling Text Group"
|
|
eventIn SFTime start
|
|
eventIn SFTime stop
|
|
exposedField SFBool enabled FALSE
|
|
field SFTime duration 40
|
|
field SFColor color 0 0 0
|
|
field SFBool loop TRUE
|
|
field SFRotation rotation 0 0 1 0
|
|
]
|
|
{
|
|
Group {
|
|
children [
|
|
DEF theTransform Transform {
|
|
translation 0 -20 0
|
|
# rotation -1 0 0 0.627139
|
|
scale 0.06 0.06 0.06
|
|
children [
|
|
Shape {
|
|
appearance Appearance {
|
|
material Material {
|
|
ambientIntensity 0.25
|
|
diffuseColor IS color
|
|
specularColor 0 0.0697667 0.0955906
|
|
shininess 0.078125
|
|
}
|
|
}
|
|
geometry Text {
|
|
string IS text
|
|
fontStyle FontStyle {
|
|
size 24
|
|
family "SERIF"
|
|
style "ITALIC"
|
|
justify "MIDDLE"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
DEF theTimer TimeSensor {
|
|
enabled IS enabled
|
|
startTime IS start
|
|
stopTime IS stop
|
|
loop TRUE
|
|
cycleInterval IS duration
|
|
}
|
|
DEF theTranslation PositionInterpolator {
|
|
key [ 0, 1 ]
|
|
keyValue [ 0 -9 0 , 0 45 0]
|
|
}
|
|
]
|
|
}
|
|
ROUTE theTimer.fraction_changed TO theTranslation.set_fraction
|
|
ROUTE theTranslation.value_changed TO theTransform.set_translation
|
|
}
|
|
|
|
Group {
|
|
children [
|
|
Background {
|
|
skyColor 0.98 0.93 0.71
|
|
}
|
|
NavigationInfo {
|
|
type "NONE"
|
|
visibilityLimit 11
|
|
}
|
|
Viewpoint { fieldOfView 0.8 }
|
|
DEF Prox ProximitySensor { size 50 50 50 }
|
|
Fog {
|
|
color 0.98 0.93 0.71
|
|
visibilityRange 11
|
|
fogType "LINEAR"
|
|
}
|
|
DEF S Script {
|
|
eventIn SFTime loadTime
|
|
eventOut SFTime startOut
|
|
eventOut SFTime stopOut
|
|
eventOut SFBool enableOut
|
|
url "vrmlscript:
|
|
function loadTime(t) {
|
|
enableOut = TRUE;
|
|
startOut = t+2; // delay for suspense
|
|
stopOut = 0;
|
|
}"
|
|
}
|
|
|
|
Transform {
|
|
translation 0 2 0
|
|
rotation 1 0 0 -1.1
|
|
children [
|
|
DEF ST ScrollingTextGroup { text
|
|
[ "Murat Aktihanoglu"
|
|
"Mark Benzel"
|
|
"Amit Bleiweiss"
|
|
"Jim Brook"
|
|
"David Brown"
|
|
"David Chamberlin"
|
|
"Don Chin"
|
|
"Mike Dashe"
|
|
"Mark Davoren"
|
|
"Chris Fouts"
|
|
"David Frerichs"
|
|
"Kevin Hartz"
|
|
"Lesley Kalmin"
|
|
"Lalitha Karinthi"
|
|
"Susan Kropf"
|
|
"Sunil Kulkarni"
|
|
"Jeff Lee"
|
|
"Richard Lee"
|
|
"Jean Lin"
|
|
"Jon Logan"
|
|
"John Louch"
|
|
"T.J. Marbois"
|
|
"Chris Marrin"
|
|
"Alan Norton"
|
|
"Naveen Patil"
|
|
"Anna Ramos"
|
|
"Glenn Shute"
|
|
"Kevin Smith"
|
|
"Andrea Tan"
|
|
"Danielle Theriault"
|
|
"R.K. Tumuluri"
|
|
"Dan Venolia"
|
|
"Daniel Woods"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
ROUTE Prox.enterTime TO S.loadTime
|
|
ROUTE S.startOut TO ST.start
|
|
ROUTE S.stopOut TO ST.stop
|
|
ROUTE S.enableOut TO ST.enabled
|