@prefix :        <https://www.web3d.org/x3d/content/examples/ConformanceNist/Lights/DirectionalLight/test_direffect_diffusesim.ttl#> .
@prefix owl:     <http://www.w3.org/2002/07/owl#> .
@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema:  <http://schema.org/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
@prefix x3d:     <https://www.web3d.org/specifications/x3d-4.0.xsd#> .
@prefix x3do:    <https://www.web3d.org/specifications/X3dOntology4.0#> .

:X3D a owl:NamedIndividual, x3do:X3D ;
  x3do:hasHead :head ;
  x3do:hasScene :Scene ;
  x3do:profile 'Immersive' ;
  x3do:version '3.0' ;
  x3do:noNamespaceSchemaLocation 'https://www.web3d.org/specifications/x3d-3.0.xsd' .
:head a owl:NamedIndividual, x3do:head ;
  x3do:hasParent :X3D ;
  x3do:hasMeta :meta_1_1, :meta_1_2, :meta_1_3, :meta_1_4, :meta_1_5, :meta_1_6, :meta_1_7, :meta_1_8, :meta_1_9, :meta_1_10, :meta_1_11, :meta_1_12, :meta_1_13, :meta_1_14, :meta_1_15, :meta_1_16, :meta_1_17, :meta_1_18 .
:meta_1_1 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'test_direffect_diffusesim.x3d' ;
  x3do:name 'title' .
:meta_1_2 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'test-direffect-diffusesim-movie.mpg' ;
  x3do:name 'MovingImage' .
:meta_1_3 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'http://www.nist.gov/vrml.html' ;
  x3do:name 'reference' .
:meta_1_4 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'http://www.itl.nist.gov/div897/ctg/vrml/vrml.html' ;
  x3do:name 'reference' .
:meta_1_5 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'http://www.itl.nist.gov/div897/ctg/vrml/members.html' ;
  x3do:name 'creator' .
:meta_1_6 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '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 (NIST). 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.' ;
  x3do:name 'disclaimer' .
:meta_1_7 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Original NIST Conformance Testing Group, https://www.itl.nist.gov/div897/ctg/vrml' ;
  x3do:name 'reference' .
:meta_1_8 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Interactive Conformance Testing for VRML, Mary Brady and Lynn Rosenthal, NIST, created 8 September 2010 and updated 25 August 2016, https://www.nist.gov/itl/ssd/information-systems-group/interactive-conformance-testing-vrml' ;
  x3do:name 'reference' .
:meta_1_9 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Correct definition and compliance of this conformance scene is maintained by the X3D Working Group, https://www.web3d.org/working-groups/x3d' ;
  x3do:name 'info' .
:meta_1_10 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Michael Kass NIST' ;
  x3do:name 'creator' .
:meta_1_11 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Don Brutzman' ;
  x3do:name 'translator' .
:meta_1_12 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '21 January 2001' ;
  x3do:name 'translated' .
:meta_1_13 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '28 August 2023' ;
  x3do:name 'modified' .
:meta_1_14 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'This test addresses the effect of the light direction on the diffuse color of a simple geometry. One simple geometry (sphere) is drawn in the local coordinate system and a DirectionalLight is also defined with intensity 1 and color 1 1 1. The test starts by clicking on the text above the geometry. The direction of the light is increased as the animation progresses and the diffuse color brightness of the object should also increase at those points where the light shines directly on the object. The direction values used are: 1 0 0,0 0 -1,1 0 0,0 0 1. The geometry are originally defined with a diffuseColor of 0 0 1.' ;
  x3do:name 'description' .
:meta_1_15 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/x3d/content/examples/ConformanceNist/Lights/DirectionalLight/test_direffect_diffusesim.x3d' ;
  x3do:name 'identifier' .
:meta_1_16 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html' ;
  x3do:name 'generator' .
:meta_1_17 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit' ;
  x3do:name 'generator' .
:meta_1_18 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '../../license.html' ;
  x3do:name 'license' .
