Skip to content

2d and 3d real time ray tracing with opengl/sdl around simple shapes

Notifications You must be signed in to change notification settings

configithub/ray-tracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ray-tracer

realtime 2d and 3d (like wolfenstein) ray tracing with opengl/sdl around simple shapes

ray tracer

space key to switch between 2d and 3d views

controls are a bit like in a fps game :

arrow key to move

mouse to view around

the 2d view displays the point of view as a light source that casts shadows behind the shapes

you need opengl and SDL1.2 libs with the include files in /usr/include

to build, go in the root folder of the repository, then:

mkdir bin

make

to execute, go in bin dir, then:

./app

About

2d and 3d real time ray tracing with opengl/sdl around simple shapes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published