<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "http://www.web3d.org/specifications/x3d-3.0.dtd">
<X3D profile='Immersive' version='3.0 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation =' http://www.web3d.org/specifications/x3d-3.0.xsd '>
<head>
<meta name='titlecontent='default_color.x3d'/>
<meta name='referencecontent=' http://www.nist.gov/vrml.html '/>
<meta name='referencecontent=' http://www.itl.nist.gov/div897/ctg/vrml/vrml.html '/>
<meta name='creatorcontent=' http://www.itl.nist.gov/div897/ctg/vrml/members.html '/>
<meta name='disclaimercontent=' 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 name='infocontent='Correct definition and compliance of this conformance scene is maintained by the X3D Working Group, http://www.web3d.org/working-groups/x3d'/>
<meta name='translatorcontent='Michael Kass NIST, Don Brutzman NPS'/>
<meta name='translatedcontent='21 January 2001'/>
<meta name='modifiedcontent='15 November 2015'/>
<meta name='descriptioncontent='Test default Fog color. A Fog node with a default color is present in this world. A Box geometry moves forward and backward through the world. Because the default value of the "color" field is "1 1 1", the Fog will have a white color. The result should be: The white Box should vary in intensity as it moves backward and forward through the world; being brightest at its farthest point from the viewer, and at its lowest intensity when at its closest point to the viewer.'/>
<meta name='identifiercontent=' http://www.web3d.org/x3d/content/examples/ConformanceNist/BindableNodes/Fog/default_color.x3d '/>
<meta name='generatorcontent='Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html'/>
<meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../../license.html'/>
</head>
<!--

Index for DEF nodes : COLOR, DEFAULT_FOG, DEFAULT_TEXT, POSITION, STACKSCRIPT, TIME, TRANS

Index for Viewpoint image : Viewpoint_1
-->
<Scene>
<NavigationInfo type='"EXAMINE" "WALK" "FLY" "ANY"'/>
<Viewpoint description='Front View'/>
<!-- ROUTE information for DEFAULT_FOG node:  [from isBound to STACKSCRIPT.queryDefault ] -->
<Fog DEF='DEFAULT_FOGvisibilityRange='40'/>
<!-- ROUTE information for TIME node:  [from fraction_changed to POSITION.set_fraction ] -->
<TimeSensor DEF='TIMEcycleInterval='10loop='true'/>
<!-- ROUTE information for POSITION node:  [from TIME.fraction_changed to set_fraction ] [from value_changed to TRANS.set_translation ] -->
<PositionInterpolator DEF='POSITIONkey='0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1keyValue='0 0 -50 0 0 -40 0 0 -30 0 0 -20 0 0 -10 0 0 0 0 0 -10 0 0 -20 0 0 -30 0 0 -40 0 0 -50'/>
<!-- ROUTE information for TRANS node:  [from POSITION.value_changed to set_translation ] -->
<Transform DEF='TRANS'>
<Shape>
<Appearance>
<Material DEF='COLORdiffuseColor='0 0 0'/>
</Appearance>
<Box size='3 3 3'/>
</Shape>
</Transform>
<Transform translation='-3.5 3 0'>
<Shape>
<Appearance>
<Material diffuseColor='1 1 1'/>
</Appearance>
<Text string='"Default color = 1 1 1"'>
<FontStyle style='BOLD'/>
</Text>
</Shape>
</Transform>
<Transform translation='-3 -3 0'>
<Shape>
<Appearance>
<Material diffuseColor='1 1 1'/>
</Appearance>
<Text DEF='DEFAULT_TEXTstring='"message from Script is inserted here"'>
<FontStyle style='BOLD'/>
</Text>
</Shape>
</Transform>
<!-- ROUTE information for STACKSCRIPT node:  [from DEFAULT_FOG.isBound to queryDefault ] -->
<Script DEF='STACKSCRIPTdirectOutput='true'
  url=' "default_color.js" "http://www.web3d.org/x3d/content/examples/ConformanceNist/BindableNodes/Fog/default_color.js" '>
<field name='defaultFogtype='SFNodeaccessType='initializeOnly'>
<Fog USE='DEFAULT_FOG'/>
</field>
<field name='defaultTexttype='SFNodeaccessType='initializeOnly'>
<Text USE='DEFAULT_TEXT'/>
</field>
<field name='defaultTrueStringtype='MFStringvalue='"true"accessType='initializeOnly'/>
<field name='defaultFalseStringtype='MFStringvalue='"false"accessType='initializeOnly'/>
<field name='queryDefaulttype='SFBoolaccessType='inputOnly'/>
</Script>
<ROUTE fromNode='DEFAULT_FOGfromField='isBoundtoNode='STACKSCRIPTtoField='queryDefault'/>
<ROUTE fromNode='TIMEfromField='fraction_changedtoNode='POSITIONtoField='set_fraction'/>
<ROUTE fromNode='POSITIONfromField='value_changedtoNode='TRANStoField='set_translation'/>
</Scene>
</X3D>
<!--

Index for DEF nodes : COLOR, DEFAULT_FOG, DEFAULT_TEXT, POSITION, STACKSCRIPT, TIME, TRANS

Index for Viewpoint image : Viewpoint_1
-->

<!-- Color key: <X3dNode DEF='idName' field='value'/> matches <XmlElement DEF='idName' attribute='value'/>
(Light blue background: behavior node) (Grey background: inserted documentation) (Magenta background: X3D extensibility)
-->

<!-- Additional help information about X3D scenes: X3D Resources, X3D Scene Authoring Hints and X3D Tooltips -->