X3D Model Documentation: RenderingComponentExternProtoDefinitions.x3d

  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='titlecontent='RenderingComponentExternProtoDefinitions.x3d'/>
  6            <meta name='descriptioncontent='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='infocontent='.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='creatorcontent='Don Brutzman, Ken Curtin, Duane Davis, Christos Kalogrias'/>
  9            <meta name='createdcontent='17 November 2003'/>
 10            <meta name='modifiedcontent='20 October 2019'/>
 11            <meta name='referencecontent='RenderingComponentPrototypes.x3d'/>
 12            <meta name='referencecontent='RenderingComponentExamples.x3d'/>
 13            <meta name='referencecontent='https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/rendering.html'/>
 14            <meta name='subjectcontent='X3D Rendering component nodes (IndexedTriangleFanSet IndexedTriangleSet IndexedTriangleStripSet LineSet TriangleFanSet TriangleSet TriangleStripSet)'/>
 15            <meta name='identifiercontent='https://www.web3d.org/x3d/content/examples/Basic/development/RenderingComponentExternProtoDefinitions.x3d'/>
 16            <meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
 17            <meta name='licensecontent='../license.html'/>
 18       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->

<!-- to top Index for DEF node: LinkToExamples

Index for ExternProtoDeclare definitions: ColorRGBA, IndexedTriangleFanSet, IndexedTriangleSet, IndexedTriangleStripSet, LineSet, TriangleFanSet, TriangleSet, TriangleStripSet
-->
 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='ColorRGBAappinfo='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='colortype='MFRotationaccessType='inputOutput'
                appinfo='locally override MFColorRGBA type (which is not supported in VRML 97) in order to downgrade to Color RGB'/>
 26                 <field name='metadatatype='SFNodeaccessType='inputOutput'
                appinfo='Metadata node only'/>
 27            </ExternProtoDeclare>
 28            <ExternProtoDeclare name='IndexedTriangleFanSetappinfo='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='ccwtype='SFBoolaccessType='initializeOnly'/>
 30                 <field name='colorPerVertextype='SFBoolaccessType='initializeOnly'/>
 31                 <field name='normalPerVertextype='SFBoolaccessType='initializeOnly'/>
 32                 <field name='solidtype='SFBoolaccessType='initializeOnly'/>
 33                 <field name='indextype='MFInt32accessType='initializeOnly'/>
 34                 <field name='set_indextype='MFInt32accessType='inputOnly'/>
 35                 <field name='colortype='SFNodeaccessType='inputOutput'
                appinfo='Color ColorRGBA node only'/>
 36                 <field name='coordtype='SFNodeaccessType='inputOutput'
                appinfo='Coordinate node only'/>
 37                 <field name='normaltype='SFNodeaccessType='inputOutput'
                appinfo='Normal node only'/>
 38                 <field name='texCoordtype='SFNodeaccessType='inputOutput'
                appinfo='TextureCoordinate node only'/>
 39                 <field name='metadatatype='SFNodeaccessType='inputOutput'
                appinfo='Metadata node only'/>
 40            </ExternProtoDeclare>
 41            <ExternProtoDeclare name='IndexedTriangleSetappinfo='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='ccwtype='SFBoolaccessType='initializeOnly'/>
 43                 <field name='colorPerVertextype='SFBoolaccessType='initializeOnly'/>
 44                 <field name='normalPerVertextype='SFBoolaccessType='initializeOnly'/>
 45                 <field name='solidtype='SFBoolaccessType='initializeOnly'/>
 46                 <field name='indextype='MFInt32accessType='initializeOnly'/>
 47                 <field name='set_indextype='MFInt32accessType='inputOnly'/>
 48                 <field name='colortype='SFNodeaccessType='inputOutput'
                appinfo='Color ColorRGBA node only'/>
 49                 <field name='coordtype='SFNodeaccessType='inputOutput'
                appinfo='Coordinate node only'/>
 50                 <field name='normaltype='SFNodeaccessType='inputOutput'
                appinfo='Normal node only'/>
 51                 <field name='texCoordtype='SFNodeaccessType='inputOutput'
                appinfo='TextureCoordinate node only'/>
 52                 <field name='metadatatype='SFNodeaccessType='inputOutput'
                appinfo='Metadata node only'/>
 53            </ExternProtoDeclare>
 54            <ExternProtoDeclare name='IndexedTriangleStripSetappinfo='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='ccwtype='SFBoolaccessType='initializeOnly'/>
 56                 <field name='colorPerVertextype='SFBoolaccessType='initializeOnly'/>
 57                 <field name='normalPerVertextype='SFBoolaccessType='initializeOnly'/>
 58                 <field name='solidtype='SFBoolaccessType='initializeOnly'/>
 59                 <field name='indextype='MFInt32accessType='initializeOnly'/>
 60                 <field name='set_indextype='MFInt32accessType='inputOnly'/>
 61                 <field name='colortype='SFNodeaccessType='inputOutput'
                appinfo='Color ColorRGBA node only'/>
 62                 <field name='coordtype='SFNodeaccessType='inputOutput'
                appinfo='Coordinate node only'/>
 63                 <field name='normaltype='SFNodeaccessType='inputOutput'
                appinfo='Normal node only'/>
 64                 <field name='texCoordtype='SFNodeaccessType='inputOutput'
                appinfo='TextureCoordinate node only'/>
 65                 <field name='metadatatype='SFNodeaccessType='inputOutput'
                appinfo='Metadata node only'/>
 66            </ExternProtoDeclare>
 67            <ExternProtoDeclare name='LineSetappinfo='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='vertexCounttype='MFInt32accessType='inputOutput'/>
 69                 <field name='colortype='SFNodeaccessType='inputOutput'
                appinfo='Color ColorRGBA node only'/>
 70                 <field name='coordtype='SFNodeaccessType='inputOutput'
                appinfo='Coordinate node only'/>
 71                 <field name='metadatatype='SFNodeaccessType='inputOutput'
                appinfo='Metadata node only'/>
 72            </ExternProtoDeclare>
 73            <ExternProtoDeclare name='TriangleFanSetappinfo='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='fanCounttype='MFInt32accessType='inputOutput'/>
 75                 <field name='ccwtype='SFBoolaccessType='initializeOnly'/>
 76                 <field name='colorPerVertextype='SFBoolaccessType='initializeOnly'/>
 77                 <field name='normalPerVertextype='SFBoolaccessType='initializeOnly'/>
 78                 <field name='solidtype='SFBoolaccessType='initializeOnly'/>
 79                 <field name='colortype='SFNodeaccessType='inputOutput'
                appinfo='Color ColorRGBA node only'/>
 80                 <field name='coordtype='SFNodeaccessType='inputOutput'
                appinfo='Coordinate node only'/>
 81                 <field name='normaltype='SFNodeaccessType='inputOutput'
                appinfo='Normal node only'/>
 82                 <field name='texCoordtype='SFNodeaccessType='inputOutput'
                appinfo='TextureCoordinate node only'/>
 83                 <field name='metadatatype='SFNodeaccessType='inputOutput'
                appinfo='Metadata node only'/>
 84            </ExternProtoDeclare>
 85            <ExternProtoDeclare name='TriangleSetappinfo='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='ccwtype='SFBoolaccessType='initializeOnly'/>
 87                 <field name='colorPerVertextype='SFBoolaccessType='initializeOnly'/>
 88                 <field name='normalPerVertextype='SFBoolaccessType='initializeOnly'/>
 89                 <field name='solidtype='SFBoolaccessType='initializeOnly'/>
 90                 <field name='colortype='SFNodeaccessType='inputOutput'
                appinfo='Color ColorRGBA node only'/>
 91                 <field name='coordtype='SFNodeaccessType='inputOutput'
                appinfo='Coordinate node only'/>
 92                 <field name='normaltype='SFNodeaccessType='inputOutput'
                appinfo='Normal node only'/>
 93                 <field name='texCoordtype='SFNodeaccessType='inputOutput'
                appinfo='TextureCoordinate node only'/>
 94                 <field name='metadatatype='SFNodeaccessType='inputOutput'
                appinfo='Metadata node only'/>
 95            </ExternProtoDeclare>
 96            <ExternProtoDeclare name='TriangleStripSetappinfo='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='stripCounttype='MFInt32accessType='inputOutput'/>
 98                 <field name='ccwtype='SFBoolaccessType='initializeOnly'/>
 99                 <field name='colorPerVertextype='SFBoolaccessType='initializeOnly'/>