:meta dcterms:title "test_direffect_diffusesim.x3d" .
:meta dcterms:MovingImage "test-direffect-diffusesim-movie.mpg" .
:meta dcterms:reference "http://www.nist.gov/vrml.html" .
:meta dcterms:reference "http://www.itl.nist.gov/div897/ctg/vrml/vrml.html" .
:meta dcterms:creator "http://www.itl.nist.gov/div897/ctg/vrml/members.html" .
:meta dcterms:reference "Original NIST Conformance Testing Group, https://www.itl.nist.gov/div897/ctg/vrml" .
:meta dcterms:reference "Interactive Conformance Testing for VRML, Mary Brady and Lynn Rosenthal, NIST, created 8 September 2010 and updated 25 August 2016, https://www.nist.gov/itl/ssd/information-systems-group/interactive-conformance-testing-vrml" .
:meta dcterms:info "Correct definition and compliance of this conformance scene is maintained by the X3D Working Group, https://www.web3d.org/working-groups/x3d" .
:meta dcterms:creator "Michael Kass NIST" .
:meta dcterms:translator "Don Brutzman" .
:meta dcterms:translated "21 January 2001" .
:meta dcterms:modified "28 August 2023" .
:meta dcterms:description "This test addresses the effect of the light direction on the diffuse color of a simple geometry. One simple geometry (sphere) is drawn in the local coordinate system and a DirectionalLight is also defined with intensity 1 and color 1 1 1. The test starts by clicking on the text above the geometry. The direction of the light is increased as the animation progresses and the diffuse color brightness of the object should also increase at those points where the light shines directly on the object. The direction values used are: 1 0 0,0 0 -1,1 0 0,0 0 1. The geometry are originally defined with a diffuseColor of 0 0 1." .
:meta dcterms:identifier "https://www.web3d.org/x3d/content/examples/ConformanceNist/Lights/DirectionalLight/test_direffect_diffusesim.x3d" .
:meta dcterms:generator "Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html" .
:meta dcterms:generator "X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit" .
:meta dcterms:license "../../license.html" .
:Scene a owl:NamedIndividual, x3do:Scene ;
  x3do:hasParent :X3D ;
  x3do:hasChildren :WorldInfo_2_1, :Group_2_2, :Background_2_3, :NavigationInfo_2_4, :PointLight_2_5, :SpotLight_2_6, :Transform_2_7, :text-time, :the-time, :the-direction, :text-color, :Group_2_12 ;
  x3do:hasROUTE :ROUTE_2_13, :ROUTE_2_14, :ROUTE_2_15, :ROUTE_2_16, :ROUTE_2_17, :ROUTE_2_18 .
:WorldInfo_2_1 a owl:NamedIndividual, x3do:WorldInfo ;
  x3do:hasParent :Scene ;
  x3do:title 'test_direffect_diffusesim.x3d' .
:Group_2_2 a owl:NamedIndividual, x3do:Group ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :Viewpoint_2_2_1, :Viewpoint_2_2_2, :Viewpoint_2_2_3, :Viewpoint_2_2_4 .
:Viewpoint_2_2_1 a owl:NamedIndividual, x3do:Viewpoint ;
  x3do:hasParent :Group_2_2 ;
  x3do:description 'Front View' ;
  x3do:position ( 0 0 15 ) .
:Viewpoint_2_2_2 a owl:NamedIndividual, x3do:Viewpoint ;
  x3do:hasParent :Group_2_2 ;
  x3do:description 'Left View' ;
  x3do:orientation ( 0 1 0 -1.57 ) ;
  x3do:position ( -15 0 0 ) .
:Viewpoint_2_2_3 a owl:NamedIndividual, x3do:Viewpoint ;
  x3do:hasParent :Group_2_2 ;
  x3do:description 'Right View' ;
  x3do:orientation ( 0 1 0 1.57 ) ;
  x3do:position ( 15 0 0 ) .
:Viewpoint_2_2_4 a owl:NamedIndividual, x3do:Viewpoint ;
  x3do:hasParent :Group_2_2 ;
  x3do:description 'Rear View' ;
  x3do:orientation ( 0 1 0 3.14 ) ;
  x3do:position ( 0 0 -15 ) .
:Background_2_3 a owl:NamedIndividual, x3do:Background ;
  x3do:hasParent :Scene ;
  x3do:groundColor ( 0 0 0 ) ;
  x3do:skyColor ( 0.8 0.8 0.8 ) .
:NavigationInfo_2_4 a owl:NamedIndividual, x3do:NavigationInfo ;
  x3do:hasParent :Scene ;
  x3do:headlight false ;
  x3do:type '"EXAMINE" "WALK" "FLY" "ANY"' .
:PointLight_2_5 a owl:NamedIndividual, x3do:PointLight ;
  x3do:hasParent :Scene ;
  x3do:on false .
:SpotLight_2_6 a owl:NamedIndividual, x3do:SpotLight ;
  x3do:hasParent :Scene ;
  x3do:beamWidth 1.570796 ;
  x3do:cutOffAngle .785398 ;
  x3do:on false .
