X3D Model Documentation: NurbsPatchSolid.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='NurbsPatchSolid.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 true for single-sided rendering, and Nurbs coordinates are oriented so that the outer surface of the cylinder is visible. 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='NurbsPatchSolid1.jpg'/>
  9            <meta name='Imagecontent='NurbsPatchSolid2.jpg'/>
 10            <meta name='creatorcontent='Vincent Marchetti'/>
 11            <meta name='createdcontent='10 February 2012'/>
 12            <meta name='modifiedcontent='20 October 2019'/>
 13            <meta name='referencecontent='http://www.kshell.com/pages/nurbs_surface_demo'/>
 14            <meta name=' TODO content=' confirm NurbsPatchSurface validation of Coordinate child? also containerField handling '/>
 15            <meta name='identifiercontent='https://www.web3d.org/x3d/content/examples/Basic/NURBS/NurbsPatchSolid.x3d'/>
 16            <meta name='generatorcontent='Python language scripting'/>
 17            <meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
 18            <meta name='licensecontent='../license.html'/>
 19       </head>
<!--

<!-- to top Index for DEF node: Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2
-->
 20       <Scene>
 21            <WorldInfo title='NurbsPatchSolid.x3d'/>
 22            <Background skyColor='0.8 0.8 0.8'/>
 23            <Viewpoint description='view outer surfacefieldOfView='1.6628e-01orientation='0.166 0.465 0.870 2.538position='1.0550e+01 1.2855e+01 1.1111e+01'/>
 24            <Viewpoint description='view inner surfacefieldOfView='1.6628e-01orientation='0.797 -0.285 -0.533 1.182position='-1.0550e+01 -1.2855e+01 1.1111e+01'/>
 25            <Shape>
 26                 <NurbsPatchSurface uDimension='5uKnot='0 0 0 0.5 0.5 1 1 1vDimension='2vKnot='0 0 1 1vOrder='2weight='1 0.923879181092 1 0.923879181092 1 1 0.923879181092 1 0.923879181092 1containerField='geometry'>
 27                      <Coordinate containerField='controlPointpoint='1.0000e+00 0.0000e+00 0.0000e+00 9.2388e-01 3.8268e-01 0.0000e+00 7.0711e-01 7.0711e-01 0.0000e+00 3.8268e-01 9.2388e-01 0.0000e+00 0.0000e+00 1.0000e+00 0.0000e+00 1.0000e+00 0.0000e+00 1.0000e+00 9.2388e-01 3.8268e-01 9.2388e-01 7.0711e-01 7.0711e-01 1.0000e+00 3.8268e-01 9.2388e-01 9.2388e-01 0.0000e+00 1.0000e+00 1.0000e+00'/>
 28                 </NurbsPatchSurface>
 29                 <Appearance>
 30                      <Material diffuseColor='1 1 0transparency='0.2'/>
 31                 </Appearance>
 32            </Shape>
 33            <Group>
 34                 <Shape>
 35                      <LineSet vertexCount='2containerField='geometry'>
 36                           <Coordinate point='0 0 0.0 1 0 0'/>
 37                      </LineSet>
 38                      <Appearance>
 39                           <Material emissiveColor='1 0 0'/>
 40                           <LineProperties linewidthScaleFactor='2containerField='lineProperties'/>
 41                      </Appearance>
 42                 </Shape>
 43                 <Shape>
 44                      <LineSet vertexCount='2containerField='geometry'>
 45                           <Coordinate point='0 0 0.0 0 1 0'/>
 46                      </LineSet>
 47                      <Appearance>
 48                           <Material emissiveColor='0 1 0'/>
 49                           <LineProperties linewidthScaleFactor='2containerField='lineProperties'/>
 50                      </Appearance>
 51                 </Shape>
 52                 <Shape>
 53                      <LineSet vertexCount='2containerField='geometry'>
 54                           <Coordinate point='0 0 0.0 0 0 1'/>
 55                      </LineSet>
 56                      <Appearance>
 57                           <Material emissiveColor='0 0 1'/>
 58                           <LineProperties linewidthScaleFactor='2containerField='lineProperties'/>
 59                      </Appearance>
 60                 </Shape>
 61            </Group>
 62       </Scene>
 63  </X3D>
<!--

<!-- to top Index for DEF node: Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2
-->
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/NurbsPatchSolidIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Basic/NURBS/NurbsPatchSolid.x3d -->

<!-- Color legend: X3D terminology <X3dNode field='value'/> matches XML terminology <XmlElement 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. -->