X3D Model Documentation: ArtDecoExamplesExcerpt.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='ArtDecoExamplesExcerpt.x3d'/>
  6            <meta name='descriptioncontent="Example ExternProtoDeclare/ProtoInstance usage of X3D/VRML materials, originally converted from SGI's Open Inventor material examples. Excerpted from original."/>
  7            <meta name='creatorcontent='David Roussel'/>
  8            <meta name='translatorcontent='James Harney, Don Brutzman NPS'/>
  9            <meta name='createdcontent='7 April 2002'/>
 10            <meta name='modifiedcontent='20 October 2019'/>
 11            <meta name=' TODO content=' Xj3D not displaying materials loaded from ExternProtoDeclare ProtoInstance nodes '/>
 12            <meta name='referencecontent='http://vrmlstuff.free.fr/materials'/>
 13            <meta name='subjectcontent='Universal Media Material Library'/>
 14            <meta name='referencecontent='https://www.web3d.org/x3d/content/examples/Basic/UniversalMediaMaterials/ArtDecoExamples.x3d'/>
 15            <meta name='identifiercontent='https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter14Prototypes/ArtDecoExamplesExcerpt.x3d'/>
 16            <meta name='generatorcontent='Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html'/>
 17            <meta name='licensecontent='../license.html'/>
 18       </head>
<!--

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

<!-- to top Index for DEF nodes: Back, Ball, Close, Close_Mover, Close_Time, Close_travel, Front, PersLeft, PersRight, Style, TextMat, View00, View01, View02

Index for Viewpoint nodes: Back, Close, Front, PersLeft, PersRight, View00, View01, View02

