X3D Model Documentation: SeaStarPrototype.x3d go to online X3D Example Archives model page

  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=' SeaStarPrototype.x3d '/>
  6            <meta name='description' content='Prototype of a simple SeaStar. Zoom in to inspect.'/>
  7            <meta name='creator' content='Karl Tenney'/>
  8            <meta name='translator' content='Scott Tufts'/>
  9            <meta name='created' content='17 December 2001'/>
 10            <meta name='translated' content='13 December 2001'/>
 11            <meta name='modified' content='20 October 2019'/>
 12            <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/KelpForestExhibit/SeaStarPrototype.x3d '/>
 13            <meta name='generator' content='X3D-Edit 3.3, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 14            <meta name='license' content='../license.html'/>
 15       </head>
<!--

Event Graph ROUTE Table shows event connections.

--> <!-- to top DEF nodes index: SeaStarLeg, SeaStarLocation, skinColor, skinTexture

Index for ProtoDeclare definition: SeaStar

-->
 16       <Scene>
 17            <WorldInfo title='SeaStarPrototype.x3d'/>
 18            <ProtoDeclare name='SeaStar'>
 19                 <ProtoInterface>
 20                      <field name='skinDiffuseColor' type='SFColor' value='0.8 0.8 0.8' accessType='inputOutput'/>
 21                      <field name='skinSpecularColor' type='SFColor' value='0 0 0' accessType='inputOutput'/>
 22                      <field name='skinEmissiveColor' type='SFColor' value='0 0 0' accessType='inputOutput'/>
 23                      <field name='skinShininess' type='SFFloat' value='0.2' accessType='inputOutput'/>
 24                      <field name='skinTransparency' type='SFFloat' value='0' accessType='inputOutput'/>
 25                      <field name='skinTextureUrl' type='MFString' accessType='inputOutput'/>
 26                      <field name='translation' type='SFVec3f' value='0.00319815 0.00994461 0.0067411' accessType='inputOutput'/>
 27                      <field name='rotation' type='SFRotation' value='-0.32376 -0.32376 0.889021 1.68816' accessType='inputOutput'/>
 28                      <field name='scale' type='SFVec3f' value='0.659575 0.659575 0.659575' accessType='inputOutput'/>
 29                 </ProtoInterface>
 30                 <ProtoBody>
 31                      <Transform DEF='SeaStarLocation'>
 32                           <IS>
 33                                <connect nodeField='translation' protoField='translation'/>
 34                                <connect nodeField='rotation' protoField='rotation'/>
 35                                <connect nodeField='scale' protoField='scale'/>
 36                           </IS>
 37                           <Transform rotation='1.14191e-007 -1 -5.32201e-006 0.814114' scale='0.0276058 0.0102856 0.0774523' translation='-0.0454274 0.0102855 0.0416858'>
 38 
                              <!-- Shape SeaStarLeg is a DEF node that has 5 USE nodes: USE_1, USE_2, USE_3, USE_4, USE_5 -->
                              <Shape DEF='SeaStarLeg'>
 39                                     <Appearance>
 40                                          <Material DEF='skinColor'>
 41                                               <IS>
 42                                                    <connect nodeField='diffuseColor' protoField='skinDiffuseColor'/>
 43                                                    <connect nodeField='specularColor' protoField='skinSpecularColor'/>
 44                                                    <connect nodeField='emissiveColor' protoField='skinEmissiveColor'/>
 45                                                    <connect nodeField='shininess' protoField='skinShininess'/>
 46                                                    <connect nodeField='transparency' protoField='skinTransparency'/>
 47                                               </IS>
 48                                          </Material>
 49                                          <ImageTexture DEF='skinTexture'>
 50                                               <IS>
 51                                                    <connect nodeField='url' protoField='skinTextureUrl'/>
 52                                               </IS>
 53                                          </ImageTexture>
 54                                     </Appearance>
 55                                     <Sphere/>
 56                                </Shape>
 57                           </Transform>
 58                           <Transform rotation='1.6646e-007 1 6.79179e-007 0.915243' scale='0.0276058 0.0102856 0.118301' translation='-0.0731081 0.0102856 -0.047631'>
 59                                <Shape USE='SeaStarLeg'/>
 60                           </Transform>
 61                           <Transform scale='0.0276058 0.0102856 0.118301' translation='-1.21519e-009 0.0102856 -0.086997'>
 62                                <Shape USE='SeaStarLeg'/>
 63                           </Transform>
 64                           <Transform rotation='7.02699e-008 1 -9.67549e-009 4.71239' scale='0.0276058 0.0102856 0.118301' translation='0.0943676 0.0102856 -9.2235e-010'>
 65                                <Shape USE='SeaStarLeg'/>
 66                           </Transform>
 67                           <Transform rotation='-2.28035e-007 1 -1.9708e-007 0.399743' scale='0.0276058 0.0102856 0.118301' translation='0.0273156 0.0102856 0.0869062'>
 68                                <Shape USE='SeaStarLeg'/>
 69                           </Transform>
 70                           <Transform rotation='1.74007e-006 -1 -1.7261e-007 0.240595' scale='0.0564878 0.00994367 0.0245735' translation='-0.12392 0.00994368 0.0707975'>
 71                                <Shape USE='SeaStarLeg'/>
 72                           </Transform>
 73                      </Transform>
 74                 </ProtoBody>
 75            </ProtoDeclare>
 76            <!-- ==================== -->
 77            <ProtoInstance name='SeaStar'>
 78                 <fieldValue name='rotation' value='0 1 0 0'/>
 79            </ProtoInstance>
 80       </Scene>
 81  </X3D>
<!--

Event Graph ROUTE Table shows event connections.

--> <!-- to top DEF nodes index: SeaStarLeg, SeaStarLocation, skinColor, skinTexture

Index for ProtoDeclare definition: SeaStar

-->

X3D Tooltips element index: to top Appearance, connect, field, fieldValue, head, ImageTexture, IS, Material, meta, ProtoBody, ProtoDeclare, ProtoInstance, ProtoInterface, Scene, Shape, Sphere, Transform, WorldInfo, X3D,
plus documentation for accessType definitions, type definitions, XML data types, and field types

🔖   Event Graph ROUTE Table with 0 ROUTE connections, 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 77
ProtoInstance
SeaStar
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. 

Additional guidance on X3D animation can be found in the 10-Step Animation Design Process and Event Tracing hint sheets.
Have fun with X3D! 😀

-->
go to online X3D Example Archives model page <!-- Online at
https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/KelpForestExhibit/SeaStarPrototypeIndex.html -->
<!-- SourceForge version control Version control at    
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/X3dForWebAuthors/KelpForestExhibit/SeaStarPrototype.x3d -->

<!-- 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> -->

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