:Transform_2_7 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :Shape_2_7_1, :the-touch ;
  x3do:scale ( 0.02 0.02 0.02 ) ;
  x3do:translation ( -3.4 3 0 ) .
:Shape_2_7_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_7 ;
  x3do:hasAppearance :the-appearance ;
  x3do:hasGeometry :Text_2_7_1_2 .
:the-appearance a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_7_1 ;
  x3do:hasMaterial :the-click ;
  x3do:DEF 'the-appearance' .
:the-click a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :the-appearance ;
  x3do:DEF 'the-click' ;
  x3do:ambientIntensity 1 ;
  x3do:emissiveColor ( 0 0 1 ) .
:Text_2_7_1_2 a owl:NamedIndividual, x3do:Text ;
  x3do:hasParent :Shape_2_7_1 ;
  x3do:hasFontStyle :FontStyle_2_7_1_2_1 ;
  x3do:string '"CLICK HERE TO START"' .
:FontStyle_2_7_1_2_1 a owl:NamedIndividual, x3do:FontStyle ;
  x3do:hasParent :Text_2_7_1_2 ;
  x3do:size 32 ;
  x3do:cssStyle 'BOLD' .
:the-touch a owl:NamedIndividual, x3do:TouchSensor ;
  x3do:hasParent :Transform_2_7 ;
  x3do:DEF 'the-touch' ;
  x3do:description 'touch to activate' .
:text-time a owl:NamedIndividual, x3do:TimeSensor ;
  x3do:hasParent :Scene ;
  x3do:DEF 'text-time' .
:the-time a owl:NamedIndividual, x3do:TimeSensor ;
  x3do:hasParent :Scene ;
  x3do:DEF 'the-time' ;
  x3do:cycleInterval '6' .
:the-direction a owl:NamedIndividual, x3do:PositionInterpolator ;
  x3do:hasParent :Scene ;
  x3do:DEF 'the-direction' ;
  x3do:key ( 0.25 0.5 0.75 1 ) ;
  x3do:keyValue ( 1 0 0 0 0 -1 -1 0 0 0 0 1 ) .
:text-color a owl:NamedIndividual, x3do:ColorInterpolator ;
  x3do:hasParent :Scene ;
  x3do:DEF 'text-color' ;
  x3do:key ( 0 0.5 1 ) ;
  x3do:keyValue ( 0 0 1 1 1 1 0 0 1 ) .
:Group_2_12 a owl:NamedIndividual, x3do:Group ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :the-light, :Transform_2_12_2 .
:the-light a owl:NamedIndividual, x3do:DirectionalLight ;
  x3do:hasParent :Group_2_12 ;
  x3do:DEF 'the-light' .
:Transform_2_12_2 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Group_2_12 ;
  x3do:hasChildren :Shape_2_12_2_1 .
:Shape_2_12_2_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_12_2 ;
  x3do:hasAppearance :Appearance_2_12_2_1_1 ;
  x3do:hasGeometry :Sphere_2_12_2_1_2 .
:Appearance_2_12_2_1_1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_12_2_1 ;
  x3do:hasMaterial :Material_2_12_2_1_1_1 .
:Material_2_12_2_1_1_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_12_2_1_1 ;
  x3do:diffuseColor ( 0 0 1 ) .
:Sphere_2_12_2_1_2 a owl:NamedIndividual, x3do:Sphere ;
  x3do:hasParent :Shape_2_12_2_1 ;
  x3do:radius 2.5 .
:ROUTE_2_13 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'touchTime' ;
  x3do:fromNode 'the-touch' ;
  x3do:toField 'startTime' ;
  x3do:toNode 'the-time' .
:ROUTE_2_14 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'touchTime' ;
  x3do:fromNode 'the-touch' ;
  x3do:toField 'startTime' ;
  x3do:toNode 'text-time' .
:ROUTE_2_15 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'fraction_changed' ;
  x3do:fromNode 'the-time' ;
  x3do:toField 'set_fraction' ;
  x3do:toNode 'the-direction' .
:ROUTE_2_16 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'fraction_changed' ;
  x3do:fromNode 'text-time' ;
  x3do:toField 'set_fraction' ;
  x3do:toNode 'text-color' .
:ROUTE_2_17 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'value_changed' ;
  x3do:fromNode 'text-color' ;
  x3do:toField 'emissiveColor' ;
  x3do:toNode 'the-click' .
:ROUTE_2_18 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'value_changed' ;
  x3do:fromNode 'the-direction' ;
  x3do:toField 'direction' ;
  x3do:toNode 'the-light' .
