| 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='title' content=' ParallelepipedExamples.x3d '/> |
| 6 | <meta name='description' content='Example use of external prototype declaration for Parallelepiped, which is a 3D figure formed by six parallelograms.'/> |
| 7 | <meta name='creator' content='Don Brutzman'/> |
| 8 | <meta name='created' content='25 November 2011'/> |
| 9 | <meta name='modified' content='8 December 2024'/> |
| 10 | <meta name='reference' content=' ParallelepipedPrototype.x3d '/> |
| 11 |
<meta name='Image' content='ParallelepipedVertexIndices.png' />
|
| 12 | <meta name='drawing' content='GeometricShapes.vsdx'/> |
| 13 | <meta name='reference' content='https://en.wikipedia.org/wiki/Parallelepiped'/> |
| 14 |
<meta name='reference' content='
http://upload.wikimedia.org/wikipedia/commons/f/f6/Parallelepiped.svg
' |
| 15 |
<meta name='reference' content='http://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/Parallelepiped.svg/500px-Parallelepiped.svg.png' |
| 16 | <meta name='subject' content='parallelepiped rhomboid geometry polyhedron'/> |
| 17 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/ParallelepipedExamples.x3d '/> |
| 18 | <meta name='reference' content=' https://www.web3d.org/x3d/content/examples/X3dResources.html '/> |
| 19 | <meta name='generator' content='X3D-Edit 3.3, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
| 20 | <meta name='license' content='../license.html'/> |
| 21 | </head> |
| 22 | <Scene> |
| 23 | <WorldInfo title='ParallelepipedExamples.x3d'/> |
| 24 | <ExternProtoDeclare name='Parallelepiped' appinfo='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='point' type='MFVec3f' accessType='inputOutput'/> |
| 26 | <field name='colorPerVertex' type='SFBool' accessType='initializeOnly'/> |
| 27 | <field name='normalPerVertex' type='SFBool' accessType='initializeOnly'/> |
| 28 | <field name='colorIndex' type='MFInt32' accessType='initializeOnly'/> |
| 29 | <field name='normalIndex' type='MFInt32' accessType='initializeOnly'/> |
| 30 | <field name='texCoordIndex' type='MFInt32' accessType='initializeOnly'/> |
| 31 | <field name='colorNode' type='SFNode' accessType='inputOutput'/> |
| 32 | <field name='normalNode' type='SFNode' accessType='inputOutput'/> |
| 33 | <field name='texCoordNode' type='SFNode' accessType='inputOutput'/> |
| 34 | </ExternProtoDeclare> |
| 35 | <!-- ================================================================================ --> |
| 36 | <Background skyColor='0.905882 1 0.858824'/> |
| 37 | <Viewpoint description='Parellelopiped examples' orientation='1 0 0 -0.46365' position='0 5 10'/> |
| 38 | <Transform translation='-4 0 0'> |
| 39 | <Shape> |
| 40 | <ProtoInstance name='Parallelepiped' containerField='geometry'> |
| 41 | <fieldValue name='point' value='-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='Parallelepiped' containerField='geometry'> |
| 51 | <fieldValue name='point' value='-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='Parallelepiped' DEF='ParallelepipedBox' containerField='geometry'> |
| 59 | <fieldValue name='point' value='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='Parallelepiped' containerField='geometry'> |
| 67 | <fieldValue name='point' value='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='Parallelepiped' containerField='geometry'> |
| 75 | <fieldValue name='point' value='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 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 40
ProtoInstance Parallelepiped |
No direct ROUTE connection found for events to/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. |
| line 50
ProtoInstance Parallelepiped |
No direct ROUTE connection found for events to/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. |
| line 66
ProtoInstance Parallelepiped |
No direct ROUTE connection found for events to/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. |
| line 74
ProtoInstance Parallelepiped |
No direct ROUTE connection found for events to/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 direct ROUTE connection found for events to/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. |
<!--
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)
<ProtoInstance name='ProtoName'>
<field
name='fieldName'/> </ProtoInstance>
-->
<!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints.
-->