<?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=' NurbsPatchSurfaceExample.x3d '/>
<meta name='descriptioncontent='Animated NURBS patch'/>
<meta name='creatorcontent='Jeffrey Weekley, Charles Adams'/>
<meta name='createdcontent='6 February 2003'/>
<meta name='modifiedcontent='20 October 2019'/>
<meta name=' warning content=' missing default values for knot and weight array fields in NurbsPatchSurface (weight default: all 1 values) ; not required by X3D specification, but some browsers may fail without them. '/>
<meta name='referencecontent=' http://edocs.nps.edu/npspubs/scholarly/theses/2003/Jun/03Jun_Adams.pdf '/>
<meta name=' warning content=' under development, needs to be upgraded to final version of X3D NURBS nodes '/>
<meta name='Imagecontent='NurbsPatchSurfaceDiagram01.jpg' />
<meta name='subjectcontent='NURBS Surface Example'/>
<meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Basic/NURBS/NurbsPatchSurfaceExample.x3d '/>
<meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../license.html'/>
</head>
<!--

to top <!-- Event Graph ROUTE Table shows event connections -->
 
<!-- Index for DEF nodes: CI, NC, NS, TS

Index for Viewpoint node: Viewpoint_1
-->
<Scene>
<WorldInfo title='NurbsPatchSurfaceExample.x3d'/>
<Viewpoint description='animatedPlaneposition='3 2 40'/>
<Transform rotation='1 0 0 -1.5'>
<Shape>
<NurbsPatchSurface DEF='NSsolid='falseuDimension='5uOrder='4uTessellation='20vDimension='5vOrder='4vTessellation='20containerField='geometry'>
<!-- ROUTE information for NC node:  [from CI.value_changed to set_point ] -->
<Coordinate DEF='NCcontainerField='controlPointpoint='-10 -10 0 -10 -5 0 -10 0 0 -10 5 0 -10 10 0 -5 -10 0 -5 -5 2.5 -5 0 5 -5 5 2.5 -5 10 0 0 -10 0 0 -5 2.5 0 0 5 0 5 2.5 0 10 0 5 -10 0 5 -5 2.5 5 0 15 5 5 2.5 5 10 0 10 -10 0 10 -5 0 10 0 0 10 5 0 10 10 0'/>
</NurbsPatchSurface>
<Appearance>
<Material diffuseColor='0 1 1'/>
</Appearance>
</Shape>
</Transform>
<!-- ROUTE information for CI node:  [from TS.fraction_changed to set_fraction ] [from value_changed to NC.set_point ] -->
<CoordinateInterpolator DEF='CIkey='0 .5 1keyValue='-10 -10 0 -10 -5 0 -10 0 0 -10 5 0 -10 10 0 -5 -10 0 -5 -5 2.5 -5 0 5 -5 5 2.5 -5 10 0 0 -10 0 0 -5 2.5 0 0 5 0 5 2.5 0 10 0 5 -10 0 5 -5 2.5 5 0 15 5 5 2.5 5 10 0 10 -10 0 10 -5 0 10 0 0 10 5 0 10 10 0 -10 -10 0 -10 -5 0 -10 0 0 -10 5 0 -10 10 0 -5 -10 0 -5 -5 0 -5 0 0 -5 5 0 -5 10 0 0 -10 0 0 -5 0 0 0 0 0 5 0 0 10 0 5 -10 0 5 -5 0 5 0 0 5 5 0 5 10 0 10 -10 0 10 -5 0 10 0 0 10 5 0 10 10 0 -10 -10 0 -10 -5 0 -10 0 0 -10 5 0 -10 10 0 -5 -10 0 -5 -5 2.5 -5 0 5 -5 5 2.5 -5 10 0 0 -10 0 0 -5 2.5 0 0 5 0 5 2.5 0 10 0 5 -10 0 5 -5 2.5 5 0 15 5 5 2.5 5 10 0 10 -10 0 10 -5 0 10 0 0 10 5 0 10 10 0'/>

<!-- ROUTE information for TS node:  [from fraction_changed to CI.set_fraction ] -->
<TimeSensor DEF='TScycleInterval='6loop='true'/>

< ROUTE  fromNode=' TS' fromField='fraction_changed' toNode=' CI' toField='set_fraction'/>
< ROUTE  fromNode=' CI' fromField='value_changed' toNode=' NC' toField='set_point'/>
</Scene>
</X3D>
<!--

to top <!-- Event Graph ROUTE Table shows event connections -->
 
<!-- Index for DEF nodes: CI, NC, NS, TS

Index for Viewpoint node: Viewpoint_1
-->

Event Graph ROUTE Table with 2 ROUTE connections total, showing X3D event-model relationships for this scene.

Each row shows an event cascade that may occur during a single timestamp interval between frame renderings, as part of the X3D execution model.

TS
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(1)
CI
CoordinateInterpolator
set_fraction
SFFloat

 
 
then
CI
CoordinateInterpolator
value_changed
MFVec3f

ROUTE
event to
(2)
NC
Coordinate
set_point
MFVec3f


-->

<!-- Online at
https://www.web3d.org/x3d/content/examples/Basic/NURBS/NurbsPatchSurfaceExampleIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Basic/NURBS/NurbsPatchSurfaceExample.x3d -->

<!-- Color legend: X3D terminology <X3dNode DEF='idName' field='value'/> matches XML terminology <XmlElement DEF='idName' attribute='value'/>
(Light-blue background: event-based behavior node or statement) (Grey background inside box: inserted documentation) (Magenta background: X3D Extensibility)
-->

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