| 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=' ArtDecoExamplesExcerpt.x3d '/> |
| 6 | <meta name='description' content="Example ExternProtoDeclare/ProtoInstance usage of X3D/VRML materials, originally converted from SGI's Open Inventor material examples. Excerpted from original."/> |
| 7 | <meta name='creator' content='David Roussel'/> |
| 8 | <meta name='translator' content='James Harney, Don Brutzman NPS'/> |
| 9 | <meta name='created' content='7 April 2002'/> |
| 10 | <meta name='modified' content='19 January 2025'/> |
| 11 | <meta name=' TODO ' content=' Xj3D not displaying materials loaded from ExternProtoDeclare ProtoInstance nodes '/> |
| 12 | <meta name='reference' content='http://vrmlstuff.free.fr/materials'/> |
| 13 | <meta name='subject' content='Universal Media Material Library'/> |
| 14 | <meta name='reference' content='https://www.web3d.org/x3d/content/examples/Basic/UniversalMediaMaterials'/> |
| 15 | <meta name='reference' content=' https://www.web3d.org/x3d/content/examples/Basic/UniversalMediaMaterials/ArtDecoExamples.x3d '/> |
| 16 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter14Prototypes/ArtDecoExamplesExcerpt.x3d '/> |
| 17 | <meta name='generator' content=' Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html '/> |
| 18 | <meta name='license' content='../license.html'/> |
| 19 | </head> |
| 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='ArtDeco00' appinfo='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='ArtDeco01' appinfo='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='ArtDeco02' appinfo='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='Front' description='Front view' position='0.0 0.0 12.0'/> |
| 29 | <Viewpoint DEF='PersRight' description='Low Right' orientation='0.74291 0.30772 0.59447 1.2171' position='6.9282 -6.9282 6.9282'/> |
| 30 | <Viewpoint DEF='PersLeft' description='Low Left' orientation='0.74291 -0.30772 -0.59447 1.2171' position='-6.9282 -6.9282 6.9282'/> |
| 31 | <Viewpoint DEF='Back' description='Back view' orientation='0.0 1.0 0.0 3.1416' position='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_Mover' key='0.0 0.25 0.5 0.75 1.0' keyValue='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_Time' cycleInterval='12.0' loop='true'/> |
| 35 | <Viewpoint DEF='Close' description='Close Front' position='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.5' intensity='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='View00' description='ArtDeco00' position='-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='ArtDeco00' containerField='material'/> |
| 50 | </Appearance> |
| 51 | |
| 52 | </Shape> |
| 53 | </Anchor> |
| 54 | <Transform translation='0.0 0.3 0.5'> |
| 55 | <Anchor description='ArtDeco view source' parameter='"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 | |
| 59 | </Appearance> |
| 60 | <Text string='"ArtDeco00"'> |
| 61 | |
| 62 | </Text> |
| 63 | </Shape> |
| 64 | </Anchor> |
| 65 | </Transform> |
| 66 | </Transform> |
| 67 | <Viewpoint DEF='View01' description='ArtDeco01' position='-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='ArtDeco01' containerField='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 source' parameter='"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='View02' description='ArtDeco02' position='-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='ArtDeco02' containerField='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 source' parameter='"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 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 |
Close_Mover
PositionInterpolator set_fraction SFFloat |
then
|
Close_Mover
PositionInterpolator value_changed SFVec3f |
Close_travel
Transform set_translation SFVec3f |
| line 49
ProtoInstance ArtDeco00 |
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. |
| line 72
ProtoInstance ArtDeco01 |
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. |
| line 95
ProtoInstance ArtDeco02 |
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. |
| 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. |
<!--
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>
-->
<!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints.
-->