Skip to content

`Graphic` project at School21 (2019)

Notifications You must be signed in to change notification settings

GodFlight/rt_indi

 
 

Repository files navigation

RT

RT is a rendering project of school 21(Ecole 42). It implements:

Lighting models: Phong, Path Tracing.

Intersection methods: Raytracing, Raymarching algorithms.

It uses GPU acceleration via OpenCL.

All obhect with texture scene (Phong shading via Raytrace and Raymarching algorithm)

Image alt

beautiful scene (Path trace algorithm via Raytrace algorithm)

Image alt

4_speheres_1 scene (Path trace algorithm via Raytrace algorithm)

Image alt

4_speheres_2 scene (Path trace algorithm via Raytrace algorithm)

Image alt

Glass scene (Path trace algorithm via Raytrace algorithm)

Image alt

Stained glass scene (Path trace algorithm via Raytrace algorithm)

Image alt

Student hostel scene (Path trace algorithm via Raytrace algorithm)

Image alt

Mandelbulb scene (Phong shading via Raymarching algorithm)

Image alt

Compiling and running

Runs on OSX.
Run make and programm will compile.
Run it with ./RT path_map path_texture.
Maps and textures(textures.json) are stored in a folder json.

Controls

ESC - Close the program.
W/A/S/D - Movement in space.
Hold the right mouse button and move it - Movement in space.
UP/DOWN/RIGHT/LEFT - Camera rotation.
Hold the left mouse button and move it - Camera rotation.
Mouse wheel scroll - zoom into / zoom out.
Z/X/C/V/ - effects on / off.
2-4 - fsaa on(mouse event off it).
L - path trace on / off (mouse event off it).
0 - screen shot.
ESC - quit programm.

Authors

IlyaSviridov - https://github.com/IlyaSviridov
dolovnyak - https://github.com/dolovnyak
godflight - https://github.com/GodFlight
pgilly

About

`Graphic` project at School21 (2019)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 92.0%
  • Objective-C 3.5%
  • Roff 2.9%
  • Makefile 1.1%
  • CMake 0.5%