home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 July & August
/
Pcwk7897.iso
/
netscape
/
nav4
/
live3d.z
/
live3d.wrl
< prev
next >
Wrap
Text File
|
1997-04-02
|
38KB
|
1,021 lines
#VRML V2.0 utf8
# Produced by 3D Studio MAX VRML 2.0 exporter, Version 1
# MAX File: origui2.max, Date: Tue Sep 24 22:14:58 1996
#
# Netscape's Live3D UI
EXTERNPROTO LayoutHint [ field SFString placement BOTTOMCENTER
field SFFloat widthFraction 0.
field SFFloat heightFraction 0.
field SFInt32 maxPixelWidth 0
field SFInt32 maxPixelHeight 0 ]
[ "urn:inet:netscape.com:vrml/LayoutHint.wrl" ]
NavigationInfo
{
headlight FALSE
}
Transform {
children [
LayoutHint {
placement BOTTOMCENTER
widthFraction 450.0
heightFraction 0.085
maxPixelHeight 40
}
Transform {
children [
Shape {
appearance Appearance {
material Material {
diffuseColor 0 0 0
shininess 0
transparency 0
}
}
geometry DEF BlackBack-FACES IndexedFaceSet {
ccw TRUE
solid TRUE
coord DEF BlackBack-COORD Coordinate { point [
0 4 -0.1, 200000 4 -0.1, 0 37 -0.1, 200000 37 -0.1 ]
}
coordIndex [
0, 1, 3, -1,
3, 2, 0, -1]
}
}
]
}
]
}
Anchor
{
url "http://home.netscape.com/eng/live3d"
description "Netscape "
children
[
LayoutHint {
placement BOTTOMRIGHT
widthFraction .069
heightFraction 0.08
maxPixelHeight 36
}
Transform {
children [
Shape {
geometry IndexedFaceSet {
coord Coordinate {
point [
-1 1 0,
1 1 0,
1 -1 0,
-1 -1 0
]
}
texCoord TextureCoordinate {
point [
0 1,
1 1,
1 0,
0 0
]
}
coordIndex [
3, 2, 1, 0, -1
]
texCoordIndex [
3, 2, 1, 0, -1
]
}
appearance Appearance {
material Material {
ambientIntensity .28
diffuseColor .5 .5 1
transparency 0
}
texture ImageTexture { url "netscape\nslogo.gif" }
}
}
]
}
]
}
DEF Buttons-ROOT Transform {
children [
LayoutHint {
placement BOTTOMLEFT
widthFraction .9
heightFraction 0.08
maxPixelHeight 36
}
Transform {
children [
Shape {
appearance Appearance {
material Material {
diffuseColor 0 0 0
shininess 0
transparency 0
}
}
geometry DEF BlackBack-FACES IndexedFaceSet {
ccw TRUE
solid TRUE
coord DEF BlackBack-COORD Coordinate { point [
-405 5 -0.1, 37 5 -0.1, -405 36 -0.1, 37 36 -0.1 ]
}
coordIndex [
0, 1, 3, -1,
3, 2, 0, -1]
}
}
DEF WalkButton-ROOT Transform {
translation -372 10.4 0
scale 0.5058 0.5058 1
children [
DEF WalkButton_Passive Transform {
scale 0.0000001 0.0000001 0.0000001
children [
DEF WalkButton_Passive_TouchSensor TouchSensor { }
Shape {
appearance Appearance {
material Material {
ambientIntensity 1
diffuseColor 0.7 0.7 0.7
shininess 0.4
transparency 0
}
texture ImageTexture {
url "netscape\walk1.gif"
}
}
geometry DEF WalkButton-FACES IndexedFaceSet {
ccw TRUE
solid TRUE
coord DEF WalkButton-COORD Coordinate { point [
-44.82 0 0, 44.82 0 0, -44.82 41.45 0, 44.82 41.45 0]
}
texCoord DEF WalkButton-TEXCOORD TextureCoordinate { point [
0 0, 1 0, 0 1, 1 1, 0 0, 1 0, 0 1, 1 1, 0 0, 1 0, 0 1, 1 1]
}
coordIndex [
0, 1, 3, -1, 3, 2, 0, -1]
texCoordIndex [
4, 5, 7, -1, 7, 6, 4, -1]
}
}
]
}
DEF WalkButton_Active Transform {
scale 1 1 1
children [
Shape {
appearance Appearance {
material Material {
ambientIntensity 1
diffuseColor 0.7 0.7 0.7
shininess 0.4
transparency 0
}
texture ImageTexture {
url "netscape\walk2.gif"
}
}
geometry DEF WalkButton-FACES IndexedFaceSet {
ccw TRUE
solid TRUE
coord DEF WalkButton-COORD Coordinate { point [
-44.82 0 0, 44.82 0 0, -44.82 41.45 0, 44.82 41.45 0]
}
texCoord DEF WalkButton-TEXCOORD TextureCoordinate { point [
0 0, 1 0, 0 1, 1 1, 0 0, 1 0, 0 1, 1 1, 0 0, 1 0, 0 1, 1 1]
}
coordIndex [
0, 1, 3, -1, 3, 2, 0, -1]
texCoordIndex [
4, 5, 7, -1, 7, 6, 4, -1]
}
}
]
}
#
DEF WalkButton_Passive_Script Script {
eventIn SFTime touchTime
eventOut SFVec3f large
eventOut SFVec3f small
url "javascript:
function touchTime(nav)
{
l3dBrowser.SetNavigationType('WALK');
large = new SFVec3f(1,1,1);
small = new SFVec3f(0.0000001, 0.0000001, 0.0000001);
}"
}
# WalkButton
ROUTE WalkButton_Passive_TouchSensor.touchTime TO WalkButton_Passive_Script.touchTime
#
ROUTE WalkButton_Passive_Script.small TO WalkButton_Passive.scale
ROUTE WalkButton_Passive_Script.large TO WalkButton_Active.scale
]
},
DEF SpinButton-ROOT Transform {
translation -324.3 10.4 0
scale 0.5058 0.5058 1
children [
DEF SpinButton_Passive Transform {
scale 1 1 1
children [
DEF SpinButton_Passive_TouchSensor TouchSensor { }
Shape {
appearance Appearance {
material Material {
ambientIntensity 1
diffuseColor 0.7 0.7 0.7
shininess 0.4
transparency 0
}
texture ImageTexture {
url "netscape\spin1.gif"
}
}
geometry DEF SpinButton-FACES IndexedFaceSet {
ccw TRUE
solid TRUE
coord DEF SpinButton-COORD Coordinate { point [
-44.82 0 0, 44.82 0 0, -44.82 41.45 0, 44.82 41.45 0]
}
texCoord DEF SpinButton-TEXCOORD TextureCoordinate { point [
0 0, 1 0, 0 1, 1 1, 0 0, 1 0, 0 1, 1 1, 0 0, 1 0, 0 1, 1 1]
}
coordIndex [
0, 1, 3, -1, 3, 2, 0, -1]
texCoordIndex [
4, 5, 7, -1, 7, 6, 4, -1]
}
}
]
}
DEF SpinButton_Active Transform {
scale 0.0000001 0.0000001 0.0000001
children [
Shape {
appearance Appearance {
material Material {
ambientIntensity 1
diffuseColor 0.7 0.7 0.7
shininess 0.4
transparency 0
}
texture ImageTexture {
url "netscape\spin2.gif"
}
}
geometry DEF SpinButton-FACES IndexedFaceSet {
ccw TRUE
solid TRUE
coord DEF SpinButton-COORD Coordinate { point [
-44.82 0 0, 44.82 0 0, -44.82 41.45 0, 44.82 41.45 0]
}
texCoord DEF SpinButton-TEXCOORD TextureCoordinate { point [
0 0, 1 0, 0 1, 1 1, 0 0, 1 0, 0 1, 1 1, 0 0, 1 0, 0 1, 1 1]
}
coordIndex [
0, 1, 3, -1, 3, 2, 0, -1]
texCoordIndex [
4, 5, 7, -1, 7, 6, 4, -1]
}
}
]
}
#
DEF SpinButton_Passive_Script Script {
eventIn SFTime touchTime
eventOut SFVec3f large
eventOut SFVec3f small
url "javascript:
function touchTime(nav)
{
l3dBrowser.SetNavigationType('SPIN');
large = new SFVec3f(1,1,1);
small = new SFVec3f(0.0000001, 0.0000001, 0.0000001);
}"
}
# SpinButton
ROUTE SpinButton_Passive_TouchSensor.touchTime TO SpinButton_Passive_Script.touchTime
#
ROUTE SpinButton_Passive_Script.small TO SpinButton_Passive.scale
ROUTE SpinButton_Passive_Script.large TO SpinButton_Active.scale
]
},
DEF LookButton-ROOT Transform {
translation -275.8 10.4 0
scale 0.5058 0.5058 1
children [
DEF LookButton_Passive Transform {
scale 1 1 1
children [
DEF LookButton_Passive_TouchSensor TouchSensor { }
Shape {
appearance Appearance {
material Material {
ambientIntensity 1
diffuseColor 0.7 0.7 0.7
shininess 0.4
transparency 0
}
texture ImageTexture {
url "netscape\look1.gif"
}
}
geometry DEF LookButton-FACES IndexedFaceSet {
ccw TRUE
solid TRUE
coord DEF LookButton-COORD Coordinate { point [
-44.82 0 0, 44.82 0 0, -44.82 41.45 0, 44.82 41.45 0]
}
texCoord DEF LookButton-TEXCOORD TextureCoordinate { point [
0 0, 1 0, 0 1, 1 1, 0 0, 1 0, 0 1, 1 1, 0 0, 1 0, 0 1, 1 1]
}
coordIndex [
0, 1, 3, -1, 3, 2, 0, -1]
texCoordIndex [
4, 5, 7, -1, 7, 6, 4, -1]
}
}
]
}
DEF LookButton_Active Transform {
scale 0.0000001 0.0000001 0.0000001
children [
Shape {
appearance Appearance {
material Material {
ambientIntensity 1
diffuseColor 0.7 0.7 0.7
shininess 0.4
transparency 0
}
texture ImageTexture {
url "netscape\look2.gif"
}
}
geometry DEF LookButton-FACES IndexedFaceSet {
ccw TRUE
solid TRUE
coord DEF LookButton-COORD Coordinate { point [
-44.82 0 0, 44.82 0 0, -44.82 41.45 0, 44.82 41.45 0]
}
texCoord DEF LookButton-TEXCOORD TextureCoordinate { point [
0 0, 1 0, 0 1, 1 1, 0 0, 1 0, 0 1, 1 1, 0 0, 1 0, 0 1, 1 1]
}
coordIndex [
0, 1, 3, -1, 3, 2, 0, -1]
texCoordIndex [
4, 5, 7, -1, 7, 6, 4, -1]
}
}
]
}
#
DEF LookButton_Passive_Script Script {
eventIn SFTime touchTime
eventOut SFVec3f large
eventOut SFVec3f small
url "javascript:
function touchTime(nav)
{
l3dBrowser.SetNavigationType('LOOK');
large = new SFVec3f(1,1,1);
small = new SFVec3f(0.0000001, 0.0000001, 0.0000001);
}"
}
# LookButton
ROUTE LookButton_Passive_TouchSensor.touchTime TO LookButton_Passive_Script.touchTime
#
ROUTE LookButton_Passive_Script.small TO LookButton_Passive.scale
ROUTE LookButton_Passive_Script.large TO LookButton_Active.scale
]
},
DEF SlideButton-ROOT Transform {
translation -228 10.4 0
scale 0.5058 0.5058 1
children [
DEF SlideButton_Passive Transform {
scale 1 1 1
children [
DEF SlideButton_Passive_TouchSensor TouchSensor { }
Shape {
appearance Appearance {
material Material {
ambientIntensity 1
diffuseColor 0.7 0.7 0.7
shininess 0.4
transparency 0
}
texture ImageTexture {
url "netscape\slide1.gif"
}
}
geometry DEF SlideButton-FACES IndexedFaceSet {
ccw TRUE
solid TRUE
coord DEF SlideButton-COORD Coordinate { point [
-44.82 0 0, 44.82 0 0, -44.82 41.45 0, 44.82 41.45 0]
}
texCoord DEF SlideButton-TEXCOORD TextureCoordinate { point [
0 0, 1 0, 0 1, 1 1, 0 0, 1 0, 0 1, 1 1, 0 0, 1 0, 0 1, 1 1]
}
coordIndex [
0, 1, 3, -1, 3, 2, 0, -1]
texCoordIndex [
4, 5, 7, -1, 7, 6, 4, -1]
}
}
]
}
DEF SlideButton_Active Transform {
scale 0.0000001 0.0000001 0.0000001
children [
Shape {
appearance Appearance {
material Material {
ambientIntensity 1
diffuseColor 0.7 0.7 0.7
shininess 0.4
transparency 0
}
texture ImageTexture {
url "netscape\slide2.gif"
}
}
geometry DEF SlideButton-FACES IndexedFaceSet {
ccw TRUE
solid TRUE
coord DEF SlideButton-COORD Coordinate { point [
-44.82 0 0, 44.82 0 0, -44.82 41.45 0, 44.82 41.45 0]
}
texCoord DEF SlideButton-TEXCOORD TextureCoordinate { point [
0 0, 1 0, 0 1, 1 1, 0 0, 1 0, 0 1, 1 1, 0 0, 1 0, 0 1, 1 1]
}
coordIndex [
0, 1, 3, -1, 3, 2, 0, -1]
texCoordIndex [
4, 5, 7, -1, 7, 6, 4, -1]
}
}
]
}
#
DEF SlideButton_Passive_Script Script {
eventIn SFTime touchTime
eventOut SFVec3f large
eventOut SFVec3f small
url "javascript:
function touchTime(nav)
{
l3dBrowser.SetNavigationType('SLIDE');
large = new SFVec3f(1,1,1);
small = new SFVec3f(0.0000001, 0.0000001, 0.0000001);
}"
}
# SlideButton
ROUTE SlideButton_Passive_TouchSensor.touchTime TO SlideButton_Passive_Script.touchTime
#
ROUTE SlideButton_Passive_Script.small TO SlideButton_Passive.scale
ROUTE SlideButton_Passive_Script.large TO SlideButton_Active.scale
]
},
DEF PointButton1-ROOT Transform {
translation -148.7 10.4 0
scale 0.5058 0.5058 1
children [
DEF PointButton_Passive Transform {
scale 1 1 1
children [
DEF PointButton_Passive_TouchSensor TouchSensor { }
Shape {
appearance Appearance {
material Material {
ambientIntensity 1
diffuseColor 0.7 0.7 0.7
shininess 0.4
transparency 0
}
texture ImageTexture {
url "netscape\point1.gif"
}
}
geometry DEF PointButton1-FACES IndexedFaceSet {
ccw TRUE
solid TRUE
coord DEF PointButton1-COORD Coordinate { point [
-44.82 0 0, 44.82 0 0, -44.82 41.45 0, 44.82 41.45 0]
}
texCoord DEF PointButton1-TEXCOORD TextureCoordinate { point [
0 0, 1 0, 0 1, 1 1, 0 0, 1 0, 0 1, 1 1, 0 0, 1 0, 0 1, 1 1]
}
coordIndex [
0, 1, 3, -1, 3, 2, 0, -1]
texCoordIndex [
4, 5, 7, -1, 7, 6, 4, -1]
}
}
]
}
DEF PointButton_Active Transform {
scale 0.0000001 0.0000001 0.0000001
children [
DEF PointButton_Active_TouchSensor TouchSensor { }
Shape {
appearance Appearance {
material Material {
ambientIntensity 1
diffuseColor 0.7 0.7 0.7
shininess 0.4
transparency 0
}
texture ImageTexture {
url "netscape\point2.gif"
}
}
geometry DEF PointButton1-FACES IndexedFaceSet {
ccw TRUE
solid TRUE
coord DEF PointButton1-COORD Coordinate { point [
-44.82 0 0, 44.82 0 0, -44.82 41.45 0, 44.82 41.45 0]
}
texCoord DEF PointButton1-TEXCOORD TextureCoordinate { point [
0 0, 1 0, 0 1, 1 1, 0 0, 1 0, 0 1, 1 1, 0 0, 1 0, 0 1, 1 1]
}
coordIndex [
0, 1, 3, -1, 3, 2, 0, -1]
texCoordIndex [
4, 5, 7, -1, 7, 6, 4, -1]
}
}
]
}
#
DEF PointButton_Passive_Script Script {
eventIn SFTime touchTime
eventOut SFVec3f large
eventOut SFVec3f small
url "javascript:
function touchTime(nav)
{
l3dBrowser.SetPointMode(true);
large = new SFVec3f(1,1,1);
small = new SFVec3f(0.0000001, 0.0000001, 0.0000001);
}"
}
DEF PointButton_Active_Script Script {
eventIn SFTime touchTime
eventOut SFVec3f large
eventOut SFVec3f small
url "javascript:
function touchTime(nav)
{
l3dBrowser.SetPointMode(false);
large = new SFVec3f(1,1,1);
small = new SFVec3f(0.0000001, 0.0000001, 0.0000001);
}"
}
ROUTE PointButton_Passive_TouchSensor.touchTime TO PointButton_Passive_Script.touchTime
ROUTE PointButton_Active_TouchSensor.touchTime TO PointButton_Active_Script.touchTime
#
ROUTE PointButton_Passive_Script.small TO PointButton_Passive.scale
ROUTE PointButton_Active_Script.large TO PointButton_Passive.scale
ROUTE PointButton_Passive_Script.large TO PointButton_Active.scale
ROUTE PointButton_Active_Script.small TO PointButton_Active.scale
]
}
DEF LampButton-ROOT Transform {
translation -56.52 10.4 0
scale 0.5058 0.5058 1
children [
DEF LampButton_Passive Transform {
scale 1 1 1
children [
DEF LampButton_Passive_TouchSensor TouchSensor { }
Shape {
appearance Appearance {
material Material {
ambientIntensity 1
diffuseColor 0.7 0.7 0.7
shininess 0.4
transparency 0
}
texture ImageTexture {
url "netscape\lamp1.gif"
}
}
geometry DEF LampButton-FACES IndexedFaceSet {
ccw TRUE
solid TRUE
coord DEF LampButton-COORD Coordinate { point [
-44.82 0 0, 44.82 0 0, -44.82 41.45 0, 44.82 41.45 0]
}
texCoord DEF LampButton-TEXCOORD TextureCoordinate { point [
0 0, 1 0, 0 1, 1 1, 0 0, 1 0, 0 1, 1 1, 0 0, 1 0, 0 1, 1 1]
}
coordIndex [
0, 1, 3, -1, 3, 2, 0, -1]
texCoordIndex [
4, 5, 7, -1, 7, 6, 4, -1]
}
}
]
}
DEF LampButton_Active Transform {
scale 0.0000001 0.0000001 0.0000001
children [
DEF LampButton_Active_TouchSensor TouchSensor { }
Shape {
appearance Appearance {
material Material {
ambientIntensity 1
diffuseColor 0.7 0.7 0.7
shininess 0.4
transparency 0
}
texture ImageTexture {
url "netscape\lamp2.gif"
}
}
geometry DEF LampButton-FACES IndexedFaceSet {
ccw TRUE
solid TRUE
coord DEF LampButton-COORD Coordinate { point [
-44.82 0 0, 44.82 0 0, -44.82 41.45 0, 44.82 41.45 0]
}
texCoord DEF LampButton-TEXCOORD TextureCoordinate { point [
0 0, 1 0, 0 1, 1 1, 0 0, 1 0, 0 1, 1 1, 0 0, 1 0, 0 1, 1 1]
}
coordIndex [
0, 1, 3, -1, 3, 2, 0, -1]
texCoordIndex [
4, 5, 7, -1, 7, 6, 4, -1]
}
}
]
}
#
DEF LampButton_Passive_Script Script {
eventIn SFTime touchTime
eventOut SFVec3f large
eventOut SFVec3f small
url "javascript:
function touchTime(nav)
{
l3dBrowser.SetHeadlight(true); // hit the off button to toggle on
large = new SFVec3f(1,1,1);
small = new SFVec3f(0.0000001, 0.0000001, 0.0000001);
}"
}
DEF LampButton_Active_Script Script {
eventIn SFTime touchTime
eventOut SFVec3f large
eventOut SFVec3f small
url "javascript:
function touchTime(nav)
{
l3dBrowser.SetHeadlight(false);
large = new SFVec3f(1,1,1);
small = new SFVec3f(0.0000001, 0.0000001, 0.0000001);
}"
}
# LampButton
ROUTE LampButton_Passive_TouchSensor.touchTime TO LampButton_Passive_Script.touchTime
ROUTE LampButton_Active_TouchSensor.touchTime TO LampButton_Active_Script.touchTime
#
ROUTE LampButton_Passive_Script.small TO LampButton_Passive.scale
ROUTE LampButton_Active_Script.large TO LampButton_Passive.scale
ROUTE LampButton_Passive_Script.large TO LampButton_Active.scale
ROUTE LampButton_Active_Script.small TO LampButton_Active.scale
]
},
DEF ViewButton-ROOT Transform {
translation 9.079 10.4 0
scale 0.5058 0.5058 1
children [
DEF ViewButton_TouchSensor TouchSensor { }
Shape {
appearance Appearance {
material Material {
ambientIntensity 1
diffuseColor 0.7 0.7 0.7
shininess 0.4
transparency 0
}
texture ImageTexture {
url "netscape\view1.gif"
}
}
geometry DEF ViewButton-FACES IndexedFaceSet {
ccw TRUE
solid TRUE
coord DEF ViewButton-COORD Coordinate { point [
-44.82 0 0, 44.82 0 0, -44.82 41.45 0, 44.82 41.45 0]
}
texCoord DEF ViewButton-TEXCOORD TextureCoordinate { point [
0 0, 1 0, 0 1, 1 1, 0 0, 1 0, 0 1, 1 1, 0 0, 1 0, 0 1, 1 1]
}
coordIndex [
0, 1, 3, -1, 3, 2, 0, -1]
texCoordIndex [
4, 5, 7, -1, 7, 6, 4, -1]
}
}
#
DEF ViewButton_Script Script {
eventIn SFTime touchTime
url "javascript:
function touchTime(nav)
{
l3dBrowser.ReturnToViewpoint();
}"
}
ROUTE ViewButton_TouchSensor.touchTime TO ViewButton_Script.touchTime
]
},
# DEF PlayButton1-ROOT Transform {
# translation -412.4 13.65 -35.13
# scale 0.1518 0.328 4.789
# children [
# Shape {
# appearance Appearance {
# material Material {
# ambientIntensity 1
# diffuseColor 0.7 0.7 0.7
# shininess 0.4
# transparency 0
# }
# texture ImageTexture {
# url "netscape\play1.gif"
# }
# }
# geometry DEF PlayButton1-FACES IndexedFaceSet {
# ccw TRUE
# solid TRUE
# coord DEF PlayButton1-COORD Coordinate { point [
# -44.82 0 0, 44.82 0 0, -44.82 41.45 0, 44.82 41.45 0]
# }
# texCoord DEF PlayButton1-TEXCOORD TextureCoordinate { point [
# 0 0, 1 0, 0 1, 1 1, 0 0, 1 0, 0 1, 1 1, 0 0, 1 0, 0 1, 1 1]
# }
# coordIndex [
# 0, 1, 3, -1, 3, 2, 0, -1]
# texCoordIndex [
# 4, 5, 7, -1, 7, 6, 4, -1]
# }
# }
# ]
# },
DEF LampUpButton1-ROOT Transform {
translation -84.71 22.14 0
scale 0.1032 0.2231 3.258
children [
DEF LampUpButton_TouchSensor TouchSensor { }
Shape {
appearance Appearance {
material Material {
ambientIntensity 1
diffuseColor 0.7 0.7 0.7
shininess 0.4
transparency 0
}
texture ImageTexture {
url "netscape\up1.gif"
}
}
geometry DEF LampUpButton1-FACES IndexedFaceSet {
ccw TRUE
solid TRUE
coord DEF LampUpButton1-COORD Coordinate { point [
-44.82 0 0, 44.82 0 0, -44.82 41.45 0, 44.82 41.45 0]
}
texCoord DEF LampUpButton1-TEXCOORD TextureCoordinate { point [
0 0, 1 0, 0 1, 1 1, 0 0, 1 0, 0 1, 1 1, 0 0, 1 0, 0 1, 1 1]
}
coordIndex [
0, 1, 3, -1, 3, 2, 0, -1]
texCoordIndex [
4, 5, 7, -1, 7, 6, 4, -1]
}
}
#
DEF LampUpButton_Script Script {
eventIn SFTime touchTime
url "javascript:
function touchTime(nav)
{
l3dBrowser.BrightenHeadlight();
}"
}
ROUTE LampUpButton_TouchSensor.touchTime TO LampUpButton_Script.touchTime
]
},
DEF LampDownButton1-ROOT Transform {
translation -84.71 10.53 0
scale 0.1032 0.2231 3.258
children [
DEF LampDownButton_TouchSensor TouchSensor { }
Shape {
appearance Appearance {
material Material {
ambientIntensity 1
diffuseColor 0.7 0.7 0.7
shininess 0.4
transparency 0
}
texture ImageTexture {
url "netscape\down1.gif"
}
}
geometry DEF LampDownButton1-FACES IndexedFaceSet {
ccw TRUE
solid TRUE
coord DEF LampDownButton1-COORD Coordinate { point [
-44.82 0 0, 44.82 0 0, -44.82 41.45 0, 44.82 41.45 0]
}
texCoord DEF LampDownButton1-TEXCOORD TextureCoordinate { point [
0 0, 1 0, 0 1, 1 1, 0 0, 1 0, 0 1, 1 1, 0 0, 1 0, 0 1, 1 1]
}
coordIndex [
0, 1, 3, -1, 3, 2, 0, -1]
texCoordIndex [
4, 5, 7, -1, 7, 6, 4, -1]
}
}
#
DEF LampDownButton_Script Script {
eventIn SFTime touchTime
url "javascript:
function touchTime(nav)
{
l3dBrowser.DimHeadlight();
}"
}
ROUTE LampDownButton_TouchSensor.touchTime TO LampDownButton_Script.touchTime
]
},
DEF ViewUpButton1-ROOT Transform {
translation -19.19 22.14 0
scale 0.1032 0.2231 3.258
children [
DEF ViewUpButton_TouchSensor TouchSensor { }
Shape {
appearance Appearance {
material Material {
ambientIntensity 1
diffuseColor 0.7 0.7 0.7
shininess 0.4
transparency 0
}
texture ImageTexture {
url "netscape\up1.gif"
}
}
geometry DEF ViewUpButton1-FACES IndexedFaceSet {
ccw TRUE
solid TRUE
coord DEF ViewUpButton1-COORD Coordinate { point [
-44.82 0 0, 44.82 0 0, -44.82 41.45 0, 44.82 41.45 0]
}
texCoord DEF ViewUpButton1-TEXCOORD TextureCoordinate { point [
0 0, 1 0, 0 1, 1 1, 0 0, 1 0, 0 1, 1 1, 0 0, 1 0, 0 1, 1 1]
}
coordIndex [
0, 1, 3, -1, 3, 2, 0, -1]
texCoordIndex [
4, 5, 7, -1, 7, 6, 4, -1]
}
}
#
DEF ViewUpButton_Script Script {
eventIn SFTime touchTime
url "javascript:
function touchTime(nav)
{
l3dBrowser.GoToNextViewpoint();
}"
}
ROUTE ViewUpButton_TouchSensor.touchTime TO ViewUpButton_Script.touchTime
]
},
DEF ViewDownButton1-ROOT Transform {
translation -19.19 10.53 0
scale 0.1032 0.2231 3.258
children [
DEF ViewDownButton_TouchSensor TouchSensor { }
Shape {
appearance Appearance {
material Material {
ambientIntensity 1
diffuseColor 0.7 0.7 0.7
shininess 0.4
transparency 0
}
texture ImageTexture {
url "netscape\down1.gif"
}
}
geometry DEF ViewDownButton1-FACES IndexedFaceSet {
ccw TRUE
solid TRUE
coord DEF ViewDownButton1-COORD Coordinate { point [
-44.82 0 0, 44.82 0 0, -44.82 41.45 0, 44.82 41.45 0]
}
texCoord DEF ViewDownButton1-TEXCOORD TextureCoordinate { point [
0 0, 1 0, 0 1, 1 1, 0 0, 1 0, 0 1, 1 1, 0 0, 1 0, 0 1, 1 1]
}
coordIndex [
0, 1, 3, -1, 3, 2, 0, -1]
texCoordIndex [
4, 5, 7, -1, 7, 6, 4, -1]
}
}
#
DEF ViewDownButton_Script Script {
eventIn SFTime touchTime
url "javascript:
function touchTime(nav)
{
l3dBrowser.GoToPrevViewpoint();
}"
}
ROUTE ViewDownButton_TouchSensor.touchTime TO ViewDownButton_Script.touchTime
]
}
]
}
]
}
# these need to be at the bottom because they refer to things defined after the button
ROUTE WalkButton_Passive_Script.large TO SpinButton_Passive.scale
ROUTE WalkButton_Passive_Script.small TO SpinButton_Active.scale
ROUTE WalkButton_Passive_Script.large TO LookButton_Passive.scale
ROUTE WalkButton_Passive_Script.small TO LookButton_Active.scale
ROUTE WalkButton_Passive_Script.large TO SlideButton_Passive.scale
ROUTE WalkButton_Passive_Script.small TO SlideButton_Active.scale
ROUTE SpinButton_Passive_Script.large TO WalkButton_Passive.scale
ROUTE SpinButton_Passive_Script.small TO WalkButton_Active.scale
ROUTE SpinButton_Passive_Script.large TO LookButton_Passive.scale
ROUTE SpinButton_Passive_Script.small TO LookButton_Active.scale
ROUTE SpinButton_Passive_Script.large TO SlideButton_Passive.scale
ROUTE SpinButton_Passive_Script.small TO SlideButton_Active.scale
ROUTE LookButton_Passive_Script.large TO WalkButton_Passive.scale
ROUTE LookButton_Passive_Script.small TO WalkButton_Active.scale
ROUTE LookButton_Passive_Script.large TO SpinButton_Passive.scale
ROUTE LookButton_Passive_Script.small TO SpinButton_Active.scale
ROUTE LookButton_Passive_Script.large TO SlideButton_Passive.scale
ROUTE LookButton_Passive_Script.small TO SlideButton_Active.scale
ROUTE SlideButton_Passive_Script.large TO WalkButton_Passive.scale
ROUTE SlideButton_Passive_Script.small TO WalkButton_Active.scale
ROUTE SlideButton_Passive_Script.large TO SpinButton_Passive.scale
ROUTE SlideButton_Passive_Script.small TO SpinButton_Active.scale
ROUTE SlideButton_Passive_Script.large TO LookButton_Passive.scale
ROUTE SlideButton_Passive_Script.small TO LookButton_Active.scale