X3D Model Documentation: NurbsPatch.x3d

  1  <?xml version="1.0" encoding="UTF-8"?>
  2  <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.2//EN" "https://www.web3d.org/specifications/x3d-3.2.dtd">
  3  <X3D profile='Immersive' version='3.2 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.2.xsd'>
  4       <head>
  5            <component level='1name='NURBS'/>
  6            <meta name='titlecontent='NurbsPatch.x3d'/>
  7            <meta name='descriptioncontent='This scene contains a single NurbsPatchSurface rendering one-quarter of a cylindrical segment. The "solid" field of the surface is set false for so that surface is visible from both sides. Surface has semi-transparent material appearance. Scene also contains unit-length line segments defining x-y-z coordinate axes. Defined Viewpoints show the inner and outer sides of the cylindrical surface'/>
  8            <meta name='Imagecontent='NurbsPatch.jpg'/>
  9            <meta name='creatorcontent='Vincent Marchetti'/>
 10            <meta name='createdcontent='10 February 2012'/>
 11            <meta name='modifiedcontent='20 October 2019'/>
 12            <meta name='referencecontent='http://www.kshell.com/pages/nurbs_surface_demo'/>
 13            <meta name='Imagecontent='images/NurbsPatchH3DViewer.png'/>
 14            <meta name='Imagecontent='images/NurbsPatchInstantReality.png'/>
 15            <meta name='Imagecontent='images/NurbsPatchOctagaVS.png'/>
 16            <meta name='Imagecontent='images/NurbsPatchView3dscene.png'/>
 17            <meta name='Imagecontent='images/NurbsPatchBSContact.png'/>
 18            <meta name='Imagecontent='images/NurbsPatchXj3D.png'/>
 19            <meta name='identifiercontent='https://www.web3d.org/x3d/content/examples/Basic/NURBS/NurbsPatch.x3d'/>
 20            <meta name='generatorcontent='Python language scripting'/>
 21            <meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
 22            <meta name='licensecontent='../license.html'/>
 23       </head>
<!--

<!-- -->

<!-- to top Index for DEF node: WorldSpaceCoordinateAxes

Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2, Viewpoint_3
-->
 24       <Scene>
 25            <WorldInfo title='NurbsPatch.x3d'/>
 26            <Background skyColor='0.8 0.8 0.8'/>
 27            <Viewpoint description='view outer surfacefieldOfView='0.16628orientation='0.166 0.465 0.87 2.538position='10.55 12.855 11.111'/>
 28            <Viewpoint description='view inner surfacefieldOfView='0.16628orientation='0.797 -0.285 -0.533 1.182position='-10.55 -12.855 11.111'/>
 29            <Viewpoint centerOfRotation='0.7 0.7 0description='view from abovefieldOfView='0.16628position='0.7 0.7 10'/>
 30            <Shape>
 31                 <NurbsPatchSurface solid='falseuDimension='5uKnot='0.0 0.0 0.0 0.5 0.5 1.0 1.0 1.0vDimension='2vKnot='0.0 0.0 1.0 1.0vOrder='2weight='1.0 0.923879181092 1.0 0.923879181092 1.0 1.0 0.923879181092 1.0 0.923879181092 1.0containerField='geometry'>
 32                      <Coordinate containerField='controlPointpoint='1 0 0 0.92388 0.38268 0 0.70711 0.70711 0 0.38268 0.92388 0 0 1 0 1 0 1 0.92388 0.38268 0.92388 0.70711 0.70711 1 0.38268 0.92388 0.92388 0 1 1'/>
 33                 </NurbsPatchSurface>
 34                 <Appearance>
 35                      <Material diffuseColor='1 1 0transparency='0.2'/>
 36                 </Appearance>
 37            </Shape>
 38            <Group DEF='WorldSpaceCoordinateAxes'>
 39                 <Shape>
 40                      <LineSet vertexCount='2containerField='geometry'>
 41                           <Coordinate point='0.0 0.0 0.0 1.0 0.0 0.0'/>
 42                      </LineSet>
 43                      <Appearance>
 44                           <Material emissiveColor='1 0 0'/>
 45                           <LineProperties linewidthScaleFactor='2containerField='lineProperties'/>
 46                      </Appearance>
 47                 </Shape>
 48                 <Shape>
 49                      <LineSet vertexCount='2containerField='geometry'>
 50                           <Coordinate point='0.0 0.0 0.0 0.0 1.0 0.0'/>
 51                      </LineSet>
 52                      <Appearance>
 53                           <Material emissiveColor='0 1 0'/>
 54                           <LineProperties linewidthScaleFactor='2containerField='lineProperties'/>
 55                      </Appearance>
 56                 </Shape>
 57                 <Shape>
 58                      <LineSet vertexCount='2containerField='geometry'>
 59                           <Coordinate point='0.0 0.0 0.0 0.0 0.0 1.0'/>
 60                      </LineSet>
 61                      <Appearance>
 62                           <Material emissiveColor='0 0 1'/>
 63                           <LineProperties linewidthScaleFactor='2containerField='lineProperties'/>
 64                      </Appearance>
 65                 </Shape>
 66            </Group>
 67       </Scene>
 68  </X3D>
<!--

<!-- -->

<!-- to top Index for DEF node: WorldSpaceCoordinateAxes

Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2, Viewpoint_3
-->
X3D Tooltips element index: Appearance, Background, component, Coordinate, Group, head, LineProperties, LineSet, Material, meta, NurbsPatchSurface, Scene, Shape, Viewpoint, WorldInfo, X3D, accessType and type, XML data types, field types

-->
<!-- Online at
https://www.web3d.org/x3d/content/examples/Basic/NURBS/NurbsPatchIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Basic/NURBS/NurbsPatch.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. -->