X3D Model Documentation: IndexedQuadSetExample.x3d

  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='2name='CADGeometry'/>
  6            <meta name='titlecontent='IndexedQuadSetExample.x3d'/>
  7            <meta name='descriptioncontent='Simple IndexedQuadSet example.'/>
  8            <meta name='creatorcontent='Andrew Grieve, Don Brutzman'/>
  9            <meta name='createdcontent='15 October 2005'/>
 10            <meta name='modifiedcontent='20 October 2019'/>
 11            <meta name=' TODO content=' create similar test for QuadSet '/>
 12            <meta name='identifiercontent='https://www.web3d.org/x3d/content/examples/Basic/CAD/IndexedQuadSetExample.x3d'/>
 13            <meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
 14            <meta name='licensecontent='../license.html'/>
 15       </head>
<!--

<!-- -->

<!-- to top Index for DEF nodes: Front, Side, Top

Index for Viewpoint nodes: Front, Side, Top
-->
 16       <Scene>
 17            <WorldInfo title='IndexedQuadSetExample.x3d'/>
 18            <NavigationInfo type='"EXAMINE"'/>
 19            <Viewpoint DEF='Sidedescription='IndexedQuadSet side view'/>
 20            <Viewpoint DEF='Frontdescription='IndexedQuadSet front vieworientation='0 1 0 1.57position='10 0 0'/>
 21            <Viewpoint DEF='Topdescription='IndexedQuadSet top vieworientation='1 0 0 -1.57position='0 10 0'/>
 22            <Transform scale='2 2 2'>
 23                 <Shape>
 24                      <Appearance>
 25                           <Material diffuseColor='1 1 1'/>
 26                      </Appearance>
 27                      <IndexedQuadSet ccw='truecolorPerVertex='trueindex='0 3 2 1 4 5 6 7 2 7 9 8 2 3 4 7normalPerVertex='truesolid='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>
<!--

<!-- -->

<!-- to top Index for DEF nodes: Front, Side, Top

Index for Viewpoint nodes: Front, Side, Top
-->
X3D Tooltips element index: Appearance, component, Coordinate, head, IndexedQuadSet, Material, meta, NavigationInfo, Scene, Shape, Transform, Viewpoint, WorldInfo, X3D, accessType and type, XML data types, field types

-->
<!-- Online at
https://www.web3d.org/x3d/content/examples/Basic/CAD/IndexedQuadSetExampleIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Basic/CAD/IndexedQuadSetExample.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)
-->

to top <!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->