Skip to content

School Project - Graphic - Raytracer Engine & Renderer from scratch

Notifications You must be signed in to change notification settings

BenSouchet/raytracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RT (Raytracer Engine & Renderer)

This raytracer is a program developed for my learning course at 42 school (Paris).
The objective is to recreate from scratch a raytracer engine & renderer with a strong interface.

Project created on pure C with SDL (SDL2, SDL2_ttf & SDL2_image) & OpenCL.
Quick video (made with Lionel GATIBELZA) : See the video on Youtube

List of options available :

  • Add / Delete elements (Cameras, Lights & Shapes)
  • Outliner (Navigate between elements)
  • Edit elements settings (Cameras, Lights & Shapes)
  • Save current scene file (.rt)
  • Export image of the renderer (.png)
  • Set preset on shapes (Earth, Sun, Moon & Jupiter)
  • Add special effect on rendered image (Cartoon, Reverse, Sobel Effect, Grey, Sepia, Saturate & Pixel Art)
  • Add Skybox (Day & Night)
  • Anti-Aliasing with clustering (render the image on multiple computers)
  • Add Shaders on shapes (Perlin Noise, Wood, Marble (x7))
  • Edit colors of shaders

Install & launch

Install it

git clone https://github.com/BenjaminSouchet/RT.git ~/RT
cd ~/RT
make

Start a scene

./rt scenes/{SCENE}.rt

{SCENE} : The scene you want to open (located in folder 'scenes')
Example ⇣

./rt scenes/Solar_system.rt

Contact & Copyright

Project done with Lionel GATIBELZA & Erwan RODRIGUES
If you want to contact me, you can send me a mail at [email protected]

Releases

No releases published

Packages

No packages published

Languages