X3D Model Documentation: CubeLogoPrototype.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='https://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.3.xsd'>
  4       <head>
  5            <meta name='titlecontent=' CubeLogoPrototype.x3d '/>
  6            <meta name='descriptioncontent='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='creatorcontent='Roy Walmsley'/>
  8            <meta name='createdcontent='18 March 2017'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='generatorcontent='manual'/>
 11            <meta name='generatorcontent='X3D-Edit 3.3, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 12            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Basic/Web3dOutreach/CubeLogoPrototype.x3d '/>
 13            <meta name='licensecontent='../license.html'/>
 14       </head>
<!--

Event Graph ROUTE Table shows event connections.

--> <!-- to top DEF nodes index: Back_Object, Back_Reorienter, Bottom_Object, Bottom_Reorienter, Front_Object, Front_Reorienter, Internal_Cube, Left_Object, Left_Reorienter, Right_Object, Right_Reorienter, Top_Object, Top_Reorienter

Index for ProtoDeclare definition: Cubic_Logo

-->
 15       <Scene>
 16            <WorldInfo title='CubeLogoPrototype.x3d'/>
 17            <ProtoDeclare name='Cubic_Logoappinfo='Defines a cube and permits any externally defined shapes to be drawn on the six faces'>
 18                 <ProtoInterface>
 19                      <field name='internalColortype='SFColorvalue='0 0 0accessType='inputOutput'/>
 20                      <field name='frontFacetype='MFNodeaccessType='inputOutput'/>
 21                      <field name='backFacetype='MFNodeaccessType='inputOutput'/>
 22                      <field name='leftFacetype='MFNodeaccessType='inputOutput'/>
 23                      <field name='rightFacetype='MFNodeaccessType='inputOutput'/>
 24                      <field name='topFacetype='MFNodeaccessType='inputOutput'/>
 25                      <field name='bottomFacetype='MFNodeaccessType='inputOutput'/>
 26                 </ProtoInterface>
 27                 <ProtoBody>
 28                      <Group>
 29                           <Shape DEF='Internal_Cube'>
 30                                <Appearance>
 31                                     <Material>
 32                                          <IS>
 33                                               <connect nodeField='diffuseColorprotoField='internalColor'/>
 34                                          </IS>
 35                                     </Material>
 36                                </Appearance>
 37                                <Box size='0.9 0.9 0.9'/>
 38                           </Shape>
 39                           <Transform DEF='Front_Objecttranslation='0 0 0.45'>
 40                                <Transform DEF='Front_Reorienter'>
 41                                     <IS>
 42                                          <connect nodeField='childrenprotoField='frontFace'/>
 43                                     </IS>
 44                                </Transform>
 45                           </Transform>
 46                           <Transform DEF='Bottom_Objectrotation='1 0 0 1.5708translation='0 -0.45 0'>
 47                                <Transform DEF='Bottom_Reorienterrotation='0 0 1 3.1416'>
 48                                     <IS>
 49                                          <connect nodeField='childrenprotoField='bottomFace'/>
 50                                     </IS>
 51                                </Transform>
 52                           </Transform>
 53                           <Transform DEF='Right_Objectrotation='0 1 0 1.5708translation='0.45 0 0'>
 54                                <Transform DEF='Right_Reorienter'>
 55                                     <IS>
 56                                          <connect nodeField='childrenprotoField='rightFace'/>
 57                                     </IS>
 58                                </Transform>
 59                           </Transform>
 60                           <Transform DEF='Left_Objectrotation='0 1 0 -1.5708translation='-0.45 0 0'>
 61                                <Transform DEF='Left_Reorienterrotation='0 0 1 1.5708'>
 62                                     <IS>
 63                                          <connect nodeField='childrenprotoField='leftFace'/>
 64                                     </IS>
 65                                </Transform>
 66                           </Transform>
 67                           <Transform DEF='Back_Objectrotation='0 1 0 3.1416translation='0 0 -0.45'>
 68                                <Transform DEF='Back_Reorienter'>
 69                                     <IS>
 70                                          <connect nodeField='childrenprotoField='backFace'/>
 71                                     </IS>
 72                                </Transform>
 73                           </Transform>
 74                           <Transform DEF='Top_Objectrotation='1 0 0 -1.5708translation='0 0.45 0'>
 75                                <Transform DEF='Top_Reorienterrotation='0 0 1 3.1416'>
 76                                     <IS>
 77                                          <connect nodeField='childrenprotoField='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.4style='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.9transparency='0.8'/>
 99                           </Appearance>
100                      </Shape>
101                 </Group>
102            </Anchor>
103       </Scene>
104  </X3D>
<!--

Event Graph ROUTE Table shows event connections.

--> <!-- to top DEF nodes index: Back_Object, Back_Reorienter, Bottom_Object, Bottom_Reorienter, Front_Object, Front_Reorienter, Internal_Cube, Left_Object, Left_Reorienter, Right_Object, Right_Reorienter, Top_Object, Top_Reorienter

Index for ProtoDeclare definition: Cubic_Logo

-->
X3D Tooltips element index: to top Anchor, Appearance, Box, connect, field, FontStyle, Group, head, IS, Material, meta, ProtoBody, ProtoDeclare, ProtoInterface, Scene, Shape, Text, Transform, WorldInfo, X3D,
plus documentation for accessType definitions, type definitions, XML data types, and field types

🔖   Event Graph ROUTE Table with 0 ROUTE connections1 Anchor hover hint, showing X3D event-model relationships for this scene.

Each row with a ROUTE statement shows an event cascade that may occur during a single timestamp interval between frame renderings, performed as part of the X3D execution model.

line 84
Anchor
description='Select text to view example model' 
No direct ROUTE connection found for events to/from 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/Web3dOutreach/CubeLogoPrototypeIndex.html -->
<!-- SourceForge version control Version control at    
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Basic/Web3dOutreach/CubeLogoPrototype.x3d -->

<!-- Color-coding legend: X3D terminology <X3dNode DEF='idNamefield='value'/> matches XML terminology <XmlElement DEF='idNameattribute='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. -->