Releases: tobiasmarciszko/qt_raytracer_challenge
Shadows and planes
This release includes shadows and also the complete refactoring to include any type of "Shape". Planes are added. (Not "Planes", planes! :).
Enter QML
This concludes Chapter 7 but also some major UI changes to use QML instead of widgets. All previous references and usage (including linkage) to widgets are now gone.
And then there was light
Raytracing with Phong lighting in place. In addition there is actually two Spheres and two light sources that are transformed during the render loop. No focus or effort has been spent on optimizing the various calculations. Still ”out of the box” there is no problem in maintaining 30 FPS @ 320x240 (each frame renders around 30ms). Surely this will be hard to keep up with more complex scenes, shadows and reflections etc.
The Flat Sphere
First version that actually can handle ray casting. This release wraps up the ray casting towards a wall with a Sphere in between. The Sphere/Ray hits are projected to the wall which then eventually turns up as a red flat Sphere on the canvas. The example also supports transformation of said Sphere.
Foundation of matrices
This is the base before starting to implement rays and interaections.