A physically based raytracer