Skip to content

Latest commit

 

History

150 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

miniRT

My first RayTracer with miniLibX

📕 Summary

This project is an introduction to the beautiful world of Raytracing. Once completed you will be able to render simple Computer-Generated-Images and you will never be afraid of implementing mathematical formulas again.


🚀 Flow chart!


⬇️ Installation

  • Clone
    git clone https://github.com/ohwwh/miniRT.git
    cd miniRT
    make
    ./miniRT map/example.rt
    

🔔 Result

Phong Lighting Path Tracing

🕹 Keys

  • Mode change

    • P : Phong Lighting mode
    • R : Path Tracing mode
    • number key 1 : sphere
    • number key 2 : cylinder
  • Transpose

    • W : forward
    • A : left
    • D : right
    • S : back
  • Rotation

    • ⬆️ : camera up for default, rotate the cylinder vertically for cylinder mode
    • ⬇️ : camera down for default, rotate the cylinder vertically for cylinder mode
    • ⬅️ : camera left for default, rotate the cylinder horizontally for cylinder mode
    • ➡️ : camera right for default, rotate the cylinder horizontally for cylinder mode

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages