X3D Model Documentation: ParallelepipedExamples.x3d

  1  <?xml version="1.0" encoding="UTF-8"?>
  2  <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
  3  <X3D profile='Immersive' version='3.3 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.3.xsd'>
  4       <head>
  5            <meta name='titlecontent='ParallelepipedExamples.x3d'/>
  6            <meta name='descriptioncontent='Example use of external prototype declaration for Parallelepiped, which is a 3D figure formed by six parallelograms.'/>
  7            <meta name='creatorcontent='Don Brutzman'/>
  8            <meta name='createdcontent='25 November 2011'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='referencecontent='ParallelepipedPrototype.x3d'/>
 11            <meta name='Imagecontent='ParallelepipedVertexIndices.png'/>
 12            <meta name='drawingcontent='GeometricShapes.vsd'/>
 13            <meta name='referencecontent='https://en.wikipedia.org/wiki/Parallelepiped'/>
 14            <meta name='referencecontent='http://upload.wikimedia.org/wikipedia/commons/f/f6/Parallelepiped.svg'/>
 15            <meta name='referencecontent='http://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/Parallelepiped.svg/500px-Parallelepiped.svg.png'/>
 16            <meta name='subjectcontent='parallelopiped rhomboid geometry polyhedron'/>
 17            <meta name='identifiercontent='https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/ParallelepipedExamples.x3d'/>
 18            <meta name='referencecontent='https://www.web3d.org/x3d/content/examples/X3dResources.html'/>
 19            <meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
 20            <meta name='licensecontent='../license.html'/>
 21       </head>
<!--

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

<!-- to top Index for DEF nodes: BlueAppearance, ParallelepipedBox

Index for Viewpoint node: Viewpoint_1

Index for ExternProtoDeclare definition: Parallelepiped
-->
 22       <Scene>
 23            <WorldInfo title='ParallelepipedExamples.x3d'/>
 24            <ExternProtoDeclare name='Parallelepipedappinfo='Parallelepiped is a 3D figure formed by six parallelograms; also sometimes referred to as a rhomboid'   url=' "ParallelepipedPrototype.x3d#Parallelepiped" "https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/ParallelepipedPrototype.x3d#Parallelepiped" "ParallelepipedPrototype.wrl#Parallelepiped" "https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/ParallelepipedPrototype.wrl#Parallelepiped" '>
 25                 <field name='pointtype='MFVec3faccessType='inputOutput'/>
 26                 <field name='colorPerVertextype='SFBoolaccessType='initializeOnly'/>
 27                 <field name='normalPerVertextype='SFBoolaccessType='initializeOnly'/>
 28                 <field name='colorIndextype='MFInt32accessType='initializeOnly'/>
 29                 <field name='normalIndextype='MFInt32accessType='initializeOnly'/>
 30                 <field name='texCoordIndextype='MFInt32accessType='initializeOnly'/>
 31                 <field name='colortype='SFNodeaccessType='inputOutput'/>
 32                 <field name='normaltype='SFNodeaccessType='inputOutput'/>
 33                 <field name='texCoordtype='SFNodeaccessType='inputOutput'/>
 34            </ExternProtoDeclare>
 35            <!-- ================================================================================ -->
 36            <Background skyColor='0.905882 1 0.858824'/>
 37            <Viewpoint description='Parellelopiped examplesorientation='1 0 0 -0.46365position='0 5 10'/>
 38            <Transform translation='-4 0 0'>
 39                 <Shape>
 40                      <ProtoInstance name='ParallelepipedcontainerField='geometry'>
 41                           <fieldValue name='pointvalue='-0.5 1 -0.5 0.5 1 -0.5 0.5 1 0.5 -0.5 1 0.5 0 0 0 1 0 0 1 0 1 0 0 1'/>
 42                      </ProtoInstance>
 43 
                    <!-- Appearance BlueAppearance is a DEF node that has 4 USE nodes: USE_1, USE_2, USE_3, USE_4 -->
                    <Appearance DEF='BlueAppearance'>
 44                           <Material diffuseColor='0 0.698039 1'/>
 45                      </Appearance>
 46                 </Shape>
 47            </Transform>
 48            <Transform translation='-2 0 0'>
 49                 <Shape>
 50                      <ProtoInstance name='ParallelepipedcontainerField='geometry'>
 51                           <fieldValue name='pointvalue='-0.5 1 0 0.5 1 0 0.5 1 1 -0.5 1 1 0 0 0 1 0 0 1 0 1 0 0 1'/>
 52                      </ProtoInstance>
 53                      <Appearance USE='BlueAppearance'/>
 54                 </Shape>
 55            </Transform>
 56            <Transform>
 57                 <Shape>
 58                      <ProtoInstance name='ParallelepipedDEF='ParallelepipedBoxcontainerField='geometry'>
 59                           <fieldValue name='pointvalue='0 1 0 1 1 0 1 1 1 0 1 1 0 0 0 1 0 0 1 0 1 0 0 1'/>
 60                      </ProtoInstance>
 61                      <Appearance USE='BlueAppearance'/>
 62                 </Shape>
 63            </Transform>
 64            <Transform translation='2 0 0'>
 65                 <Shape>
 66                      <ProtoInstance name='ParallelepipedcontainerField='geometry'>
 67                           <fieldValue name='pointvalue='0.5 1 0 1.5 1 0 1.5 1 1 0.5 1 1 0 0 0 1 0 0 1 0 1 0 0 1'/>
 68                      </ProtoInstance>
 69                      <Appearance USE='BlueAppearance'/>
 70                 </Shape>
 71            </Transform>
 72            <Transform translation='4 0 0'>
 73                 <Shape>
 74                      <ProtoInstance name='ParallelepipedcontainerField='geometry'>
 75                           <fieldValue name='pointvalue='0.5 1 0.5 1.5 1 0.5 1.5 1 1.5 0.5 1 1.5 0 0 0 1 0 0 1 0 1 0 0 1'/>
 76                      </ProtoInstance>
 77                      <Appearance USE='BlueAppearance'/>
 78                 </Shape>
 79            </Transform>
 80       </Scene>
 81  </X3D>
