#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_cutOffAnglesim2.x3d"
META "MovingImage" "test-cutOffAnglesim2-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 cutOffAngle 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 cutOffAngle is increased as the animation progesses. The animation is started by clicking on the text above the geometry. The beamWidth is set to 0.2 for for the light and is never changed. This should cause that only the area bounded by the beamWidth value be illuminated at full intensity. The area between the cutOffAngle and the beamWidth will receive gradually less amount of light. A browser may choose to ignore the beamWidth field."
META "identifier" "https://www.web3d.org/x3d/content/examples/ConformanceNist/Lights/SpotLight/test_cutOffAnglesim2.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_cutOffAnglesim2.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.2
cutOffAngle 0.2
location 0 0 7
radius 7
}
DEF text-time TimeSensor {
}
DEF the-time TimeSensor {
cycleInterval 8
}
DEF the-cutoff ScalarInterpolator {
key [ 0 0.2 0.4 0.6 0.8 1 ]
keyValue [ 0.1 0.3 0.6 0.9 1.4 1.57079 ]
}
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-cutoff.set_fraction
ROUTE the-cutoff.value_changed TO the-light.cutOffAngle