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='20 October 2019'/> |
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/ArtDecoExamples.x3d'/> |
15 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter14Prototypes/ArtDecoExamplesExcerpt.x3d'/> |
16 | <meta name='generator' content='Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html'/> |
17 | <meta name='license' content='../license.html'/> |
18 | </head> |
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='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" '/> |
23 | <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" '/> |
24 | <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" '/> |
25 | <Group> |
26 | <NavigationInfo headlight='false'/> |
27 | <Viewpoint DEF='Front' description='Front view' position='0.0 0.0 12.0'/> |
28 | <Viewpoint DEF='PersRight' description='Low Right' orientation='0.74291 0.30772 0.59447 1.2171' position='6.9282 -6.9282 6.9282'/> |
29 | <Viewpoint DEF='PersLeft' description='Low Left' orientation='0.74291 -0.30772 -0.59447 1.2171' position='-6.9282 -6.9282 6.9282'/> |
30 | <Viewpoint DEF='Back' description='Back view' orientation='0.0 1.0 0.0 3.1416' position='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_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'/> |
33 |
<!-- ROUTE information for Close_Time node:
[from fraction_changed to Close_Mover.set_fraction
]
-->
<TimeSensor DEF='Close_Time' cycleInterval='12.0' loop='true'/> |
34 | <Viewpoint DEF='Close' description='Close Front' position='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.5' intensity='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='View00' description='ArtDeco00' position='-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='ArtDeco00' containerField='material'/> |
49 | </Appearance> |
50 | |
51 | </Shape> |
52 | </Anchor> |
53 | <Transform translation='0.0 0.3 0.5'> |
54 | <Anchor description='ArtDeco' parameter='"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 | |
58 | </Appearance> |
59 | <Text string='"ArtDeco00"'> |
60 | |
61 | </Text> |
62 | </Shape> |
63 | </Anchor> |
64 | </Transform> |
65 | </Transform> |
66 | <Viewpoint DEF='View01' description='ArtDeco01' position='-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='ArtDeco01' containerField='material'/> |
72 | </Appearance> |
73 | <Sphere USE='Ball'/> |
74 | </Shape> |
75 | </Anchor> |
76 | <Transform translation='0.0 0.3 0.5'> |
77 | <Anchor description='ArtDeco01' parameter='"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='View02' description='ArtDeco02' position='-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='ArtDeco02' containerField='material'/> |
95 | </Appearance> |
96 | <Sphere USE='Ball'/> |
97 | </Shape> |
98 | </Anchor> |
99 | <Transform translation='0.0 0.3 0.5'> |
100 | <Anchor description='ArtDeco02' parameter='"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 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 |
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. |
<!--
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>
-->
<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->