Skip to content

Latest commit

 

History

History
37 lines (33 loc) · 1.26 KB

README.md

File metadata and controls

37 lines (33 loc) · 1.26 KB

Mini raytracing in C

Notion (KR)

https://u-lo-l.notion.site/MiniRT-d1d62b4890274dddb36b79dec2c259d3

Implementation

  • Phong reflection model (ambient, diffuse, specular)
  • object : plane, quadrics( sphere, cylinder, ellipsoid, .... )
  • light source : spot light
  • keyboard, mouse input event
  • camera move, rotation.
  • object translation, rotation, scaling
  • image mapping
  • nomal map
  • Color disruption : checkerboard
  • mirror reflection
  • bounding sphere
  • multi threading : 4

Sample images

Works on Mac(intel)

cd bonus
make
./miniRT RT_files/[~]/[~.rt]

Demo (x4 faster)