Skip to content

hnclark/ray

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Orthographic real-time raytracer

A simple top-down orthographic raytracer. Currently supported:

  • Meshes with multiple raytracing acceleration structures
  • Multiple instances of one mesh with independent movement
  • Multiple light sources (shadow casting and non-shadow casting)

Building

Run make in the root directory. Requires LibSDL2 and OpenMP to build.

This may not work well on a Windows machine, I have only built it on Linux.

Running

./main

Controls

WASD + QE to move the camera in X, Y, and Z dimensions(changing Z dimension only adjusts the clipping plane on orthographic mode) Esc to exit

About

A simple real-time orthographic raytracer.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published