Phongo Clap RT
1.0
Simple Raytracing Renderer
|
This class is the heart of my raytracer. It is the core, where all the camera rays are calculated and sent to the raytrace algorithm which takes them as primary and handles the recursion. It is also responsible for shading taking into account all the reflection colours refraction colours and diffuse that have been stacked. I used and adapted the Phong model and did some tweaks to it to make things look nicer. More...
#include "Film.h"
#include "Camera.h"
#include "Scene.h"
#include <vector>
#include <string>
#include <ngl/Vec3.h>
Go to the source code of this file.
Classes | |
class | Renderer |
Core of my program, central unit that manages all the other classes almost. More... | |
This class is the heart of my raytracer. It is the core, where all the camera rays are calculated and sent to the raytrace algorithm which takes them as primary and handles the recursion. It is also responsible for shading taking into account all the reflection colours refraction colours and diffuse that have been stacked. I used and adapted the Phong model and did some tweaks to it to make things look nicer.
Definition in file Renderer.h.