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" }
]}