<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 4.0//EN" "https://www.web3d.org/specifications/x3d-4.0.dtd">
<X3D profile='Immersive' version='4.0 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation =' https://www.web3d.org/specifications/x3d-4.0.xsd '>
<head>
<meta name='titlecontent='VisibleShapesTest.x3d'/>
<meta name='descriptioncontent='Test scene for visible field on X3DBoundedObject nodes, which is new to X3Dv4.'/>
<meta name='createdcontent='18 January 2020'/>
<meta name='modifiedcontent='18 January 2020'/>
<meta name='creatorcontent='Don Brutzman'/>
<meta name=' warning content=' under development and testing for X3Dv4 '/>
<meta name='identifiercontent=' https://x3dgraphics.com/examples/X3dForAdvancedModeling/Animation/VisibleShapesTest.x3d '/>
<meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../license.html'/>
</head>
<!-- -->
<Scene>
<WorldInfo title='VisibleShapesTest.x3d'/>
<Viewpoint DEF='EntryViewdescription='Visible Shapes Testposition='0 0 12'/>
<!-- ROUTE information for BoxGroupingNode node:  [from Pulsar1.value_changed to visible ] -->
<Transform DEF='BoxGroupingNodetranslation='-4 2 0'>
<Shape DEF='BoxShape'>
<Box/>
<Appearance>
<Material DEF='ReddiffuseColor='1 0 0'/>
</Appearance>
</Shape>
<Transform translation='0 -4 0'>
<Shape DEF='BoxVisibleText'>
<Text string='"Box visible"'>
<FontStyle DEF='TextStylefamily='"SANS"justify='"MIDDLE" "MIDDLE"style='BOLD'/>
</Text>
<Appearance>
<Material USE='Red'/>
</Appearance>
</Shape>
</Transform>
<!-- ROUTE information for Pulsar1 node:  [from SequencerClock.fraction_changed to set_fraction ] [from value_changed to BoxGroupingNode.visible ] -->
<BooleanSequencer DEF='Pulsar1key='0 0.25 0.5 0.75 1keyValue='true false true true truecontainerField='children'/>
<ROUTE fromNode='Pulsar1fromField='value_changedtoNode='BoxGroupingNodetoField='visible'/>
</Transform>
<Transform DEF='SphereGroupingNodetranslation='-6 2 0'>
<!-- ROUTE information for SphereShape node:  [from Pulsar2.value_changed to visible ] -->
<Shape DEF='SphereShape'>
<Sphere/>
<Appearance>
<Material DEF='GreendiffuseColor='0 1 0'/>
</Appearance>
</Shape>
<Transform translation='0 -4 0'>
<Shape DEF='SphereVisibleText'>
<Text string='"Sphere visible"'>
<FontStyle USE='TextStyle'/>
</Text>
<Appearance>
<Material USE='Green'/>
</Appearance>
</Shape>
</Transform>
<!-- ROUTE information for Pulsar2 node:  [from SequencerClock.fraction_changed to set_fraction ] [from value_changed to SphereShape.visible ] -->
<BooleanSequencer DEF='Pulsar2key='0 0.25 0.5 0.75 1keyValue='true true false true truecontainerField='children'/>
<ROUTE fromNode='Pulsar2fromField='value_changedtoNode='SphereShapetoField='visible'/>
</Transform>
<Transform DEF='CylinderGroupingNodetranslation='-4 2 0'>
<Shape DEF='CylinderShape'>
<Cylinder/>
<Appearance>
<Material DEF='BluediffuseColor='0 0 1'/>
</Appearance>
</Shape>
<Transform translation='0 -4 0'>
<!-- ROUTE information for CylinderVisibleText node:  [from Pulsar3.value_changed to visible ] -->
<Shape DEF='CylinderVisibleText'>
<Text string='"Cylinder visible"'>
<FontStyle USE='TextStyle'/>
</Text>
<Appearance>
<Material USE='Blue'/>
</Appearance>
</Shape>
</Transform>
<!-- ROUTE information for Pulsar3 node:  [from SequencerClock.fraction_changed to set_fraction ] [from value_changed to CylinderVisibleText.visible ] -->
<BooleanSequencer DEF='Pulsar3key='0 0.25 0.5 0.75 1keyValue='true true true false truecontainerField='children'/>
<ROUTE fromNode='Pulsar3fromField='value_changedtoNode='CylinderVisibleTexttoField='visible'/>
</Transform>
<!-- ROUTE information for SequencerClock node:  [from fraction_changed to Pulsar1.set_fraction ] [from fraction_changed to Pulsar2.set_fraction ] [from fraction_changed to Pulsar3.set_fraction ] -->
<TimeSensor DEF='SequencerClockcycleInterval='8loop='true'/>
<ROUTE fromNode='SequencerClockfromField='fraction_changedtoNode='Pulsar1toField='set_fraction'/>
<ROUTE fromNode='SequencerClockfromField='fraction_changedtoNode='Pulsar2toField='set_fraction'/>
<ROUTE fromNode='SequencerClockfromField='fraction_changedtoNode='Pulsar3toField='set_fraction'/>
</Scene>
</X3D>
<!--

Index for DEF nodes : Blue, BoxGroupingNode, BoxShape, BoxVisibleText, CylinderGroupingNode, CylinderShape, CylinderVisibleText, EntryView, Green, Pulsar1, Pulsar2, Pulsar3, Red, SequencerClock, SphereGroupingNode, SphereShape, SphereVisibleText, TextStyle

Index for Viewpoint image : EntryView
-->

<!-- 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)
-->

<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources and X3D Scene Authoring Hints. -->