X3D Model Documentation: Figure31_3MaterialExternalPrototypes.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_3MaterialExternalPrototypes.x3d'/>
  6            <meta name='creatorcontent='Figure 31.3, The VRML 2.0 Sourcebook, Copyright [1997] By Andrea L. Ames, David R. Nadeau, and John L. Moreland'/>
  7            <meta name='referencecontent='http://www.wiley.com/legacy/compbooks/vrml2sbk/ch31/31fig03.htm'/>
  8            <meta name='translatorcontent='Don Brutzman'/>
  9            <meta name='createdcontent='27 September 2000'/>
 10            <meta name='modifiedcontent='20 October 2019'/>
 11            <meta name='descriptioncontent='A world that uses an externally declared node type.'/>
 12            <meta name='identifiercontent='https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter31Prototypes/Figure31_3MaterialExternalPrototypes.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: Aluminum, Aqua, Copper, Gold
-->
 16       <Scene>
 17            <WorldInfo title='Figure31_3MaterialExternalPrototypes.x3d'/>
 18            <ExternProtoDeclare name='Aqua'   url=' "Figure31_2MaterialPrototypesLibrary.wrl#Aqua" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter31Prototypes/Figure31_2MaterialPrototypesLibrary.wrl#Aqua" "Figure31_2MaterialPrototypesLibrary.x3d#Aqua" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter31Prototypes/Figure31_2MaterialPrototypesLibrary.x3d#Aqua" '/>
 19            <ExternProtoDeclare name='Gold'   url=' "Figure31_2MaterialPrototypesLibrary.wrl#Gold" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter31Prototypes/Figure31_2MaterialPrototypesLibrary.wrl#Gold" "Figure31_2MaterialPrototypesLibrary.x3d#Gold" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter31Prototypes/Figure31_2MaterialPrototypesLibrary.x3d#Gold" '/>
 20            <ExternProtoDeclare name='Aluminum'   url=' "Figure31_2MaterialPrototypesLibrary.wrl#Aluminum" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter31Prototypes/Figure31_2MaterialPrototypesLibrary.wrl#Aluminum" "Figure31_2MaterialPrototypesLibrary.x3d#Aluminum" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter31Prototypes/Figure31_2MaterialPrototypesLibrary.x3d#Aluminum" '/>
 21            <ExternProtoDeclare name='Copper'   url=' "Figure31_2MaterialPrototypesLibrary.wrl#Copper" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter31Prototypes/Figure31_2MaterialPrototypesLibrary.wrl#Copper" "Figure31_2MaterialPrototypesLibrary.x3d#Copper" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter31Prototypes/Figure31_2MaterialPrototypesLibrary.x3d#Copper" '/>
 22            <Transform translation='-3 0 0'>
 23                 <Shape>
 24                      <Box/>
 25                      <Appearance>
 26                           <ProtoInstance name='AquacontainerField='material'/>
 27                      </Appearance>
 28                 </Shape>
 29            </Transform>
 30            <Transform translation='-1 0 0'>
 31                 <Shape>
 32                      <Sphere/>
 33                      <Appearance>
 34                           <ProtoInstance name='GoldcontainerField='material'/>
 35                      </Appearance>
 36                 </Shape>
 37            </Transform>
 38            <Transform translation='1 0 0'>
 39                 <Shape>
 40                      <Cone/>
 41                      <Appearance>
 42                           <ProtoInstance name='AluminumcontainerField='material'/>
 43                      </Appearance>
 44                 </Shape>
 45            </Transform>
 46            <Transform translation='3 0 0'>
 47                 <Shape>
 48                      <Cylinder/>
 49                      <Appearance>
 50                           <ProtoInstance name='CoppercontainerField='material'/>
 51                      </Appearance>
 52                 </Shape>
 53            </Transform>
 54       </Scene>
 55  </X3D>
<!--

<!-- to top Index for DEF node:

Index for ExternProtoDeclare definitions: Aluminum, Aqua, Copper, Gold
-->
X3D Tooltips element index: Appearance, Box, Cone, Cylinder, ExternProtoDeclare, head, meta, ProtoInstance, Scene, Shape, Sphere, 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
Aqua
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
Gold
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
Aluminum
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
Copper
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. 
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_3MaterialExternalPrototypesIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter31Prototypes/Figure31_3MaterialExternalPrototypes.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. -->