Skip to content

u-lo-l/miniRT

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

Releases

No releases published

Packages

No packages published

Languages

  • C 84.7%
  • Objective-C 13.2%
  • Makefile 2.1%