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='1' name='NURBS'/> |
6 | <meta name='title' content='NurbsPatchSolid.x3d'/> |
7 | <meta name='description' content='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='Image' content='NurbsPatchSolid1.jpg'/> |
9 | <meta name='Image' content='NurbsPatchSolid2.jpg'/> |
10 | <meta name='creator' content='Vincent Marchetti'/> |
11 | <meta name='created' content='10 February 2012'/> |
12 | <meta name='modified' content='20 October 2019'/> |
13 | <meta name='reference' content='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='identifier' content='https://www.web3d.org/x3d/content/examples/Basic/NURBS/NurbsPatchSolid.x3d'/> |
16 | <meta name='generator' content='Python language scripting'/> |
17 | <meta name='generator' content='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/> |
18 | <meta name='license' content='../license.html'/> |
19 | </head> |
20 | <Scene> |
21 | <WorldInfo title='NurbsPatchSolid.x3d'/> |
22 | <Background skyColor='0.8 0.8 0.8'/> |
23 | <Viewpoint description='view outer surface' fieldOfView='1.6628e-01' orientation='0.166 0.465 0.870 2.538' position='1.0550e+01 1.2855e+01 1.1111e+01'/> |
24 | <Viewpoint description='view inner surface' fieldOfView='1.6628e-01' orientation='0.797 -0.285 -0.533 1.182' position='-1.0550e+01 -1.2855e+01 1.1111e+01'/> |
25 | <Shape> |
26 | <NurbsPatchSurface uDimension='5' uKnot='0 0 0 0.5 0.5 1 1 1' vDimension='2' vKnot='0 0 1 1' vOrder='2' weight='1 0.923879181092 1 0.923879181092 1 1 0.923879181092 1 0.923879181092 1' containerField='geometry'> |
27 | <Coordinate containerField='controlPoint' point='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 0' transparency='0.2'/> |
31 | </Appearance> |
32 | </Shape> |
33 | <Group> |
34 | <Shape> |
35 | <LineSet vertexCount='2' containerField='geometry'> |
36 | <Coordinate point='0 0 0.0 1 0 0'/> |
37 | </LineSet> |
38 | <Appearance> |
39 | <Material emissiveColor='1 0 0'/> |
40 | <LineProperties linewidthScaleFactor='2' containerField='lineProperties'/> |
41 | </Appearance> |
42 | </Shape> |
43 | <Shape> |
44 | <LineSet vertexCount='2' containerField='geometry'> |
45 | <Coordinate point='0 0 0.0 0 1 0'/> |
46 | </LineSet> |
47 | <Appearance> |
48 | <Material emissiveColor='0 1 0'/> |
49 | <LineProperties linewidthScaleFactor='2' containerField='lineProperties'/> |
50 | </Appearance> |
51 | </Shape> |
52 | <Shape> |
53 | <LineSet vertexCount='2' containerField='geometry'> |
54 | <Coordinate point='0 0 0.0 0 0 1'/> |
55 | </LineSet> |
56 | <Appearance> |
57 | <Material emissiveColor='0 0 1'/> |
58 | <LineProperties linewidthScaleFactor='2' containerField='lineProperties'/> |
59 | </Appearance> |
60 | </Shape> |
61 | </Group> |
62 | </Scene> |
63 | </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)
-->
<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->