
Raytracer in Java
This project was part of the course Computer graphics given by professor P. Dutré.
The aim of this project was to write your own renderer
in Java. We had to investigate different raytracing techniques and compare them to each other.
Three different methods were implemented. A direct method, which didn't use indirect lighting. A brute-force approach and finally a hybrid method that combined both methods.
Besides that, I also investigated the effects of techniques such as: russian roulette, the influence of a branching factor,...
For a nice visual effect I also added different types of materials. This gave the possibility to render object made out of, e.g., glass or a reflecting metal.
Images below show a few scenes rendered with my code.



