#X3D V3.0 utf8
# X3D-to-ClassicVRML XSL translation autogenerated by X3dToVrml97.xslt
# https://www.web3d.org/x3d/content/X3dToVrml97.xslt
# Generated using XSLT processor: Saxonica
PROFILE Immersive
# [X3D] version=3.0
# [X3D] noNamespaceSchemaLocation=https://www.web3d.org/specifications/x3d-3.0.xsd
# [head]
META "title" "test_beamWidthsim1.x3d"
META "MovingImage" "test-beamWidthsim1-movie.mpg"
META "reference" "http://www.nist.gov/vrml.html"
META "reference" "http://www.itl.nist.gov/div897/ctg/vrml/vrml.html"
META "creator" "http://www.itl.nist.gov/div897/ctg/vrml/members.html"
META "disclaimer" "This file was provided by the National Institute of Standards and Technology, and is part of the X3D Conformance Test Suite, available at http://www.nist.gov/vrml.html The information contained within this file is provided for use in establishing conformance to the ISO VRML97 Specification. Conformance to this test does not imply recommendation or endorsement by the National Institute of Standards and Technology. This software can be redistributed and/or modified freely provided that any derivative works bear some notice that they are derived from it, and any modified versions bear some notice that they have been modified."
META "info" "Correct definition and compliance of this conformance scene is maintained by the X3D Working Group, https://www.web3d.org/working-groups/x3d"
### Info:
META "translator" "Michael Kass NIST, Don Brutzman NPS"
META "translated" "21 January 2001"
META "modified" "20 October 2019"
META "description" "Test browser to set the beamWidth field to a range of values on a set of a simple geometry (sphere) Seven rows of spheres are drawn in the local coordinate system and a single SpotLight is defined at the center. The lights beamWidth is increased as the animation progesses. The animation is started by clicking on the text above the geometry. The cutOffAngle is set to 1.570796 for the light and is never changed. This should cause the whole area illuminated by the light to be lighted at full intensity gradually as the beamWidth is increased. The area of illumination shall be no larger than the maximum value for the cutOffAngle (1.570796). A browser may choose to ignore the beamWidth field."
META "identifier" "https://www.web3d.org/x3d/content/examples/ConformanceNist/Lights/SpotLight/test_beamWidthsim1.x3d"
META "generator" "Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html"
META "generator" "X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit"
META "license" "../../license.html"
# [Scene] ========== ========== ==========
WorldInfo {
title "test_beamWidthsim1.x3d"
}
Group {
children [
Viewpoint {
description "Front View"
position 0 0 15
}
]
}
Background {
groundColor [ 0 0 0 ]
skyColor [ 1 0 0 ]
}
NavigationInfo {
headlight FALSE
type [ "EXAMINE" "WALK" "FLY" "ANY" ]
}
PointLight {
on FALSE
}
DirectionalLight {
on FALSE
}
Transform {
scale 0.02 0.02 0.02
translation -3.4 4 0
children [
Shape {
appearance Appearance {
material DEF the-click Material {
ambientIntensity 1
emissiveColor 0 0 1
}
}
geometry Text {
string [ "CLICK HERE TO START" ]
fontStyle FontStyle {
size 32
style "BOLD"
}
}
}
DEF the-touch TouchSensor {
description "touch to activate"
}
]
}
DEF the-light SpotLight {
beamWidth 0.01
cutOffAngle 1.57079
location 0 0 7
radius 7
}
DEF text-time TimeSensor {
}
DEF the-time TimeSensor {
cycleInterval 8
}
DEF the-width ScalarInterpolator {
key [ 0 0.2 0.4 0.6 0.8 1 ]
keyValue [ 0.1 0.15 0.18 0.2 0.25 0.3 ]
}
DEF text-color ColorInterpolator {
key [ 0 0.5 1 ]
keyValue [ 0 0 1 1 1 1 0 0 1 ]
}
Transform {
translation -4 0 0
children [
Shape {
appearance DEF the-appearance Appearance {
material Material {
}
}
geometry DEF the-sphere Sphere {
radius 0.4
}
}
]
}
Transform {
translation -3 0 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation -2 0 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation -1 0 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation 1 0 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation 2 0 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation 3 0 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation 4 0 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation -4 1 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation -3 1 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation -2 1 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation -1 1 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation 0 1 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation 1 1 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation 2 1 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation 3 1 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation 4 1 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation -4 2 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation -3 2 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation -2 2 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation -1 2 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation 0 2 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation 1 2 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation 2 2 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation 3 2 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation 4 2 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation -4 3 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation -3 3 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation -2 3 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation -1 3 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation 0 3 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation 1 3 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation 2 3 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation 3 3 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation 4 3 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation -4 -1 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation -3 -1 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation -2 -1 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation -1 -1 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation 0 -1 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation 1 -1 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation 2 -1 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation 3 -1 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation 4 -1 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation -4 -2 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation -3 -2 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation -2 -2 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation -1 -2 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation 0 -2 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation 1 -2 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation 2 -2 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation 3 -2 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation 4 -2 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation -4 -3 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation -3 -3 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation -2 -3 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation -1 -3 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation 0 -3 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation 1 -3 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation 2 -3 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation 3 -3 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
Transform {
translation 4 -3 0
children [
Shape {
appearance USE the-appearance
geometry USE the-sphere
}
]
}
ROUTE the-touch.touchTime TO text-time.startTime
ROUTE text-time.fraction_changed TO text-color.set_fraction
ROUTE text-color.value_changed TO the-click.emissiveColor
ROUTE the-touch.touchTime TO the-time.startTime
ROUTE the-time.fraction_changed TO the-width.set_fraction
ROUTE the-width.value_changed TO the-light.beamWidth