| 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=' CubeLogoPrototype.x3d '/> |
| 6 | <meta name='description' content='This file defines a prototype cube of size 2 x 2 x 2. The fields allow any shape to be drawn on the faces.'/> |
| 7 | <meta name='creator' content='Roy Walmsley'/> |
| 8 | <meta name='created' content='18 March 2017'/> |
| 9 | <meta name='modified' content='20 October 2019'/> |
| 10 | <meta name='generator' content='manual'/> |
| 11 | <meta name='generator' content='X3D-Edit 3.3, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
| 12 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Basic/Web3dOutreach/CubeLogoPrototype.x3d '/> |
| 13 | <meta name='license' content='../license.html'/> |
| 14 | </head> |
| 15 | <Scene> |
| 16 | <WorldInfo title='CubeLogoPrototype.x3d'/> |
| 17 | <ProtoDeclare name='Cubic_Logo' appinfo='Defines a cube and permits any externally defined shapes to be drawn on the six faces'> |
| 18 | <ProtoInterface> |
| 19 | <field name='internalColor' type='SFColor' value='0 0 0' accessType='inputOutput'/> |
| 20 | <field name='frontFace' type='MFNode' accessType='inputOutput'/> |
| 21 | <field name='backFace' type='MFNode' accessType='inputOutput'/> |
| 22 | <field name='leftFace' type='MFNode' accessType='inputOutput'/> |
| 23 | <field name='rightFace' type='MFNode' accessType='inputOutput'/> |
| 24 | <field name='topFace' type='MFNode' accessType='inputOutput'/> |
| 25 | <field name='bottomFace' type='MFNode' accessType='inputOutput'/> |
| 26 | </ProtoInterface> |
| 27 | <ProtoBody> |
| 28 | <Group> |
| 29 | <Shape DEF='Internal_Cube'> |
| 30 | <Appearance> |
| 31 | <Material> |
| 32 | <IS> |
| 33 | <connect nodeField='diffuseColor' protoField='internalColor'/> |
| 34 | </IS> |
| 35 | </Material> |
| 36 | </Appearance> |
| 37 | <Box size='0.9 0.9 0.9'/> |
| 38 | </Shape> |
| 39 | <Transform DEF='Front_Object' translation='0 0 0.45'> |
| 40 | <Transform DEF='Front_Reorienter'> |
| 41 | <IS> |
| 42 | <connect nodeField='children' protoField='frontFace'/> |
| 43 | </IS> |
| 44 | </Transform> |
| 45 | </Transform> |
| 46 | <Transform DEF='Bottom_Object' rotation='1 0 0 1.5708' translation='0 -0.45 0'> |
| 47 | <Transform DEF='Bottom_Reorienter' rotation='0 0 1 3.1416'> |
| 48 | <IS> |
| 49 | <connect nodeField='children' protoField='bottomFace'/> |
| 50 | </IS> |
| 51 | </Transform> |
| 52 | </Transform> |
| 53 | <Transform DEF='Right_Object' rotation='0 1 0 1.5708' translation='0.45 0 0'> |
| 54 | <Transform DEF='Right_Reorienter'> |
| 55 | <IS> |
| 56 | <connect nodeField='children' protoField='rightFace'/> |
| 57 | </IS> |
| 58 | </Transform> |
| 59 | </Transform> |
| 60 | <Transform DEF='Left_Object' rotation='0 1 0 -1.5708' translation='-0.45 0 0'> |
| 61 | <Transform DEF='Left_Reorienter' rotation='0 0 1 1.5708'> |
| 62 | <IS> |
| 63 | <connect nodeField='children' protoField='leftFace'/> |
| 64 | </IS> |
| 65 | </Transform> |
| 66 | </Transform> |
| 67 | <Transform DEF='Back_Object' rotation='0 1 0 3.1416' translation='0 0 -0.45'> |
| 68 | <Transform DEF='Back_Reorienter'> |
| 69 | <IS> |
| 70 | <connect nodeField='children' protoField='backFace'/> |
| 71 | </IS> |
| 72 | </Transform> |
| 73 | </Transform> |
| 74 | <Transform DEF='Top_Object' rotation='1 0 0 -1.5708' translation='0 0.45 0'> |
| 75 | <Transform DEF='Top_Reorienter' rotation='0 0 1 3.1416'> |
| 76 | <IS> |
| 77 | <connect nodeField='children' protoField='topFace'/> |
| 78 | </IS> |
| 79 | </Transform> |
| 80 | </Transform> |
| 81 | </Group> |
| 82 | </ProtoBody> |
| 83 | </ProtoDeclare> |
| 84 | <Anchor description='Select text to view example model' url=' "VirtualRealityHackathonLogoLetterPrototypes.x3d" "https://www.web3d.org/x3d/content/examples/Basic/Web3dOutreach/VirtualRealityHackathonLogoLetterPrototypes.x3d" "VirtualRealityHackathonLogoLetterPrototypes.wrl" "https://www.web3d.org/x3d/content/examples/Basic/Web3dOutreach/VirtualRealityHackathonLogoLetterPrototypes.wrl" '> |
| 85 | <!-- Selectable Text design pattern has transparent Box and Anchor description as a tooltip --> |
| 86 | <Group> |
| 87 | <Shape> |
| 88 | <Text string='"CubeLogoPrototype.x3d#Cubic_Logo" "" "prototype declaration is used by" "" "VirtualRealityHackathonLogoLetterPrototypes.x3d"'> |
| 89 | <FontStyle family='"SANS"' justify='"MIDDLE" "MIDDLE"' size='0.4' style='BOLD'/> |
| 90 | </Text> |
| 91 | <Appearance> |
| 92 | <Material diffuseColor='0.9 0.9 0.9'/> |
| 93 | </Appearance> |
| 94 | </Shape> |
| 95 | <Shape> |
| 96 | <Box size='12 2.5 .001'/> |
| 97 | <Appearance> |
| 98 | <Material diffuseColor='0.6 0.6 0.9' transparency='0.8'/> |
| 99 | </Appearance> |
| 100 | </Shape> |
| 101 | </Group> |
| 102 | </Anchor> |
| 103 | </Scene> |
| 104 | </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 84
Anchor |
description='Select text to view example model' 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.
-->