1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
|
3 | <X3D profile='Interchange' version='3.3' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.3.xsd'> |
4 | <head> |
5 | <meta name='title' content='CylinderIndexedFaceSet.x3d'/> |
6 | <meta name='description' content='Construct a Cylinder using IndexedFaceSet. Top and bottom 24-point polygon (circle) created by X3D-Edit, sides computed manually.'/> |
7 | <meta name='creator' content='Don Brutzman'/> |
8 | <meta name='created' content='7 May 2013'/> |
9 | <meta name='modified' content='20 October 2019'/> |
10 | <meta name='subject' content='Cylinder IndexedFaceSet'/> |
11 | <meta name='Image' content='CylinderIndexedFaceSet.H3DViewer.png'/> |
12 | <meta name='Image' content='CylinderIndexedFaceSet.InstantReality.png'/> |
13 | <meta name='Image' content='CylinderIndexedFaceSet.X3DOM.png'/> |
14 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/CylinderIndexedFaceSet.x3d'/> |
15 | <meta name='generator' content='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/> |
16 | <meta name='license' content='../license.html'/> |
17 | </head> |
18 | <Scene> |
19 | <WorldInfo title='CylinderIndexedFaceSet.x3d'/> |
20 | <Viewpoint description='Cylinder built using IndexedFaceSet' orientation='1 0 0 -0.463648' position='0 4 8'/> |
21 | <Shape DEF='CylinderTopBottomShape'> |
22 | <IndexedFaceSet solid='false' coordIndex='0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 0 -1 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 24 -1'> |
23 |
<!-- Coordinate
CylinderPoints24 is a DEF node that has 1 USE node: USE_1 --> <Coordinate DEF='CylinderPoints24' point='0 0 1 0.259 0 0.966 0.5 0 0.866 0.707 0 0.707 0.866 0 0.5 0.966 0 0.259 1 0 0 0.966 0 -0.259 0.866 0 -0.5 0.707 0 -0.707 0.5 0 -0.866 0.259 0 -0.966 0 0 -1 -0.259 0 -0.966 -0.5 0 -0.866 -0.707 0 -0.707 -0.866 0 -0.5 -0.966 0 -0.259 -1 0 -0 -0.966 0 0.259 -0.866 0 0.5 -0.707 0 0.707 -0.5 0 0.866 -0.259 0 0.966 0 2 1 0.259 2 0.966 0.5 2 0.866 0.707 2 0.707 0.866 2 0.5 0.966 2 0.259 1 2 0 0.966 2 -0.259 0.866 2 -0.5 0.707 2 -0.707 0.5 2 -0.866 0.259 2 -0.966 0 2 -1 -0.259 2 -0.966 -0.5 2 -0.866 -0.707 2 -0.707 -0.866 2 -0.5 -0.966 2 -0.259 -1 2 -0 -0.966 2 0.259 -0.866 2 0.5 -0.707 2 0.707 -0.5 2 0.866 -0.259 2 0.966'/> |
24 | </IndexedFaceSet> |
25 |
<!-- Appearance
BlueAppearance is a DEF node that has 1 USE node: USE_1 -->
<Appearance DEF='BlueAppearance'> |
26 | <Material diffuseColor='0.439216 0.631373 1'/> |
27 | </Appearance> |
28 | </Shape> |
29 | <Shape DEF='CylinderSideShape'> |
30 | <IndexedFaceSet creaseAngle='1.570796' solid='false' coordIndex='1 24 0 1 25 24 1 -1 2 25 1 2 26 25 2 -1 3 26 2 3 27 26 3 -1 4 27 3 4 28 27 4 -1 5 28 4 5 29 28 5 -1 6 29 5 6 30 29 6 -1 7 30 6 7 31 30 7 -1 8 31 7 8 32 31 8 -1 9 32 8 9 33 32 9 -1 10 33 9 10 34 33 10 -1 11 34 10 11 35 34 11 -1 12 35 11 12 36 35 12 -1 13 36 12 13 37 36 13 -1 14 37 13 14 38 37 14 -1 15 38 14 15 39 38 15 -1 16 39 15 16 40 39 16 -1 17 40 16 17 41 40 17 -1 18 41 17 18 42 41 18 -1 19 42 18 19 43 42 19 -1 20 43 19 20 44 43 20 -1 21 44 20 21 45 44 21 -1 22 45 21 22 46 45 22 -1 23 46 22 23 47 46 23 -1 0 47 23 0 24 47 0 -1'> |
31 | <Coordinate USE='CylinderPoints24'/> |
32 | </IndexedFaceSet> |
33 | <Appearance USE='BlueAppearance'/> |
34 | </Shape> |
35 | </Scene> |
36 | </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)
-->
<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->