/rt2

Primary LanguageC

RT

Codacy Badge

This project is one of final team project in 42 graphics branch. The purpose is learning ray tracing.


Team members @Alexandru Moraru @Jeongmo Bae @Samuel Boniface Madeleine Hernandez



Installation

make

This project is using SDL to render final image to window. Almost 3 minutes need to install.



Features

objects

  • Sphere
  • Cone
  • Cylinder
  • Plane
  • Rectangle
  • Pyramid
  • Box
  • Ellipsoid
  • Paraboloid
  • Triangle
  • Ring



Reflection and refraction



Texture mapping



Bump mapping



Filter (blur, sephia, negative, gray scale)




Cel shading (cartoon rendering)



  • Hot reloading.
  • Anti-aliasing.
  • Print output as jpg.
  • Using xml as scene description file.