Added support for quadratic surfaces
Today cellphones have more processing power than the professional workstation of a few years ago. Recursive raytracing used to take hours to render the scenes, yet this app takes less then 3 seconds to render the scenes in this demo on a P8 Lite.
This raytracer is just a demo, but it supports multiple lights with shadows,depth cuing, reflections and taxture mapping. All written in pure java, without the use of native code, the GPU, renderscript, SIMD instructions or precalculated data.
At the moment the raytracer is single threaded.