finally I got some spare time to improve this baby.
It is a bit of improvement since the last time – 3rd bounce of rays were hacked into. Now the reflection looks far more realistic.
And here reflection of the reflection.. some artefacts here and there – but I can live with them for now.
oh and I need to fix timer for the frame – that is definietly not 0.31ms per frame – it takes about a second per frame. Still not that bad for the vanila implementation.
[Edit: late night]
Managed to add semi-transparent spheres! Rendering of the frame became extremely slow – had to reduce number of spheres on the scene.
Is it the right time to introduce optimisations?
You probably don’t want to use the title bar for framerate updates, it takes quite a signif. amount of time (on windows for sure, maybe linux). Test to see if it changes. Good job!