![]() |
Figure 3: The cone
primitive is used as the stand-in model for the actual fish
geometry. |
Further distinctive action
To add more life to the fish, you should segment the fish into a four-part skeleton structure - the head, upper body, lower body, and the tail. This four-part structure will allow you to procedurally control each of them so that no one fish will exhibit the same motion as the other.
![]() |
Figure 4: A simple
skeleton structure of the actual fish
model. |
To ensure that the actions for each fish are distinct, one must write four different functions to control each part of the fish. Of course, each function that you derive must be linked to the others, so that the fish will still appear to be moving as a whole. With the four functions derived, what is left is to further integrate them into one single procedure, with as few parameters as possible, which you can use to control and describe the range of animation that you desire.