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

line 49
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. 

line 72
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. 

line 95
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. 

line 39
Anchor
description='Return to front view' 
User-interaction hint for this node. 

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

line 55
Anchor
description='ArtDeco view source' 
User-interaction hint for this node. 

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

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

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

line 101
Anchor
description='ArtDeco02 view source' 
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-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)
    <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. -->