100                 <field name='normalPerVertextype='SFBoolaccessType='initializeOnly'/>
101                 <field name='solidtype='SFBoolaccessType='initializeOnly'/>
102                 <field name='colortype='SFNodeaccessType='inputOutput'
                appinfo='Color ColorRGBA node only'/>
103                 <field name='coordtype='SFNodeaccessType='inputOutput'
                appinfo='Coordinate node only'/>
104                 <field name='normaltype='SFNodeaccessType='inputOutput'
                appinfo='Normal node only'/>
105                 <field name='texCoordtype='SFNodeaccessType='inputOutput'
                appinfo='TextureCoordinate node only'/>
106                 <field name='metadatatype='SFNodeaccessType='inputOutput'
                appinfo='Metadata node only'/>
107            </ExternProtoDeclare>
108            <Background groundColor='0.2 0.2 0.2skyColor='0.2 0.2 0.2'/>
109            <Anchor DEF='LinkToExamplesdescription='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 shows event connections.
-->

<!-- to top Index for DEF node: LinkToExamples

Index for ExternProtoDeclare definitions: ColorRGBA, IndexedTriangleFanSet, IndexedTriangleSet, IndexedTriangleStripSet, LineSet, TriangleFanSet, TriangleSet, TriangleStripSet
-->
X3D Tooltips element index: Anchor, Appearance, Background, ExternProtoDeclare, field, FontStyle, head, Material, meta, Scene, Shape, Text, WorldInfo, X3D, accessType and type, XML data types, field types

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. 
Additional guidance on X3D animation can be found in the 10-Step Animation Design Process and Event Tracing hint sheets. Have fun with X3D! 😀

-->
<!-- Online at
https://www.web3d.org/x3d/content/examples/Basic/development/RenderingComponentExternProtoDefinitionsIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Basic/development/RenderingComponentExternProtoDefinitions.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)
    <ProtoDeclare name='ProtoName'> <field name='fieldName'/> </ProtoDeclare> -->

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