Shadow Algorithms

The scene contains a 4-sided room that are light-colored blue. Within this scene are various objects included a texture-mapped sphere and several stacked objects. There are 3 different shadow algorithms being used: projective shadows, shadow volumes, and shadow maps. Projective shadows from objects will only cast shadows on the floor and room, but not on each other or themselves. Shadow volumes and shadow maps will cast shadows on both themselves, other objects, and the floor. There is a white point light source which adjustable by a user.

You might be interested in …

Deformable Bodies

A deformable bodies simulator based on a standard non-linear strain finite element simulation as in O’Brien et al. [1999]. This approach required incredibly small time steps.

Read More

Procedurally Generated Terrain

The ground is procedurally generated using a random midpoint method and smoothed using a neighborhood smoothing filter. The trees were generated by different procedural rules. The scene uses OpenGL material and lighting.

Read More

Ray Tracer

Ray tracer scene containing a sphere and a triangle. Implemented simple phong lighting (ambient, diffuse, specular model) and also casts shadows.

Read More