<
ExternProtoDeclare name='
CircleFishLod'
url='
"
CircleFishLodPrototype.wrl#CircleFishLod"
"
http://www.x3dbook.com/examples/X3dForWebAuthors/KelpForestExhibit/CircleFishLodPrototype.wrl#CircleFishLod"
"
CircleFishLodPrototype.x3d#CircleFishLod"
"
http://www.x3dbook.com/examples/X3dForWebAuthors/KelpForestExhibit/CircleFishLodPrototype.x3d#CircleFishLod"
'>
<field name='skinTextureUrl' type='MFString' accessType='inputOutput'/>
<field name='fishScale' type='SFVec3f' accessType='inputOutput'/>
<field name='fishColor' type='SFColor' accessType='inputOutput'/>
<field name='finColor' type='SFColor' accessType='inputOutput'/>
<field name='positionKey' type='MFFloat' accessType='inputOutput'/>
<field name='positionKeyValue' type='MFVec3f' accessType='inputOutput'/>
<field name='orientationKey' type='MFFloat' accessType='inputOutput'/>
<field name='orientationKeyValue' type='MFRotation' accessType='inputOutput'/>
<field name='orbitTime' type='SFTime' accessType='inputOutput'/>
</
ExternProtoDeclare>
<
Viewpoint description='
Blue Rockfish'
position='
-1 1 8'/>
<
Transform>
<
ProtoInstance name='
CircleFishLod'
DEF='
BlueRockfish'
containerField='
children'>
</
ProtoInstance>
</
Transform>
<
Transform rotation='
0 1 0 1.05'
translation='
0 0.5 0'>
<!-- rotation 60 degrees -->
<
ProtoInstance name='
CircleFishLod'
DEF='
BlueRockfish1'
containerField='
children'>
</
ProtoInstance>
</
Transform>
<
Transform translation='
0 1.5 1'>
<
ProtoInstance name='
CircleFishLod'
DEF='
BlueRockfish2'
containerField='
children'>
</
ProtoInstance>
</
Transform>
<
Transform rotation='
0 1 0 0.78'
translation='
-0.5 1 0'>
<!-- rotation 45 degrees -->
<
ProtoInstance name='
CircleFishLod'
DEF='
BlueRockfish3'
containerField='
children'>
<
fieldValue name='
skinTextureUrl'
value='
"
blueRockfishPatch.jpg"
"
http://www.x3dbook.com/examples/X3dForWebAuthors/KelpForestExhibit/blueRockfishPatch.jpg"
'/>
<
fieldValue name='
fishScale'
value='
0.5 0.53 0.2'/>
<
fieldValue name='
fishColor'
value='
0.2 0.6 0.8'/>
<
fieldValue name='
positionKey'
value='
0 0.4 0.7 0.95 1'/>
<
fieldValue name='
positionKeyValue'
value='
0 0 0 1 0 0 0 0 0 1 0 0 0.3 0 0'/>
<
fieldValue name='
orientationKey'
value='
0 0.5 1'/>
<
fieldValue name='
orientationKeyValue'
value='
0 1 0 0 0 1 0 1.57 0 1 0 0'/>
<
fieldValue name='
orbitTime'
value='
80'/>
</
ProtoInstance>
</
Transform>
<
Transform translation='
0 1.8 2'>
<
ProtoInstance name='
CircleFishLod'
DEF='
BlueRockfish4'
containerField='
children'>
</
ProtoInstance>
</
Transform>