<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
<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
'>
<head>
</head>
<!--
Index for ProtoDeclare definition
:
HalfMoon
Index for DEF nodes
:
AnimationGroup,
Eye,
Fin_Skin,
Fish_Shape,
FishColor,
FishTexture,
HalfMoonPath,
Left_Pectoral,
Left_Pectoral_Rotation,
MyHalfMoon,
Orbit,
OrbitClock,
Right_Pectoral,
Right_Pectoral_Rotation,
Timer,
Waggler
-->
<Scene>
<WorldInfo title='HalfMoonPrototype.x3d'/>
<ProtoDeclare name='HalfMoon' appinfo='HalfMoon fish'>
<ProtoInterface>
</ProtoInterface>
<ProtoBody>
<!-- ROUTE information for MyHalfMoon node:
[from Orbit.value_changed to set_rotation
]
[from HalfMoonPath.value_changed to set_translation
]
-->
<Transform DEF='MyHalfMoon'>
<IS>
<connect nodeField='scale' protoField='fishScale'/>
</IS>
<Shape>
</Shape>
<Shape>
<Appearance DEF='Fin_Skin'>
<Material diffuseColor='0.5 0.5 0.5' transparency='0.2'/>
</Appearance>
</Shape>
<Transform translation='1.37 0.1 0.1'>
<Shape DEF='Eye'>
<Appearance>
<Material diffuseColor='0.5 0.5 0.5' shininess='1' specularColor='0.3 0.3 0.3'/>
</Appearance>
<Sphere radius='0.04'/>
</Shape>
</Transform>
<Transform translation='1.37 0.1 -0.1'>
</Transform>
<Transform scale='2.6 1 0.7' translation='1.46 0 0'>
<!-- Mouth -->
<Shape USE='Eye'/>
</Transform>
<!-- ROUTE information for Left_Pectoral node:
[from Left_Pectoral_Rotation.value_changed to set_rotation
]
-->
<Transform DEF='Left_Pectoral' translation='1.1 -0.15 -0.1'>
<Shape>
<Appearance USE='Fin_Skin'/>
<IndexedFaceSet solid='false' coordIndex='0 1 2 -1'>
<Coordinate point='0 0 0 0.2 0 0 -0.2 0 -0.2'/>
</IndexedFaceSet>
</Shape>
</Transform>
<!-- ROUTE information for Right_Pectoral node:
[from Right_Pectoral_Rotation.value_changed to set_rotation
]
-->
<Transform DEF='Right_Pectoral' translation='1.1 -0.15 0.1'>
<Shape>
<Appearance USE='Fin_Skin'/>
<IndexedFaceSet solid='false' coordIndex='0 1 2 -1'>
<Coordinate point='0 0 0 0.2 0 0 -0.2 0 0.2'/>
</IndexedFaceSet>
</Shape>
</Transform>
<Group DEF='AnimationGroup'>
</Group>
</Transform>
</ProtoBody>
</ProtoDeclare>
<!-- ==================== -->
<ProtoInstance name='HalfMoon'/>
</Scene>
</X3D>
<!--
Index for ProtoDeclare definition
:
HalfMoon
Index for DEF nodes
:
AnimationGroup,
Eye,
Fin_Skin,
Fish_Shape,
FishColor,
FishTexture,
HalfMoonPath,
Left_Pectoral,
Left_Pectoral_Rotation,
MyHalfMoon,
Orbit,
OrbitClock,
Right_Pectoral,
Right_Pectoral_Rotation,
Timer,
Waggler
-->
<!--
Online at https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/KelpForestExhibit/HalfMoonPrototypeIndex.html
-->
<!--
Color key:
<X3dNode
DEF='idName' field='value'/>
matches
<XmlElement
DEF='idName' attribute='value'/>
(Light blue background: behavior node) (Grey background: inserted documentation) (Magenta background: X3D Extensibility)
<Prototype
name='ProtoName'>
<field
name='fieldName'/> </Prototype>
-->
<!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources and X3D Scene Authoring Hints.
-->