<?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
:
CircleFish
Index for DEF nodes
:
AnimationGroup,
CircleFishAngle,
CirclefishPath,
Eye,
FinColor,
FinSkin,
FishBodyExtrusion,
FishColor,
FishTexture,
FishTransform,
LeftPectoral,
OrbitClock,
RightPectoral,
Way
-->
<Scene>
<WorldInfo title='OrientationInterpolatorFishPrototype.x3d'/>
<ProtoDeclare name='CircleFish'>
<ProtoInterface>
<field name='skinTextureUrl' type='MFString' accessType='inputOutput'/>
<field name='fishScale' type='SFVec3f' value='1 1 1' accessType='inputOutput'/>
<field name='fishColor' type='SFColor' value='0.5 0.5 0.5' accessType='inputOutput'/>
<field name='finColor' type='SFColor' value='0.5 0.5 0.5' accessType='inputOutput'/>
<field name='positionKey' type='MFFloat' value='0.0 0.125 0.25 0.375 0.5 0.625 0.750 0.8751' accessType='inputOutput'/>
<field name='positionKeyValue' type='MFVec3f' value='1.5 2 0 1.5 0 -1.0 0 -1 -1.0 -1.5 0 -1.0 -1.5 2 0 -1.5 0 1.0 0 -2 1.0 1.5 0 1.0 1.5 2 0' accessType='inputOutput'/>
<field name='orientationKey' type='MFFloat' value='0.0 0.25 0.5 0.750 1' accessType='inputOutput'/>
<field name='orientationKeyValue' type='MFRotation' value='0 1 0 0 0 1 0 -1.57 0 1 0 -3.14 0 1 0 -4.71 0 1 0 -6.28' accessType='inputOutput'/>
<field name='orbitTime' type='SFTime' value='90' accessType='inputOutput'/>
</ProtoInterface>
<ProtoBody>
<!-- ROUTE information for Way node:
[from CirclefishPath.value_changed to set_translation
]
[from CircleFishAngle.value_changed to set_rotation
]
-->
<Transform DEF='Way'>
<Transform rotation='1 0 0 1.395'>
<Transform DEF='FishTransform'>
<IS>
<connect nodeField='scale' protoField='fishScale'/>
</IS>
<Shape>
<Appearance>
<Material DEF='FishColor'>
<IS>
<connect nodeField='diffuseColor' protoField='fishColor'/>
</IS>
</Material>
<ImageTexture DEF='FishTexture'>
</ImageTexture>
</Appearance>
<Extrusion DEF='FishBodyExtrusion' creaseAngle='0.57' crossSection='-0.1 1.0 0.1 1 0.5 0.5 0.5 -0.5 0.1 -1 -0.1 -1 -0.5 -0.5 -0.5 0.5 -0.1 1' scale='0.03 0.03 0.05 0.3 0.05 0.45 0.1 0.5 0.05 0.45 0.05 0.2 0.03 0.4' spine='0 1 0 0 0.8 0 0 0.6 0 0 0.5 0 0 0.3 0 0 0.2 0 0 0 0'/>
</Shape>
<Shape>
<Appearance DEF='FinSkin'>
<Material DEF='FinColor' transparency='0.2'>
<IS>
<connect nodeField='diffuseColor' protoField='finColor'/>
</IS>
</Material>
</Appearance>
</Shape>
<Transform translation='0.015 0.8 -0.2'>
<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.03'/>
</Shape>
</Transform>
<Transform translation='-0.015 0.8 -0.2'>
</Transform>
<Transform scale='1 1 0.7' translation='0 0.98 0'>
</Transform>
<Transform DEF='LeftPectoral' translation='0.04 0.4 0.3'>
<Shape>
<Appearance USE='FinSkin'/>
<IndexedFaceSet solid='false' coordIndex='0 1 2 -1'>
<Coordinate point='0 0 0 0 0.2 0 0.2 0.1 0'/>
</IndexedFaceSet>
</Shape>
</Transform>
<Transform DEF='RightPectoral' translation='-0.04 0.4 0.3'>
<Shape>
<Appearance USE='FinSkin'/>
<IndexedFaceSet solid='false' coordIndex='0 1 2 -1'>
<Coordinate point='0 0 0 0 0.2 0 -0.2 0.1 0'/>
</IndexedFaceSet>
</Shape>
</Transform>
</Transform>
</Transform>
<Group DEF='AnimationGroup'>
</Group>
</Transform>
</ProtoBody>
</ProtoDeclare>
<!-- ==================== -->
<ProtoInstance name='CircleFish'/>
</Scene>
</X3D>
<!--
Index for ProtoDeclare definition
:
CircleFish
Index for DEF nodes
:
AnimationGroup,
CircleFishAngle,
CirclefishPath,
Eye,
FinColor,
FinSkin,
FishBodyExtrusion,
FishColor,
FishTexture,
FishTransform,
LeftPectoral,
OrbitClock,
RightPectoral,
Way
-->
<!--
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.
-->