www.pudn.com > vrmlExample.rar > 4-1-4.wrl
#VRML V2.0 utf8
NavigationInfo
{
type "EXAMINE"
headlight FALSE
}
Viewpoint
{
position 0 0 10
description "viewFront"
}
SpotLight
{
ambientIntensity 0
attenuation 1 0 0
beamWidth 570796
color 1 1 1
cutOffAngle 0.785398
direction 0 -2 0
intensity 1
location 0 3 0
on TRUE
radius 10
}
Transform
{
translation -4 0 0
children
[
Shape
{
appearance Appearance
{
material Material
{
diffuseColor 1 1 0
}
}
geometry Sphere
{
radius 2
}
}
]
}
Transform
{
translation 0 0 0
children
[
Shape
{
appearance Appearance
{
material Material
{
diffuseColor 1 0 0
}
}
geometry Sphere
{
radius 1.5
}
}
]
}
Transform
{
translation 4 0 0
children
[
Shape
{
appearance Appearance
{
material Material
{
diffuseColor 0 0 1
}
}
geometry Sphere
{
radius 1
}
}
]
}