| 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='4' name='NURBS'/> |
| 6 | <meta name='title' content=' NurbsTrimmedSurfaceExample.x3d '/> |
| 7 | <meta name='description' content='This scene contains a single NurbsTrimmedSurface rendering one-quarter of a cylindrical segment; with a triangular notch cut from one edge. The "solid" field of the surface is set false so 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='Image' content='NurbsTrimmedSurface.jpg' />
|
| 9 | <meta name='creator' content='Vincent Marchetti'/> |
| 10 | <meta name='created' content='10 February 2012'/> |
| 11 | <meta name='modified' content='17 June 2020'/> |
| 12 |
<meta name='Image' content='images/NurbsTrimmedSurfaceInstantReality.png' />
|
| 13 |
<meta name='Image' content='images/NurbsTrimmedSurfaceXj3D.png' />
|
| 14 | <meta name='reference' content='http://www.kshell.com/pages/nurbs_surface_demo'/> |
| 15 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Basic/NURBS/NurbsTrimmedSurfaceExample.x3d '/> |
| 16 | <meta name='generator' content='Python language scripting'/> |
| 17 | <meta name='generator' content='X3D-Edit 3.3, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
| 18 | <meta name='license' content='../license.html'/> |
| 19 | </head> |
| 20 | <Scene> |
| 21 | <WorldInfo title='NurbsTrimmedSurfaceExample.x3d'/> |
| 22 | <Background skyColor='0.8 0.8 0.8'/> |
| 23 | <Viewpoint description='view outer surface' fieldOfView='0.16628' orientation='0.166 0.465 0.87 2.538' position='10.55 12.855 11.111'/> |
| 24 | <Viewpoint description='view inner surface' fieldOfView='0.16628' orientation='0.797 -0.285 -0.533 1.182' position='-10.55 -12.855 11.111'/> |
| 25 | <Shape> |
| 26 | <NurbsTrimmedSurface solid='false' uDimension='5' uKnot='0.0 0.0 0.0 0.5 0.5 1.0 1.0 1.0' vDimension='2' vKnot='0.0 0.0 1.0 1.0' vOrder='2' weight='1.0 0.923879181092 1.0 0.923879181092 1.0 1.0 0.923879181092 1.0 0.923879181092 1.0' containerField='geometry'> |
| 27 | <Coordinate containerField='controlPoint' point='1 0 0 0.92388 0.38268 0 0.70711 0.70711 0 0.38268 0.92388 0 -0.000004 1 0 1 0 1 0.92388 0.38268 0.92388 0.70711 0.70711 1 0.38268 0.92388 0.92388 -0.000004 1 1'/> |
| 28 | <Contour2D containerField='trimmingContour'> |
| 29 | <NurbsCurve2D controlPoint='0 0 1 0 0.75 0.5 1 0.5 1 1 0 1 0 0' knot='0 0 0.16667 0.33333 0.5 0.66667 0.83333 1 1' order='2' weight='1 1 1 1 1 1 1' containerField='children'/> |
| 30 | </Contour2D> |
| 31 | </NurbsTrimmedSurface> |
| 32 | <Appearance> |
| 33 | <Material diffuseColor='1 1 0' transparency='0.2'/> |
| 34 | </Appearance> |
| 35 | </Shape> |
| 36 | <Group> |
| 37 | <Shape> |
| 38 | <LineSet vertexCount='2' containerField='geometry'> |
| 39 | <Coordinate point='0 0 0 1 0 0'/> |
| 40 | </LineSet> |
| 41 | <Appearance> |
| 42 | <Material emissiveColor='1 0 0'/> |
| 43 | <LineProperties linewidthScaleFactor='2' containerField='lineProperties'/> |
| 44 | </Appearance> |
| 45 | </Shape> |
| 46 | <Shape> |
| 47 | <LineSet vertexCount='2' containerField='geometry'> |
| 48 | <Coordinate point='0 0 0 0 1 0'/> |
| 49 | </LineSet> |
| 50 | <Appearance> |
| 51 | <Material emissiveColor='0 1 0'/> |
| 52 | <LineProperties linewidthScaleFactor='2' containerField='lineProperties'/> |
| 53 | </Appearance> |
| 54 | </Shape> |
| 55 | <Shape> |
| 56 | <LineSet vertexCount='2' containerField='geometry'> |
| 57 | <Coordinate point='0 0 0 0 0 1'/> |
| 58 | </LineSet> |
| 59 | <Appearance> |
| 60 | <Material emissiveColor='0 0 1'/> |
| 61 | <LineProperties linewidthScaleFactor='2' containerField='lineProperties'/> |
| 62 | </Appearance> |
| 63 | </Shape> |
| 64 | </Group> |
| 65 | </Scene> |
| 66 | </X3D> |
<!--
Color-coding 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)
-->
<!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints.
-->