<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://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 =' https://www.web3d.org/specifications/x3d-3.0.xsd '>
<head>
<component level='1name='NURBS'/>
<meta name='titlecontent='NurbsCurveExample.x3d'/>
<meta name='descriptioncontent='NurbsCurve exemplar showing controlPoint animation. Upper example has knot values explicitly defined, lower example has implicit knot values.'/>
<meta name='creatorcontent='Charles Adams, Vincent Marchetti, Don Brutzman'/>
<meta name='createdcontent='4 February 2003'/>
<meta name='modifiedcontent='20 October 2019'/>
<meta name='MovingImagecontent='videos/NurbsCurveExample.mov'/>
<meta name='TODOcontent='check NurbsCurve containerField handling and weight defaults'/>
<meta name='referencecontent=' http://edocs.nps.edu/npspubs/scholarly/theses/2003/Jun/03Jun_Adams.pdf '/>
<meta name='subjectcontent='NURBS Curve Example'/>
<meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Basic/NURBS/NurbsCurveExample.x3d '/>
<meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../license.html'/>
</head>
<!-- -->
<Scene>
<WorldInfo title='NurbsCurveExample.x3d'/>
<Viewpoint description='NurbsCurveposition='12 7 18'/>
<Transform translation='0 5 0'>
<Shape>
<NurbsCurve DEF='NurbsCurveKnottedknot='0 0 0 0 0.5 1 1 1 1order='4tessellation='30weight='1 1 1 1 1'>
<!-- ROUTE information for np node:  [from ci.value_changed to set_point ] -->
<Coordinate DEF='npcontainerField='controlPointpoint='4 6 0 7 12 0 11 6 0 15 2 0 20 6 0'/>
</NurbsCurve>
<Appearance DEF='LightGreenAppearance'>
<Material diffuseColor='0.8 1 0.8emissiveColor='0.8 1 0.8'/>
</Appearance>
</Shape>
<Transform translation='0 7 0'>
<Shape>
<Text string='"NurbsCurve with knots"'/>
<Appearance USE='LightGreenAppearance'/>
</Shape>
</Transform>
</Transform>
<Shape>
<NurbsCurve DEF='NurbsCurveUnknottedorder='4tessellation='30'>
<Coordinate USE='npcontainerField='controlPoint'/>
</NurbsCurve>
<Appearance DEF='LightBlueAppearance'>
<Material diffuseColor='0.8 0.8 1emissiveColor='0.8 0.8 1'/>
</Appearance>
</Shape>
<Transform translation='0 7 0'>
<Shape>
<Text string='"NurbsCurve without knots"'/>
<Appearance USE='LightBlueAppearance'/>
</Shape>
</Transform>
<!-- ROUTE information for ci node:  [from ts.fraction_changed to set_fraction ] [from value_changed to np.set_point ] -->
<CoordinateInterpolator DEF='cikey='0 .5 1keyValue='4 6 0 7 12 0 11 6 0 15 2 0 20 6 0 4 6 0 7 0 0 11 6 0 15 10 0 20 6 0 4 6 0 7 12 0 11 6 0 15 2 0 20 6 0'/>
<!-- ROUTE information for ts node:  [from fraction_changed to ci.set_fraction ] -->
<TimeSensor DEF='tscycleInterval='6loop='true'/>
<ROUTE fromNode='tsfromField='fraction_changedtoNode='citoField='set_fraction'/>
<ROUTE fromNode='cifromField='value_changedtoNode='nptoField='set_point'/>
<!-- Authoring hint -->
<Transform DEF='GridXY_20x20Fixed_AdjustScaletranslation='12 7 0'> </Transform>
</Scene>
</X3D>
<!--

Index for DEF nodes : ci, GridXY_20x20Fixed, GridXY_20x20Fixed_AdjustScale, LightBlueAppearance, LightGreenAppearance, np, NurbsCurveKnotted, NurbsCurveUnknotted, ts

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