Skip to content

Simple ray caster principle implementation in SFML.

Notifications You must be signed in to change notification settings

Raspova/RayCaster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Banner

Intro

Simple implementation of the Ray Caster principle in SFML. Ray casting is a basic computer graphics rendering algorithm that uses the geometric algorithm of ray tracing. Here it is:

ex

There is a 2D map that you can see in the top left corner, rays are cast from the player. If one ray touches a wall, a column is drawn.

Usage and install

The makefile is at the root (need the SFML library) :

make 
./raycaster

Simple and Fast Multimedia Library (SFML )

sudo apt-get install libsfml-dev OR sudo dnf install SFML-devel.x86_64

About

Simple ray caster principle implementation in SFML.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published