| 1 |
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 4.0//EN" "https://www.web3d.org/specifications/x3d-4.0.dtd">
|
| 3 | <X3D profile='Immersive' version='4.0' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-4.0.xsd'> |
| 4 | <head> |
| 5 | <!-- NURBS component or Full profile needed to use CoordinateDouble node --> |
| 6 | <!-- Geometry2D component or Full profile needed to use TriangleSet2D node --> |
| 7 | <component level='1' name='NURBS'/> |
| 8 | <component level='1' name='Geometry2D'/> |
| 9 | <meta name='title' content=' TriangleStripSetFigure.x3d '/> |
| 10 | <meta name='description' content='X3D specification example for TriangleStripSet.'/> |
| 11 | <meta name='creator' content='Don Brutzman'/> |
| 12 | <meta name='created' content='17 November 2003'/> |
| 13 | <meta name='modified' content='28 September 2025'/> |
| 14 | <meta name='specificationSection' content='X3D Abstract Specification, Part 1: Architecture and base components, Topic 11.4.14 TriangleStripSet'/> |
| 15 | <meta name='specificationUrl' content='https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/rendering.html#TriangleStripSet'/> |
| 16 | <meta name=' TODO ' content=' confirm indices in specification diagram '/> |
| 17 |
<meta name='Image' content='TriangleStripSet.png' />
|
| 18 | <meta name='reference' content=' https://www.web3d.org/x3d/content/examples/Basic/development/RenderingComponentExamples.x3d '/> |
| 19 | <meta name='reference' content=' https://www.web3d.org/x3d/content/examples/Basic/development/RenderingComponentPrototypes.x3d '/> |
| 20 | <meta name='info' content='X3dToVrml97.xslt translation stylesheet automatically invokes backwards-compatibility prototypes upon encountering any new Rendering nodes.'/> |
| 21 | <meta name='reference' content=' https://www.web3d.org/x3d/stylesheets/X3dToVrml97.xslt '/> |
| 22 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Basic/X3dSpecifications/TriangleStripSetFigure.x3d '/> |
| 23 | <meta name='generator' content='X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
| 24 | <meta name='license' content='../license.html'/> |
| 25 | </head> |
| 26 | <Scene> |
| 27 | <WorldInfo title='TriangleStripSetFigure.x3d'/> |
| 28 | <Viewpoint description='IndexedTriangleStripSet, TriangleStripSet example' position='-1 0 16'/> |
| 29 | <Background groundColor='1 1 1' skyColor='1 1 1'/> |
| 30 | <Transform translation='0 4 0'> |
| 31 | <TouchSensor description='IndexedTriangleStripSet'/> |
| 32 | <Shape> |
| 33 | <IndexedTriangleStripSet ccw='true' colorPerVertex='true' index='0 1 2 3 4 5 6 7 8 9 10 11 12 -1' normalPerVertex='true' solid='false' containerField='geometry'> |
| 34 | <Coordinate point='-4.0 -1.0 -.5 -4.5 -2.0 -.5 -3.0 -.5 0 -2.5 -1.5 -.5 -2.0 -.5 -1 -1.5 -1.5 -.5 -.5 .5 -.5 0 0 0 1 .5 -.5 1.5 -2.0 -1 2.5 -2.0 -.5 2.5 -2.5 -.5 3.5 -2.0 -1.0'/> |
| 35 | </IndexedTriangleStripSet> |
| 36 | <Appearance> |
| 37 | <Material diffuseColor='0 .3 .7'/> |
| 38 | </Appearance> |
| 39 | </Shape> |
| 40 | </Transform> |
| 41 | <Transform translation='0 -2 0'> |
| 42 | <TouchSensor description='TriangleStripSet'/> |
| 43 | <Shape> |
| 44 | <TriangleStripSet ccw='true' colorPerVertex='true' normalPerVertex='true' solid='false' stripCount='13' containerField='geometry'> |
| 45 | <Coordinate point='-4.0 -1.0 -.5 -4.5 -2.0 -.5 -3.0 -.5 0 -2.5 -1.5 -.5 -2.0 -.5 -1 -1.5 -1.5 -.5 -.5 .5 -.5 0 0 0 1 .5 -.5 1.5 -2.0 -1 2.5 -2.0 -.5 2.5 -2.5 -.5 3.5 -2.0 -1.0'/> |
| 46 | </TriangleStripSet> |
| 47 | <Appearance DEF='GreyAppearance'> |
| 48 | <Material diffuseColor='0.5 0.5 0.5'/> |
| 49 | </Appearance> |
| 50 | </Shape> |
| 51 | </Transform> |
| 52 | </Scene> |
| 53 | </X3D> |
Event Graph ROUTE Table with 0 ROUTE connections total, showing X3D event-model relationships for this scene.
Each row shows an event cascade that may occur during a single timestamp interval between frame renderings, as part of the X3D execution model.
| line 31
TouchSensor |
description='IndexedTriangleStripSet' User-interaction hint for this node.(TouchSensor description is providing a tooltip) |
| line 42
TouchSensor |
description='TriangleStripSet' User-interaction hint for this node.(TouchSensor description is providing a tooltip) |
<!--
Color-coding 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.
-->