Faster 3D list-based raycaster

Faster 3D list-based raycaster

by Howtomakeausername

👁 95,681 ❤️ 2,376 ⭐ 1,988 🔄 128
Created: Aug 23, 2021 Last modified: Oct 23, 2024 Shared: Sep 7, 2021

Description

Needed to get this straight due to some hate in the comments, this is a DEMO, not a game. Please stay civil! ___ Demo of a fast new raycasting technique (a super fast voxel traveral algorithm) that I recently learnt about. The algorithm itself is quite simple, but I went way overboard with adding features :P. Raycasting algorithm from "A fast voxel traversal algorithm for ray tracing" by John Amanatides and Andrew Woo. Inspiration from @-Rex- and @kouzone's raycasters: https://scratch.mit.edu/projects/321563697/ and https://scratch.mit.edu/projects/414675446/ tags #3d #list #based #ray #caster #cast #casting #raycast #raycasting #fast #grid #voxel

Instructions

WASD and arrow keys. If you can't move, you've spawned in a block, click the flag again or turn off collisions to walk out of the block. Runs with max settings on turbowarp: https://turbowarp.org/563019232 I wonder why more people don't do the floor texture this way...

Project Details

Visibility
Visible
Comments
Enabled