#VRML V2.0 utf8 EXTERNPROTO fishLODProto[ exposedField MFString textureFileName exposedField SFVec3f scale # wide length height exposedField SFColor difColor exposedField SFTime interval exposedField MFFloat rotKeys exposedField MFRotation rotKeyValues exposedField MFFloat transKeys exposedField MFVec3f transKeyValues ] "GenericFishLODProto.wrl#genericFishLODProto" #.................example to generic fish....................... fishLODProto{ interval 0 # stops default behaviour } #.................example to default behaviour.................. fishLODProto{ scale 1 4 1 textureFileName "skin.jpg" } #.................example to motion....................... Transform{ translation -4 1 0 children fishLODProto{ scale 0.7 3 1.2 textureFileName "skin.jpg" interval 60 rotKeys [ 0 0.5 0.5 1 ] rotKeyValues[ 0 1 0 -180 0 1 0 -180 0 1 0 0 0 1 0 0 ] transKeys [ 0 0.5 1 ] transKeyValues[ 0 0 0 0 0 -70 0 0 0 ] } }