Wednesday, October 30, 2013

Matrix Transformations

I've implemented a matrix stack to my program that allows me a much higher degree of freedom to render cool scenes than I did before. For example, before the camera was fixed at the origin looking down the z-axis, but now the camera can be located anywhere in the scene and oriented in any direction.

In the two renderings below, the camera has been translated upward and rotated down to give a sort of bird's eye view of the scene. Several of FancyRay's other features can be scene in this rendering as well including global illumination & caustics, depth of field, soft shadows with a shadow photon optimization, texture mapping and textures using Perlin Noise.




Stay tuned for more effects with matrices...

No comments:

Post a Comment