| 1 |
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://www.web3d.org/specifications/x3d-3.0.dtd">
|
| 3 | <X3D profile='Immersive' version='3.0' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.0.xsd'> |
| 4 | <head> |
| 5 | <meta name='title' content=' Figure31_5WoodAppearanceExternalPrototypes.x3d '/> |
| 6 | <meta name='creator' content='Figure 31.5, The VRML 2.0 Sourcebook, Copyright [1997] By Andrea L. Ames, David R. Nadeau, and John L. Moreland'/> |
| 7 | <meta name='translator' content='Don Brutzman'/> |
| 8 | <meta name='reference' content=' http://www.wiley.com/legacy/compbooks/vrml2sbk/ch31/31fig05.htm '/> |
| 9 | <meta name='created' content='28 September 2000'/> |
| 10 | <meta name='modified' content='20 October 2019'/> |
| 11 | <meta name='description' content='Two wood blocks using appearance-node types from an external appearance library file. Note modification of second prototype using a TextureTransform node parameter.'/> |
| 12 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter31Prototypes/Figure31_5WoodAppearanceExternalPrototypes.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> |
| 16 | <Scene> |
| 17 | <WorldInfo title='Figure31_5WoodAppearanceExternalPrototypes.x3d'/> |
| 18 | <ExternProtoDeclare name='DarkOak' url=' "Figure31_4WoodAppearancePrototypesLibrary.x3d#DarkOak" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter31Prototypes/Figure31_4WoodAppearancePrototypesLibrary.x3d#DarkOak" "Figure31_4WoodAppearancePrototypesLibrary.wrl#DarkOak" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter31Prototypes/Figure31_4WoodAppearancePrototypesLibrary.wrl#DarkOak" '> |
| 19 | <field name='textureTransform' type='SFNode' accessType='inputOutput'/> |
| 20 | </ExternProtoDeclare> |
| 21 | <ExternProtoDeclare name='LightOak' url=' "Figure31_4WoodAppearancePrototypesLibrary.x3d#LightOak" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter31Prototypes/Figure31_4WoodAppearancePrototypesLibrary.x3d#LightOak" "Figure31_4WoodAppearancePrototypesLibrary.wrl#LightOak" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter31Prototypes/Figure31_4WoodAppearancePrototypesLibrary.wrl#LightOak" '> |
| 22 | <field name='textureTransform' type='SFNode' accessType='inputOutput'/> |
| 23 | </ExternProtoDeclare> |
| 24 | <Transform translation='-2 0 0'> |
| 25 | <Shape> |
| 26 | <Box/> |
| 27 | <ProtoInstance name='DarkOak' containerField='appearance'/> |
| 28 | </Shape> |
| 29 | </Transform> |
| 30 | <Transform translation='2 0 0'> |
| 31 | <Shape> |
| 32 | <Box/> |
| 33 | <ProtoInstance name='LightOak' containerField='appearance'> |
| 34 | <fieldValue name='textureTransform'> |
| 35 | <TextureTransform center='-0 5' rotation='0.758' scale='2 0.5' translation='0.5 0'/> |
| 36 | </fieldValue> |
| 37 | </ProtoInstance> |
| 38 | </Shape> |
| 39 | </Transform> |
| 40 | </Scene> |
| 41 | </X3D> |
Event Graph ROUTE Table with 0 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.
| line 27
ProtoInstance DarkOak |
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 33
ProtoInstance LightOak |
No direct ROUTE connection found for events to/from this node. This ProtoInstance contains SFNode/MFNode fieldValue declaration with direct access to other nodes, and thus has potential to produce run-time animation. |
<!--
Color-coding legend: X3D terminology
<X3dNode field='value'/>
matches XML terminology
<XmlElement 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.
-->