Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 575 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 575 Bytes

Ray traceing

A ray tracing implementation support:

  • Objects: Ball, triangle, implicit surface
  • Features: shadowing, reflection, refraction, anti-aliasing

Demo: click here

Requirements

  • LibSDL1.x or freeglut3-dev
  • C++11 support compiler
  • Emscripten for converting C++ to asm

Compilation

MakeFile is provided for native and JS compiling

  • To native code:
        1. cd ./src/
        2. make 
  • To JavaScript code:
        1. cd ./src/
        2. make js

Todo

  • Nagivate in space with keyboard