www.pudn.com > vrmlExample.rar > 4-1-3.wrl
#VRML V2.0 utf8
NavigationInfo
{
type "EXAMINE"
headlight FALSE
}
Viewpoint
{
position 0 0 10.0
}
DirectionalLight
{
on TRUE
intensity 1
direction 2 -1 -1
}
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
}
}
]
}