raycore
About
Welcome to raycore!
raycore is a simple first-person walking simulator. It is the product of a few courses I did when I was completing my undergraduate at Portland State.
The rendering for raycore is an implementation of Ray Casting. This was the algorithm used for Wolfenstein 3D. I did my implementation from scratch (though credit to Permadi for providing excellent articles on the math behind raycasting).
My implementation includes rendered walls, floors, ceilings, sprites, and skyboxes. In addition, I added variable height walls and sprites (these can be 64 pixels or higher).
I also wrote a level loading system from scratch. While this may not seem like much, it's essentially a compiler from a text file to a render-able environment. With this system, you can build levels without having to recompile all the source code.
Recompile the source code? Yes, Raycore is entirely open source. You can check out the source code here.
Lastly, if you ever wanted to know how I implemented ray casting, I did a series of articles detailing the math behind ray casting:
- Implementing a Ray Caster Part 1: Basic Wall Rendering
- Implementing a Ray Caster Part 2: Sprite Rendering
- Implementing a Ray Caster Part 3: Floor, Ceiling, and Sky Rendering
- Implementing a Ray Caster Part 4: Optimization Techniques
I hope you enjoy, and have a blessed day!