School of fish

This is a project a friend and I made for a graphics course in school. Here particles are used to simulate flock behaviour. There is also a shark that when it gets close tries to hunt down the fish, making them flee from the shark.
A small report we wrote for the project can be found here:


Ray tracer

While studying for an exam I found the chapter about ray tracing and global illumination pretty interesting. I delved more into the subject and build myself a small ray tracer. I also implemented photon tracing for this ray tracer. Here are two pictures from the ray tracer, the difference between the pictures is the amount of index of refraction used in the glass like sphere.

raytrace1_small.JPG raytrace2_small.JPG