1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.1//EN" "https://www.web3d.org/specifications/x3d-3.1.dtd">
|
3 | <X3D profile='CADInterchange' version='3.1' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.1.xsd'> |
4 | <head> |
5 | <component level='2' name='CADGeometry'/> |
6 | <meta name='title' content='IndexedQuadSetExample.x3d'/> |
7 | <meta name='description' content='Simple IndexedQuadSet example.'/> |
8 | <meta name='creator' content='Andrew Grieve, Don Brutzman'/> |
9 | <meta name='created' content='15 October 2005'/> |
10 | <meta name='modified' content='20 October 2019'/> |
11 | <meta name=' TODO ' content=' create similar test for QuadSet '/> |
12 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/Basic/CAD/IndexedQuadSetExample.x3d'/> |
13 | <meta name='generator' content='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/> |
14 | <meta name='license' content='../license.html'/> |
15 | </head> |
16 | <Scene> |
17 | <WorldInfo title='IndexedQuadSetExample.x3d'/> |
18 | <NavigationInfo type='"EXAMINE"'/> |
19 | <Viewpoint DEF='Side' description='IndexedQuadSet side view'/> |
20 | <Viewpoint DEF='Front' description='IndexedQuadSet front view' orientation='0 1 0 1.57' position='10 0 0'/> |
21 | <Viewpoint DEF='Top' description='IndexedQuadSet top view' orientation='1 0 0 -1.57' position='0 10 0'/> |
22 | <Transform scale='2 2 2'> |
23 | <Shape> |
24 | <Appearance> |
25 | <Material diffuseColor='1 1 1'/> |
26 | </Appearance> |
27 | <IndexedQuadSet ccw='true' colorPerVertex='true' index='0 3 2 1 4 5 6 7 2 7 9 8 2 3 4 7' normalPerVertex='true' solid='true'> |
28 | <Coordinate point='-1.5 0 0 -1.5 1 -1 -.5 1 -1 -.5 0 0 0.5 0 0 1.5 0 0 1.5 1 -1 0.5 1 -1 -0.5 2 -1 0.5 2 -1'/> |
29 | </IndexedQuadSet> |
30 | </Shape> |
31 | </Transform> |
32 | </Scene> |
33 | </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. -->