Index for ExternProtoDeclare definitions: ArtDeco00, ArtDeco01, ArtDeco02
-->
 19       <Scene>
 20            <!-- Note that these url address references were changed from original collection in Basic X3D Examples Archive and instead reference local excerpt -->
 21            <WorldInfo title='ArtDecoExamplesExcerpt.x3d'/>
 22            <ExternProtoDeclare name='ArtDeco00appinfo='UniversalMediaMaterials prototype' documentation='https://www.web3d.org/x3d/content/examples/Basic/UniversalMediaMaterials'   url=' "ArtDecoPrototypesExcerpt.x3d#ArtDeco00" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter14Prototypes/ArtDecoPrototypesExcerpt.x3d#ArtDeco00" "ArtDecoPrototypesExcerpt.wrl#ArtDeco00" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter14Prototypes/ArtDecoPrototypesExcerpt.wrl#ArtDeco00" '/>
 23            <ExternProtoDeclare name='ArtDeco01appinfo='UniversalMediaMaterials prototype' documentation='https://www.web3d.org/x3d/content/examples/Basic/UniversalMediaMaterials'   url=' "ArtDecoPrototypesExcerpt.x3d#ArtDeco01" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter14Prototypes/ArtDecoPrototypesExcerpt.x3d#ArtDeco01" "ArtDecoPrototypesExcerpt.wrl#ArtDeco01" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter14Prototypes/ArtDecoPrototypesExcerpt.wrl#ArtDeco01" '/>
 24            <ExternProtoDeclare name='ArtDeco02appinfo='UniversalMediaMaterials prototype' documentation='https://www.web3d.org/x3d/content/examples/Basic/UniversalMediaMaterials'   url=' "ArtDecoPrototypesExcerpt.x3d#ArtDeco02" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter14Prototypes/ArtDecoPrototypesExcerpt.x3d#ArtDeco02" "ArtDecoPrototypesExcerpt.wrl#ArtDeco02" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter14Prototypes/ArtDecoPrototypesExcerpt.wrl#ArtDeco02" '/>
 25            <Group>
 26                 <NavigationInfo headlight='false'/>
 27                 <Viewpoint DEF='Frontdescription='Front viewposition='0.0 0.0 12.0'/>
 28                 <Viewpoint DEF='PersRightdescription='Low Rightorientation='0.74291 0.30772 0.59447 1.2171position='6.9282 -6.9282 6.9282'/>
 29                 <Viewpoint DEF='PersLeftdescription='Low Leftorientation='0.74291 -0.30772 -0.59447 1.2171position='-6.9282 -6.9282 6.9282'/>
 30                 <Viewpoint DEF='Backdescription='Back vieworientation='0.0 1.0 0.0 3.1416position='0.0 0.0 -12.0'/>
 31 
               <!-- ROUTE information for Close_travel node:  [from Close_Mover.value_changed to set_translation ] -->
               <Transform DEF='Close_travel'>
 32 
                    <!-- ROUTE information for Close_Mover node:  [from Close_Time.fraction_changed to set_fraction ] [from value_changed to Close_travel.set_translation ] -->
                    <PositionInterpolator DEF='Close_Moverkey='0.0 0.25 0.5 0.75 1.0keyValue='0.0 2.5 0.0 0.0 0.0 0.0 0.0 -2.5 0.0 0.0 0.0 0.0 0.0 2.5 0.0'/>
 33 
                    <!-- ROUTE information for Close_Time node:  [from fraction_changed to Close_Mover.set_fraction ] -->
                    <TimeSensor DEF='Close_TimecycleInterval='12.0loop='true'/>
 34                      <Viewpoint DEF='Closedescription='Close Frontposition='0.0 0.0 6.0'/>
 35                 </Transform>
 36                 <DirectionalLight direction='1.0 -1.0 -1.0'/>
 37                 <DirectionalLight direction='0.0 1.0 -0.5intensity='0.5'/>
 38                 <Anchor description='Back to front view'   url=' "#Front" '>
 39                      <Transform translation='0.0 0.0 -0.5'>
 40                           <Inline   url=' "../../Basic/UniversalMediaMaterials/gridBack.x3d" "https://www.web3d.org/x3d/content/examples/Basic/UniversalMediaMaterials/gridBack.x3d" "../../Basic/UniversalMediaMaterials/gridBack.wrl" "https://www.web3d.org/x3d/content/examples/Basic/UniversalMediaMaterials/gridBack.wrl" '/>
 41                      </Transform>
 42                 </Anchor>
 43                 <Viewpoint DEF='View00description='ArtDeco00position='-3.75 3.75 3.0'/>
 44                 <Transform translation='-3.75 3.75 0.0'>
 45                      <Anchor description='ArtDeco00 view'   url=' "#View00" '>
 46                           <Shape>
 47                                <Appearance>
 48                                     <ProtoInstance name='ArtDeco00containerField='material'/>
 49                                </Appearance>
 50 
                              <!-- Sphere Ball is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
                              <Sphere DEF='Ballradius='0.5'/>
 51                           </Shape>
 52                      </Anchor>
 53                      <Transform translation='0.0 0.3 0.5'>
 54                           <Anchor description='ArtDecoparameter='"target=_source"'   url=' "ArtDecoPrototypesExcerpt.html#ProtoDeclare_ArtDeco00" "https://www.web3d.org/x3d/content/examples/Basic/UniversalMediaMaterials/ArtDecoPrototypesExcerpt.html#ProtoDeclare_ArtDeco" '>
 55                                <Shape>
 56                                     <Appearance>
 57 
                                        <!-- Material TextMat is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
                                        <Material DEF='TextMatdiffuseColor='1.0 1.0 1.0'/>
 58                                     </Appearance>
 59                                     <Text string='"ArtDeco00"'>
 60 
                                        <!-- FontStyle Style is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
                                        <FontStyle DEF='Stylefamily='"SANS"justify='"MIDDLE" "MIDDLE"size='0.3style='BOLD'/>
 61                                     </Text>
 62                                </Shape>
 63                           </Anchor>
 64                      </Transform>
 65                 </Transform>
 66                 <Viewpoint DEF='View01description='ArtDeco01position='-2.25 3.75 3.0'/>
 67                 <Transform translation='-2.25 3.75 0.0'>
 68                      <Anchor description='ArtDeco01 view'   url=' "#View01" '>
 69                           <Shape>
 70                                <Appearance>
 71                                     <ProtoInstance name='ArtDeco01containerField='material'/>
 72                                </Appearance>
 73                                <Sphere USE='Ball'/>
 74                           </Shape>
 75                      </Anchor>
 76                      <Transform translation='0.0 0.3 0.5'>
 77                           <Anchor description='ArtDeco01parameter='"target=_source"'   url=' "ArtDecoPrototypesExcerpt.html#ProtoDeclare_ArtDeco01" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter14Prototypes/ArtDecoPrototypesExcerpt.html#ProtoDeclare_ArtDeco01" '>
 78                                <Shape>
 79                                     <Appearance>
 80                                          <Material USE='TextMat'/>
 81                                     </Appearance>
 82                                     <Text string='"ArtDeco01"'>
 83                                          <FontStyle USE='Style'/>
 84                                     </Text>
 85                                </Shape>
 86                           </Anchor>
 87                      </Transform>
 88                 </Transform>
 89                 <Viewpoint DEF='View02description='ArtDeco02position='-0.75 3.75 3.0'/>
 90                 <Transform translation='-0.75 3.75 0.0'>
 91                      <Anchor description='ArtDeco02 view'   url=' "#View02" '>
 92                           <Shape>
 93                                <Appearance>
 94                                     <ProtoInstance name='ArtDeco02containerField='material'/>
 95                                </Appearance>
 96                                <Sphere USE='Ball'/>
 97                           </Shape>
 98                      </Anchor>
 99                      <Transform translation='0.0 0.3 0.5'>
