Probably nowadays we are ready to widely use realtime rendering applications instead of old rasterization tricks.
A very interesting tool to investigate in this possibility is Optix by nvidia that give a great flexibility level and also give a standard let you to go in the correct direction.
One first interesting example can be the tutorial of the sdk and I could not resist to modify the realtime ray tracing to a progressive improvement raytracing .
Why only one ray for a pixel ?
I want one ray for one pixel in the first frame and for every next frame ( without a changing point of view of the camera ) I want to improve the rendered image .
So I build a progressive ray tracing where I fill a pixel changing the point inside the pixel for the ray filling the square of the pixel with a fractal routine .
In a next post I will post the source code.
This is the image with one ray for pixel
And this is the image after a few frames
and this is a link to the binary.


