media @ VU
web3d-x-layer.vr
web3d-x-layer.vr
(wrl
)
[ flux /
bitmanagement /
cortona /
octaga
]
Web3D/VR
layers
extern
## do nt forget to include the extern proto
#@extern @vr/extern/blaxxun/Layer3D.wrl
layer
## you cannot use inline to connect!
Viewpoint { position 0 0 10 }
Background { skyColor 1 0 0 }
DEF layer Layer3D
{
depth -100
translation 0.1 0.05
size 0.8 0.2
background Background { skyColor [ 0 1 1 ] }
viewpoint Viewpoint { position 0 0 10 }
children [
Transform {
translation 0 0 -10
scale 100 100 100
children [
## needs light
DEF inline Inline { url "@vr-web3d-light-cone.wrl" }
] }
]
}
Transform {
scale 20 20 20
translation -2 0 0
children [
## does not need light
Inline { url "@vr-web3d-light-cone.wrl" }
]}
Transform {
scale 20 20 20
translation 2 0 0
children [
## does not need light
Inline { url "@vr-web3d-cone.wrl" }
]}
(C) A. Eliëns
21/5/2007
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.