Skip to content

Rosendo-Martinez/ray-casting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ray Casting

A project that I made to play around with ray casting (lighting in graphics programming).

Demo

rayCastingDemo.mp4

Tech

  • C++ (programming language)
  • SFML (graphics library)
  • Makefile (build tool)
  • VS Code (IDE)
  • GCC (compiler)
  • GDB (debugger)

Quick Guide Of Project Structure

RayCasting.h & RayCasting.cpp

These are the files that contain the code that does the actual ray casting calculations. These are the most important of this project, the rest are just files used for testing and visualizing the algorithms in these files.

testAuto & testVisual

Both are used for testing. One runs automatic tests, the other opens a window where program can be visual tested.

Commands

The perquisites:

  • SFML
  • Makefile
  • GCC

To build and run the program:

$ make testsVisual

About

2D ray casting.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published