| 1 |
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://www.web3d.org/specifications/x3d-3.0.dtd">
|
| 3 | <X3D profile='Immersive' version='3.0' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.0.xsd'> |
| 4 | <head> |
| 5 | <meta name='title' content=' RenderingComponentExternProtoDefinitions.x3d '/> |
| 6 | <meta name='description' content='Examples showing use of new X3D Rendering component nodes (IndexedTriangleFanSet IndexedTriangleSet IndexedTriangleStripSet LineSet TriangleFanSet TriangleSet TriangleStripSet), implemented as prototypes for backwards compatibility with VRML 97.'/> |
| 7 | <meta name='info' content='.wrl url links intentionally precede .x3d links, X3D-Edit stylesheet X3dToVrml97.xslt automatically inserts VRML97 translations of these external prototype declarations upon encountering any new Rendering nodes.'/> |
| 8 | <meta name='creator' content='Don Brutzman, Ken Curtin, Duane Davis, Christos Kalogrias'/> |
| 9 | <meta name='created' content='17 November 2003'/> |
| 10 | <meta name='modified' content='20 October 2019'/> |
| 11 | <meta name='reference' content=' RenderingComponentPrototypes.x3d '/> |
| 12 | <meta name='reference' content=' RenderingComponentExamples.x3d '/> |
| 13 | <meta name='reference' content=' https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/rendering.html '/> |
| 14 | <meta name='subject' content='X3D Rendering component nodes (IndexedTriangleFanSet IndexedTriangleSet IndexedTriangleStripSet LineSet TriangleFanSet TriangleSet TriangleStripSet)'/> |
| 15 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Basic/development/RenderingComponentExternProtoDefinitions.x3d '/> |
| 16 | <meta name='generator' content='X3D-Edit 3.3, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
| 17 | <meta name='license' content='../license.html'/> |
| 18 | </head> |
| 19 | <Scene> |
| 20 | <!-- ==================== --> |
| 21 | <!-- Do not copy these ExternProtoDeclare statements, they are only provided for preparation of X3dToVrml97.xslt stylesheet mappings for backwards compatibility. --> |
| 22 | <!-- ==================== --> |
| 23 | <WorldInfo title='RenderingComponentExternProtoDefinitions.x3d'/> |
| 24 | <ExternProtoDeclare name='ColorRGBA' appinfo='ColorRGBA defines a set of RGBA colors.' url=' "RenderingComponentPrototypes.wrl#ColorRGBA" "https://www.web3d.org/x3d/content/examples/Basic/development/RenderingComponentPrototypes.wrl#ColorRGBA" "RenderingComponentPrototypes.x3d#ColorRGBA" "https://www.web3d.org/x3d/content/examples/Basic/development/RenderingComponentPrototypes.x3d#ColorRGBA" '> |
| 25 |
<field name='color' type='MFRotation' accessType='inputOutput'
appinfo='locally override MFColorRGBA type (which is not supported in VRML 97) in order to downgrade to Color RGB'/> |
| 26 |
<field name='metadata' type='SFNode' accessType='inputOutput'
appinfo='Metadata node only'/> |
| 27 | </ExternProtoDeclare> |
| 28 | <ExternProtoDeclare name='IndexedTriangleFanSet' appinfo='IndexedTriangleFanSet represents a 3D shape composed of triangles that form a fan shape around the first vertex declared in each fan.' url=' "RenderingComponentPrototypes.wrl#IndexedTriangleFanSet" "https://www.web3d.org/x3d/content/examples/Basic/development/RenderingComponentPrototypes.wrl#IndexedTriangleFanSet" "RenderingComponentPrototypes.x3d#IndexedTriangleFanSet" "https://www.web3d.org/x3d/content/examples/Basic/development/RenderingComponentPrototypes.x3d#IndexedTriangleFanSet" '> |
| 29 | <field name='ccw' type='SFBool' accessType='initializeOnly'/> |
| 30 | <field name='colorPerVertex' type='SFBool' accessType='initializeOnly'/> |
| 31 | <field name='normalPerVertex' type='SFBool' accessType='initializeOnly'/> |
| 32 | <field name='solid' type='SFBool' accessType='initializeOnly'/> |
| 33 | <field name='index' type='MFInt32' accessType='initializeOnly'/> |
| 34 | <field name='set_index' type='MFInt32' accessType='inputOnly'/> |
| 35 |
<field name='color' type='SFNode' accessType='inputOutput'
appinfo='Color ColorRGBA node only'/> |
| 36 |
<field name='coord' type='SFNode' accessType='inputOutput'
appinfo='Coordinate node only'/> |
| 37 |
<field name='normal' type='SFNode' accessType='inputOutput'
appinfo='Normal node only'/> |
| 38 |
<field name='texCoord' type='SFNode' accessType='inputOutput'
appinfo='TextureCoordinate node only'/> |
| 39 |
<field name='metadata' type='SFNode' accessType='inputOutput'
appinfo='Metadata node only'/> |
| 40 | </ExternProtoDeclare> |
| 41 | <ExternProtoDeclare name='IndexedTriangleSet' appinfo='IndexedTriangleSet represents a 3D shape composed of a collection of individual triangles.' url=' "RenderingComponentPrototypes.wrl#IndexedTriangleSet" "https://www.web3d.org/x3d/content/examples/Basic/development/RenderingComponentPrototypes.wrl#IndexedTriangleSet" "RenderingComponentPrototypes.x3d#IndexedTriangleSet" "https://www.web3d.org/x3d/content/examples/Basic/development/RenderingComponentPrototypes.x3d#IndexedTriangleSet" '> |
| 42 | <field name='ccw' type='SFBool' accessType='initializeOnly'/> |
| 43 | <field name='colorPerVertex' type='SFBool' accessType='initializeOnly'/> |
| 44 | <field name='normalPerVertex' type='SFBool' accessType='initializeOnly'/> |
| 45 | <field name='solid' type='SFBool' accessType='initializeOnly'/> |
| 46 | <field name='index' type='MFInt32' accessType='initializeOnly'/> |
| 47 | <field name='set_index' type='MFInt32' accessType='inputOnly'/> |
| 48 |
<field name='color' type='SFNode' accessType='inputOutput'
appinfo='Color ColorRGBA node only'/> |
| 49 |
<field name='coord' type='SFNode' accessType='inputOutput'
appinfo='Coordinate node only'/> |
| 50 |
<field name='normal' type='SFNode' accessType='inputOutput'
appinfo='Normal node only'/> |
| 51 |
<field name='texCoord' type='SFNode' accessType='inputOutput'
appinfo='TextureCoordinate node only'/> |
| 52 |
<field name='metadata' type='SFNode' accessType='inputOutput'
appinfo='Metadata node only'/> |
| 53 | </ExternProtoDeclare> |
| 54 | <ExternProtoDeclare name='IndexedTriangleStripSet' appinfo='IndexedTriangleStripSet represents a 3D shape composed of strips of triangles.' url=' "RenderingComponentPrototypes.wrl#IndexedTriangleStripSet" "https://www.web3d.org/x3d/content/examples/Basic/development/RenderingComponentPrototypes.wrl#IndexedTriangleStripSet" "RenderingComponentPrototypes.x3d#IndexedTriangleStripSet" "https://www.web3d.org/x3d/content/examples/Basic/development/RenderingComponentPrototypes.x3d#IndexedTriangleStripSet" '> |
| 55 | <field name='ccw' type='SFBool' accessType='initializeOnly'/> |
| 56 | <field name='colorPerVertex' type='SFBool' accessType='initializeOnly'/> |
| 57 | <field name='normalPerVertex' type='SFBool' accessType='initializeOnly'/> |
| 58 | <field name='solid' type='SFBool' accessType='initializeOnly'/> |
| 59 | <field name='index' type='MFInt32' accessType='initializeOnly'/> |
| 60 | <field name='set_index' type='MFInt32' accessType='inputOnly'/> |
| 61 |
<field name='color' type='SFNode' accessType='inputOutput'
appinfo='Color ColorRGBA node only'/> |
| 62 |
<field name='coord' type='SFNode' accessType='inputOutput'
appinfo='Coordinate node only'/> |
| 63 |
<field name='normal' type='SFNode' accessType='inputOutput'
appinfo='Normal node only'/> |
| 64 |
<field name='texCoord' type='SFNode' accessType='inputOutput'
appinfo='TextureCoordinate node only'/> |
| 65 |
<field name='metadata' type='SFNode' accessType='inputOutput'
appinfo='Metadata node only'/> |
| 66 | </ExternProtoDeclare> |
| 67 | <ExternProtoDeclare name='LineSet' appinfo='LineSet represents a 3D geometry formed by constructing polylines from 3D vertices.' url=' "RenderingComponentPrototypes.wrl#LineSet" "https://www.web3d.org/x3d/content/examples/Basic/development/RenderingComponentPrototypes.wrl#LineSet" "RenderingComponentPrototypes.x3d#LineSet" "https://www.web3d.org/x3d/content/examples/Basic/development/RenderingComponentPrototypes.x3d#LineSet" '> |
| 68 | <field name='vertexCount' type='MFInt32' accessType='inputOutput'/> |
| 69 |
<field name='color' type='SFNode' accessType='inputOutput'
appinfo='Color ColorRGBA node only'/> |
| 70 |
<field name='coord' type='SFNode' accessType='inputOutput'
appinfo='Coordinate node only'/> |
| 71 |
<field name='metadata' type='SFNode' accessType='inputOutput'
appinfo='Metadata node only'/> |
| 72 | </ExternProtoDeclare> |
| 73 | <ExternProtoDeclare name='TriangleFanSet' appinfo='TriangleFanSet represents a 3D shape composed of triangles that form a fan shape around the first vertex declared in each fan.' url=' "RenderingComponentPrototypes.wrl#TriangleFanSet" "https://www.web3d.org/x3d/content/examples/Basic/development/RenderingComponentPrototypes.wrl#TriangleFanSet" "RenderingComponentPrototypes.x3d#TriangleFanSet" "https://www.web3d.org/x3d/content/examples/Basic/development/RenderingComponentPrototypes.x3d#TriangleFanSet" '> |
| 74 | <field name='fanCount' type='MFInt32' accessType='inputOutput'/> |
| 75 | <field name='ccw' type='SFBool' accessType='initializeOnly'/> |
| 76 | <field name='colorPerVertex' type='SFBool' accessType='initializeOnly'/> |
| 77 | <field name='normalPerVertex' type='SFBool' accessType='initializeOnly'/> |
| 78 | <field name='solid' type='SFBool' accessType='initializeOnly'/> |
| 79 |
<field name='color' type='SFNode' accessType='inputOutput'
appinfo='Color ColorRGBA node only'/> |
| 80 |
<field name='coord' type='SFNode' accessType='inputOutput'
appinfo='Coordinate node only'/> |
| 81 |
<field name='normal' type='SFNode' accessType='inputOutput'
appinfo='Normal node only'/> |
| 82 |
<field name='texCoord' type='SFNode' accessType='inputOutput'
appinfo='TextureCoordinate node only'/> |
| 83 |
<field name='metadata' type='SFNode' accessType='inputOutput'
appinfo='Metadata node only'/> |
| 84 | </ExternProtoDeclare> |
| 85 | <ExternProtoDeclare name='TriangleSet' appinfo='TriangleSet represents a 3D shape that represents a collection of individual triangles.' url=' "RenderingComponentPrototypes.wrl#TriangleSet" "https://www.web3d.org/x3d/content/examples/Basic/development/RenderingComponentPrototypes.wrl#TriangleSet" "RenderingComponentPrototypes.x3d#TriangleSet" "https://www.web3d.org/x3d/content/examples/Basic/development/RenderingComponentPrototypes.x3d#TriangleSet" '> |
| 86 | <field name='ccw' type='SFBool' accessType='initializeOnly'/> |
| 87 | <field name='colorPerVertex' type='SFBool' accessType='initializeOnly'/> |
| 88 | <field name='normalPerVertex' type='SFBool' accessType='initializeOnly'/> |
| 89 | <field name='solid' type='SFBool' accessType='initializeOnly'/> |
| 90 |
<field name='color' type='SFNode' accessType='inputOutput'
appinfo='Color ColorRGBA node only'/> |
| 91 |
<field name='coord' type='SFNode' accessType='inputOutput'
appinfo='Coordinate node only'/> |
| 92 |
<field name='normal' type='SFNode' accessType='inputOutput'
appinfo='Normal node only'/> |
| 93 |
<field name='texCoord' type='SFNode' accessType='inputOutput'
appinfo='TextureCoordinate node only'/> |
| 94 |
<field name='metadata' type='SFNode' accessType='inputOutput'
appinfo='Metadata node only'/> |
| 95 | </ExternProtoDeclare> |
| 96 | <ExternProtoDeclare name='TriangleStripSet' appinfo='TriangleStripSet represents a 3D shape composed of strips of triangles.' url=' "RenderingComponentPrototypes.wrl#TriangleStripSet" "https://www.web3d.org/x3d/content/examples/Basic/development/RenderingComponentPrototypes.wrl#TriangleStripSet" "RenderingComponentPrototypes.x3d#TriangleStripSet" "https://www.web3d.org/x3d/content/examples/Basic/development/RenderingComponentPrototypes.x3d#TriangleStripSet" '> |
| 97 | <field name='stripCount' type='MFInt32' accessType='inputOutput'/> |
| 98 | <field name='ccw' type='SFBool' accessType='initializeOnly'/> |
| 99 | <field name='colorPerVertex' type='SFBool' accessType='initializeOnly'/> |
| 100 | <field name='normalPerVertex' type='SFBool' accessType='initializeOnly'/> |
| 101 | <field name='solid' type='SFBool' accessType='initializeOnly'/> |
| 102 |
<field name='color' type='SFNode' accessType='inputOutput'
appinfo='Color ColorRGBA node only'/> |
| 103 |
<field name='coord' type='SFNode' accessType='inputOutput'
appinfo='Coordinate node only'/> |
| 104 |
<field name='normal' type='SFNode' accessType='inputOutput'
appinfo='Normal node only'/> |
| 105 |
<field name='texCoord' type='SFNode' accessType='inputOutput'
appinfo='TextureCoordinate node only'/> |
| 106 |
<field name='metadata' type='SFNode' accessType='inputOutput'
appinfo='Metadata node only'/> |
| 107 | </ExternProtoDeclare> |
| 108 | <Background groundColor='0.2 0.2 0.2' skyColor='0.2 0.2 0.2'/> |
| 109 | <Anchor DEF='LinkToExamples' description='link to examples' url=' "RenderingComponentExamples.x3d" "https://www.web3d.org/x3d/content/examples/Basic/development/RenderingComponentExamples.x3d" "RenderingComponentExamples.wrl" "https://www.web3d.org/x3d/content/examples/Basic/development/RenderingComponentExamples.wrl" '> |
| 110 | <Shape> |
| 111 | <Appearance> |
| 112 | <Material diffuseColor='0.8 0.6 0.2'/> |
| 113 | </Appearance> |
| 114 | <Text string='"RenderingComponentExternProtoDefinitions" "is a developmental file." "Click this text to view" "RenderingComponentExamples"'> |
| 115 | <FontStyle justify='"MIDDLE" "MIDDLE"'/> |
| 116 | </Text> |
| 117 | </Shape> |
| 118 | </Anchor> |
| 119 | </Scene> |
| 120 | </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.
|
LinkToExamples
Anchor |
description='link to examples' User-interaction hint for this node. |
<!--
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)
<ProtoDeclare name='ProtoName'>
<field
name='fieldName'/> </ProtoDeclare>
-->
<!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints.
-->