home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Late Night VRML 2.0 with Java CD-ROM
/
code.zip
/
Ch10
/
5041103.wrl
< prev
next >
Wrap
Text File
|
1996-12-17
|
964b
|
49 lines
#VRML V2.0 utf8
#Example 11.3 - GIF89a Transparency
NavigationInfo {
type EXAMINE
}
Viewpoint {
position 0 0 5
orientation 0 0 1 0
fieldOfView 0.785398
}
Group {
children [
Shape {
appearance Appearance {
material Material {
ambientIntensity 0.2
diffuseColor 0.8 0.8 0.8
}
texture ImageTexture {
url "tree-1.gif"
}
}
geometry IndexedFaceSet {
coord Coordinate {
point [ -1 -1 0,
1 -1 0,
1 1 0,
-1 1 0 ]
}
coordIndex [ 0, 1, 2, 3, -1 ]
}
}
Transform {
children Shape {
appearance Appearance {
material Material {
ambientIntensity 0.2
diffuseColor 0.8 0.2 0.1
}
}
geometry Box {
}
}
translation 0 0 -3
}
]
}
#EOF