X3D Model Documentation: Figure31_5WoodAppearanceExternalPrototypes.x3d

  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='titlecontent='Figure31_5WoodAppearanceExternalPrototypes.x3d'/>
  6            <meta name='creatorcontent='Figure 31.5, The VRML 2.0 Sourcebook, Copyright [1997] By Andrea L. Ames, David R. Nadeau, and John L. Moreland'/>
  7            <meta name='translatorcontent='Don Brutzman'/>
  8            <meta name='referencecontent='http://www.wiley.com/legacy/compbooks/vrml2sbk/ch31/31fig05.htm'/>
  9            <meta name='createdcontent='28 September 2000'/>
 10            <meta name='modifiedcontent='20 October 2019'/>
 11            <meta name='descriptioncontent='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='identifiercontent='https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter31Prototypes/Figure31_5WoodAppearanceExternalPrototypes.x3d'/>
 13            <meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
 14            <meta name='licensecontent='../../license.html'/>
 15       </head>
<!--

<!-- to top Index for DEF node:

Index for ExternProtoDeclare definitions: DarkOak, LightOak
-->
 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='textureTransformtype='SFNodeaccessType='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='textureTransformtype='SFNodeaccessType='inputOutput'/>
 23            </ExternProtoDeclare>
 24            <Transform translation='-2 0 0'>
 25                 <Shape>
 26                      <Box/>
 27                      <ProtoInstance name='DarkOakcontainerField='appearance'/>
 28                 </Shape>
 29            </Transform>
 30            <Transform translation='2 0 0'>
 31                 <Shape>
 32                      <Box/>
 33                      <ProtoInstance name='LightOakcontainerField='appearance'>
 34                           <fieldValue name='textureTransform'>
 35                                <TextureTransform center='-0 5rotation='0.758scale='2 0.5translation='0.5 0'/>
 36                           </fieldValue>
 37                      </ProtoInstance>
 38                 </Shape>
 39            </Transform>
 40       </Scene>
 41  </X3D>
<!--

<!-- to top Index for DEF node:

Index for ExternProtoDeclare definitions: DarkOak, LightOak
-->
X3D Tooltips element index: Box, ExternProtoDeclare, field, fieldValue, head, meta, ProtoInstance, Scene, Shape, TextureTransform, Transform, WorldInfo, X3D, accessType and type, XML data types, field types

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.


ProtoInstance
DarkOak
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
LightOak
No ROUTE connection found for output events 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. 
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/Vrml2Sourcebook/Chapter31Prototypes/Figure31_5WoodAppearanceExternalPrototypesIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter31Prototypes/Figure31_5WoodAppearanceExternalPrototypes.x3d -->

<!-- Color 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> -->

to top <!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->