100                           <Anchor description='ArtDeco02parameter='"target=_source"'   url=' "ArtDecoPrototypesExcerpt.html#ProtoDeclare_ArtDeco02" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter14Prototypes/ArtDecoPrototypesExcerpt.html#ProtoDeclare_ArtDeco02" '>
101                                <Shape>
102                                     <Appearance>
103                                          <Material USE='TextMat'/>
104                                     </Appearance>
105                                     <Text string='"ArtDeco02"'>
106                                          <FontStyle USE='Style'/>
107                                     </Text>
108                                </Shape>
109                           </Anchor>
110                      </Transform>
111                 </Transform>
112            </Group>
113            < ROUTE  fromNode='Close_Time' fromField='fraction_changed' toNode='Close_Mover' toField='set_fraction'/>
114            < ROUTE  fromNode='Close_Mover' fromField='value_changed' toNode='Close_travel' toField='set_translation'/>
115       </Scene>
116  </X3D>
<!--

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

<!-- to top Index for DEF nodes: Back, Ball, Close, Close_Mover, Close_Time, Close_travel, Front, PersLeft, PersRight, Style, TextMat, View00, View01, View02

Index for Viewpoint nodes: Back, Close, Front, PersLeft, PersRight, View00, View01, View02

Index for ExternProtoDeclare definitions: ArtDeco00, ArtDeco01, ArtDeco02
-->
X3D Tooltips element index: Anchor, Appearance, DirectionalLight, ExternProtoDeclare, FontStyle, Group, head, Inline, Material, meta, NavigationInfo, PositionInterpolator, ProtoInstance, ROUTE, Scene, Shape, Sphere, Text, TimeSensor, Transform, Viewpoint, WorldInfo, X3D, accessType and type, XML data types, field types

Event Graph ROUTE Table entries with 2 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.

Close_Time
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(1)
Close_Mover
PositionInterpolator
set_fraction
SFFloat
then
 
 
 
Close_Mover
PositionInterpolator
value_changed
SFVec3f

ROUTE
event to
(2)
Close_travel
Transform
set_translation
SFVec3f


ProtoInstance
ArtDeco00
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
ArtDeco01
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
ArtDeco02
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. 


Anchor
description='Back to front view' 
User-interaction hint for this node. 


Anchor
description='ArtDeco00 view' 
User-interaction hint for this node. 


Anchor
description='ArtDeco' 
User-interaction hint for this node. 


Anchor
description='ArtDeco01 view' 
User-interaction hint for this node. 


Anchor
description='ArtDeco01' 
User-interaction hint for this node. 


Anchor
description='ArtDeco02 view' 
User-interaction hint for this node. 


Anchor
description='ArtDeco02' 
User-interaction hint for 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/X3dForWebAuthors/Chapter14Prototypes/ArtDecoExamplesExcerptIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter14Prototypes/ArtDecoExamplesExcerpt.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. -->