Tuesday, November 25, 2014

Project 4 Final Progress





 The flocking simulation is now running and displaying the trails for each particle. Initially I was drawing each trail every frame because my sketch was 3D and allowed for camera movement. However, that significantly slowed down the animation. I realized that I could significantly speed up the drawing by locking the camera and only drawing the changes every draw, instead of redrawing the whole frame.

Below is an example of the flocking behavior with the trails drawn as described above.



I'm still trying to decide where I want to go with this project. Right now the flock is just following a particle moving along a 3D sinusoidal curve. I know I want the flock to be influenced by something else, like an image, and have that source be revealed by the behavior of the flock.

No comments:

Post a Comment