Skip to content

Hidan0/raycasting-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raycasting-engine

Engine goes brrr

Description

A simple 3D ASCII Console Renderer Engine written in Rust using ncurses.

Project state

This is my "beginner project" to help me learn Rust. The project is still in an initial/prototype state, where everything is just in a big file.

The final goal is to implement a 3D ASCII render engine that uses the raycasting technique like the old good days. Currently the wall detection algorithm is quite inefficient and requires a lot of calculations.

Todo

  • Write a README.md
  • Refactoring to improve modularity
  • Implementing better algorithm for wall detection
  • Better shading, color shading
  • Safer ncurses API (?)
  • Benchmark to show the efficiency of various algorithms

Build and run

Requirements: Ncurses and your terminal must support colors.

Clone the project:

git clone [email protected]:Hidan0/raycasting-engine.git --branch=main

and then build it:

cargo build [--release]

Controls

Keys Description
Shift+q Quit
w Move forward
s Move backward
a Turn left
d Turn right

License

GLP-3.0 License

About

Raycasting 3d engine using ncurses and Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages