Skip to content

Simple python raycasting "3d" engine implementation

Notifications You must be signed in to change notification settings

nacho692/pyenstein

Repository files navigation

A simple raycasting engine in python using pygame.

Python3 is required.

pip install -r requirements.txt
python engine.py

Engine sample

TODO (in no particular order):

  • Check out floor warping on textures far away
  • Speed up floor texturing, rendering loop is pretty slow, and not only because of the blit
  • Fix warping on textures on which camera plane intersects, mostly when close to walls
  • Add ceiling textures
  • Add support for side based textures:
    • Maybe generating a mapping between numbers and customized textures/objects so maps stay simple
    • Raycasting side detection is already implemented
  • Add physics for player movement
  • Add collision detection
  • Implement shaders on textures (super nice to have, don't know how to tackle performance wise)

About

Simple python raycasting "3d" engine implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages