<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://www.web3d.org/specifications/x3d-3.0.dtd">
<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 ' >
<head>
<meta name='titlecontent='Figure31_2MaterialPrototypesLibrary.x3d'/>
<meta name='creatorcontent='Figure 31.2, The VRML 2.0 Sourcebook, Copyright [1997] By Andrea L. Ames, David R. Nadeau, and John L. Moreland'/>
<meta name='referencecontent=' http://www.wiley.com/legacy/compbooks/vrml2sbk/ch31/31fig02.htm '/>
<meta name='translatorcontent='Don Brutzman'/>
<meta name='createdcontent='27 September 2000'/>
<meta name='modifiedcontent='20 October 2019'/>
<meta name='descriptioncontent='An external file containing a material library with the WallColor-node-type definition.'/>
<meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter31Prototypes/Figure31_2MaterialPrototypesLibrary.x3d '/>
<meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../../license.html'/>
</head>
<!--

Index for ProtoDeclare definitions: Aluminum, Aqua, Copper, Gold
-->
<Scene>
<WorldInfo title='Figure31_2MaterialPrototypesLibrary.x3d'/>
<ProtoDeclare name='Aqua'>
<ProtoBody>
<Material diffuseColor='0 0.6 1'/>
</ProtoBody>
</ProtoDeclare>
<ProtoDeclare name='Gold'>
<ProtoBody>
<Material ambientIntensity='0.4diffuseColor='0.22 0.15 0shininess='0.16specularColor='0.71 0.70 0.56'/>
</ProtoBody>
</ProtoDeclare>
<ProtoDeclare name='Aluminum'>
<ProtoBody>
<Material ambientIntensity='0.3diffuseColor='0.3 0.3 0.5shininess='0.1specularColor='0.7 0.7 0.8'/>
</ProtoBody>
</ProtoDeclare>
<ProtoDeclare name='Copper'>
<ProtoBody>
<Material ambientIntensity='0.26diffuseColor='0.30 0.11 0shininess='0.08specularColor='0.75 0.33 0'/>
</ProtoBody>
</ProtoDeclare>
<!-- It is a good practice to include default message linking to an example scene, in case a user tries to view this Prototype library directly. -->
<Anchor description='Figure31_3MaterialExternalPrototypes'
  url=' "Figure31_3MaterialExternalPrototypes.x3d" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter31Prototypes/Figure31_3MaterialExternalPrototypes.x3d" "Figure31_3MaterialExternalPrototypes.wrl" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter31Prototypes/Figure31_3MaterialExternalPrototypes.wrl" ' >
<Shape>
<Text string='"Figure31_2MaterialPrototypesLibrary" "contains prototype definitions" "" "Click on text to see these Materials in" "Figure31_3MaterialExternalPrototypes"'>
<FontStyle justify='"MIDDLE" "MIDDLE"size='0.5'/>
</Text>
<Appearance>
<Material diffuseColor='0 0.6 0.6'/>
</Appearance>
</Shape>
</Anchor>
</Scene>
</X3D>
<!--

Index for ProtoDeclare definitions: Aluminum, Aqua, Copper, Gold
-->
-->

<!-- Online at
https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter31Prototypes/Figure31_2MaterialPrototypesLibraryIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter31Prototypes/Figure31_2MaterialPrototypesLibrary.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)
    <ProtoDeclare name='ProtoName'> <field name='fieldName'/> </ProtoDeclare> -->

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