Skip to content

This project is a product of my curiosity of raycasting, it is a 3D world redered in two dimentional space.

License

Notifications You must be signed in to change notification settings

ftmoose/raycast

Repository files navigation

Links to other repos:

Submission 1

Submission 2

Raycasting

At the very beginning of my Computer Graphics class I was very intrigued by the idea of raycasting. Being able to immitate a 3D view in pure two dimentional space. This project is a product of my curiosity of raycasting, it is a 3D world redered in two dimentional space.

I do need to give credits to Shane for his SDL 2 code and cmake files are what I used as a base for this project. You can find his code and github profile here: InBetweenNames

Contents

Dependencies

The dependencies of this project are:

  • SDL2 - Barebones C++ graphics library
  • SDL2_ttf - Text library to go along with SDL2
  • cmake - Manages C++ build process

Setup

Begin by cloning the project into a local directory on your machine

$ mkdir m_raycast && cd ./m_raycast
$ git clone https://github.com/rammom/raycast.git .

Build the project with cmake

$ cd build
$ cmake ..
$ cmake --build .

Run the project

$ ./main

Results

Demo Image

About

This project is a product of my curiosity of raycasting, it is a 3D world redered in two dimentional space.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published