Skip to content

mrGoncharuk/rt-1v

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RT

What is RT?

RT is a fully featured Raytracer built as a project at 42. This project is intended to be a four person six week project, however I decided to attempt it by myself. Ray tracing is a technique for rendering images by simulating the path of light through an image plane. This project uses .ini files to configure the input.

Usage

For Mac(master) and Linux(linux_vers) there are several branches.

Mac

Linux

WARNING: before to compile on linux you must have installed clang compiler, SDL2 and SDL2_image libraries

Features

  • Scene parses from .json file
  • 4 basic shapes
  • 3 types of light sources
  • Reflections
  • Specularity effect
  • Camera rotation on arrows

Screenshots

rt_screen1 rt_screen2 rt_screen3 rt_screen4 rt_screen5 rt_screen6