1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
|
3 | <X3D profile='Immersive' version='3.3' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.3.xsd'> |
4 | <head> |
5 | <meta name='title' content='SeaStarPrototype.x3d'/> |
6 | <meta name='description' content='Prototype of a simple SeaStar. Zoom in to inspect.'/> |
7 | <meta name='creator' content='Karl Tenney'/> |
8 | <meta name='translator' content='Scott Tufts'/> |
9 | <meta name='created' content='17 December 2001'/> |
10 | <meta name='translated' content='13 December 2001'/> |
11 | <meta name='modified' content='20 October 2019'/> |
12 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/KelpForestExhibit/SeaStarPrototype.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='SeaStarPrototype.x3d'/> |
18 | <ProtoDeclare name='SeaStar'> |
19 | <ProtoInterface> |
20 | <field name='skinDiffuseColor' type='SFColor' value='0.8 0.8 0.8' accessType='inputOutput'/> |
21 | <field name='skinSpecularColor' type='SFColor' value='0 0 0' accessType='inputOutput'/> |
22 | <field name='skinEmissiveColor' type='SFColor' value='0 0 0' accessType='inputOutput'/> |
23 | <field name='skinShininess' type='SFFloat' value='0.2' accessType='inputOutput'/> |
24 | <field name='skinTransparency' type='SFFloat' value='0' accessType='inputOutput'/> |
25 | <field name='skinTextureUrl' type='MFString' accessType='inputOutput'/> |
26 | <field name='translation' type='SFVec3f' value='0.00319815 0.00994461 0.0067411' accessType='inputOutput'/> |
27 | <field name='rotation' type='SFRotation' value='-0.32376 -0.32376 0.889021 1.68816' accessType='inputOutput'/> |
28 | <field name='scale' type='SFVec3f' value='0.659575 0.659575 0.659575' accessType='inputOutput'/> |
29 | </ProtoInterface> |
30 | <ProtoBody> |
31 | <Transform DEF='SeaStarLocation'> |
32 | <IS> |
33 | <connect nodeField='translation' protoField='translation'/> |
34 | <connect nodeField='rotation' protoField='rotation'/> |
35 | <connect nodeField='scale' protoField='scale'/> |
36 | </IS> |
37 | <Transform rotation='1.14191e-007 -1 -5.32201e-006 0.814114' scale='0.0276058 0.0102856 0.0774523' translation='-0.0454274 0.0102855 0.0416858'> |
38 | |
39 | <Appearance> |
40 | <Material DEF='skinColor'> |
41 | <IS> |
42 | <connect nodeField='diffuseColor' protoField='skinDiffuseColor'/> |
43 | <connect nodeField='specularColor' protoField='skinSpecularColor'/> |
44 | <connect nodeField='emissiveColor' protoField='skinEmissiveColor'/> |
45 | <connect nodeField='shininess' protoField='skinShininess'/> |
46 | <connect nodeField='transparency' protoField='skinTransparency'/> |
47 | </IS> |
48 | </Material> |
49 | <ImageTexture DEF='skinTexture'> |
50 | <IS> |
51 | <connect nodeField='url' protoField='skinTextureUrl'/> |
52 | </IS> |
53 | </ImageTexture> |
54 | </Appearance> |
55 | <Sphere/> |
56 | </Shape> |
57 | </Transform> |
58 | <Transform rotation='1.6646e-007 1 6.79179e-007 0.915243' scale='0.0276058 0.0102856 0.118301' translation='-0.0731081 0.0102856 -0.047631'> |
59 | <Shape USE='SeaStarLeg'/> |
60 | </Transform> |
61 | <Transform scale='0.0276058 0.0102856 0.118301' translation='-1.21519e-009 0.0102856 -0.086997'> |
62 | <Shape USE='SeaStarLeg'/> |
63 | </Transform> |
64 | <Transform rotation='7.02699e-008 1 -9.67549e-009 4.71239' scale='0.0276058 0.0102856 0.118301' translation='0.0943676 0.0102856 -9.2235e-010'> |
65 | <Shape USE='SeaStarLeg'/> |
66 | </Transform> |
67 | <Transform rotation='-2.28035e-007 1 -1.9708e-007 0.399743' scale='0.0276058 0.0102856 0.118301' translation='0.0273156 0.0102856 0.0869062'> |
68 | <Shape USE='SeaStarLeg'/> |
69 | </Transform> |
70 | <Transform rotation='1.74007e-006 -1 -1.7261e-007 0.240595' scale='0.0564878 0.00994367 0.0245735' translation='-0.12392 0.00994368 0.0707975'> |
71 | <Shape USE='SeaStarLeg'/> |
72 | </Transform> |
73 | </Transform> |
74 | </ProtoBody> |
75 | </ProtoDeclare> |
76 | <!-- ==================== --> |
77 | <ProtoInstance name='SeaStar'> |
78 | <fieldValue name='rotation' value='0 1 0 0'/> |
79 | </ProtoInstance> |
80 | </Scene> |
81 | </X3D> |
<!--
Color-coding legend: X3D terminology
<X3dNode
DEF='idName' field='value'/>
matches XML terminology
<XmlElement
DEF='idName' 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.
-->