<!--

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

<!-- to top Index for DEF nodes: BlueAppearance, ParallelepipedBox

Index for Viewpoint node: Viewpoint_1

Index for ExternProtoDeclare definition: Parallelepiped
-->
X3D Tooltips element index: Appearance, Background, ExternProtoDeclare, field, fieldValue, head, Material, meta, ProtoInstance, Scene, Shape, Transform, Viewpoint, 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.


ProtoInstance
Parallelepiped
No ROUTE connection found for output events from this node.
This ProtoInstance contains SFNode/MFNode fieldValue declarations with
direct access to other nodes, and thus has potential to produce run-time animation. 


ProtoInstance
Parallelepiped
No ROUTE connection found for output events from this node.
This ProtoInstance contains SFNode/MFNode fieldValue declarations with
direct access to other nodes, and thus has potential to produce run-time animation. 


ProtoInstance
Parallelepiped
No ROUTE connection found for output events from this node.
This ProtoInstance contains SFNode/MFNode fieldValue declarations with
direct access to other nodes, and thus has potential to produce run-time animation. 


ProtoInstance
Parallelepiped
No ROUTE connection found for output events from this node.
This ProtoInstance contains SFNode/MFNode fieldValue declarations with
direct access to other nodes, and thus has potential to produce run-time animation. 

ParallelepipedBox
ProtoInstance
Parallelepiped
No ROUTE connection found for output events from this node.
This ProtoInstance contains SFNode/MFNode fieldValue declarations with
direct access to other nodes, and thus has potential to produce run-time animation. 
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/X3dForAdvancedModeling/GeometricShapes/ParallelepipedExamplesIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/ParallelepipedExamples.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)
    <ProtoInstance name='ProtoName'> <field name='fieldName'/> </ProtoInstance> -->

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