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_2MaterialPrototypesLibrary.x3d'/> |
6 | <meta name='creator' content='Figure 31.2, The VRML 2.0 Sourcebook, Copyright [1997] By Andrea L. Ames, David R. Nadeau, and John L. Moreland'/> |
7 | <meta name='reference' content='http://www.wiley.com/legacy/compbooks/vrml2sbk/ch31/31fig02.htm'/> |
8 | <meta name='translator' content='Don Brutzman'/> |
9 | <meta name='created' content='27 September 2000'/> |
10 | <meta name='modified' content='20 October 2019'/> |
11 | <meta name='description' content='An external file containing a material library with the WallColor-node-type definition.'/> |
12 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter31Prototypes/Figure31_2MaterialPrototypesLibrary.x3d'/> |
13 | <meta name='generator' content='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/> |
14 | <meta name='license' content='../../license.html'/> |
15 | </head> |
16 | <Scene> |
17 | <WorldInfo title='Figure31_2MaterialPrototypesLibrary.x3d'/> |
18 | <ProtoDeclare name='Aqua'> |
19 | <ProtoBody> |
20 | <Material diffuseColor='0 0.6 1'/> |
21 | </ProtoBody> |
22 | </ProtoDeclare> |
23 | <ProtoDeclare name='Gold'> |
24 | <ProtoBody> |
25 | <Material ambientIntensity='0.4' diffuseColor='0.22 0.15 0' shininess='0.16' specularColor='0.71 0.70 0.56'/> |
26 | </ProtoBody> |
27 | </ProtoDeclare> |
28 | <ProtoDeclare name='Aluminum'> |
29 | <ProtoBody> |
30 | <Material ambientIntensity='0.3' diffuseColor='0.3 0.3 0.5' shininess='0.1' specularColor='0.7 0.7 0.8'/> |
31 | </ProtoBody> |
32 | </ProtoDeclare> |
33 | <ProtoDeclare name='Copper'> |
34 | <ProtoBody> |
35 | <Material ambientIntensity='0.26' diffuseColor='0.30 0.11 0' shininess='0.08' specularColor='0.75 0.33 0'/> |
36 | </ProtoBody> |
37 | </ProtoDeclare> |
38 | <!-- 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. --> |
39 | <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" '> |
40 | <Shape> |
41 | <Text string='"Figure31_2MaterialPrototypesLibrary" "contains prototype definitions" "" "Click on text to see these Materials in" "Figure31_3MaterialExternalPrototypes"'> |
42 | <FontStyle justify='"MIDDLE" "MIDDLE"' size='0.5'/> |
43 | </Text> |
44 | <Appearance> |
45 | <Material diffuseColor='0 0.6 0.6'/> |
46 | </Appearance> |
47 | </Shape> |
48 | </Anchor> |
49 | </Scene> |
50 | </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.
Anchor |
description='Figure31_3MaterialExternalPrototypes' User-interaction hint for this node. |
<!--
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>
-->
<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->