ScratchData LogoScratchData
Back to S65's profile

Realtime 3D Raycaster Demo

S6S65•Created June 18, 2010
Realtime 3D Raycaster Demo
673
565
38124 views
View on Scratch

Description

Use the up arrow and down arrow to move, and the left arrow and right arrow to rotate. Please post the FPS you get in the comments (both online and offline in presentation mode if possible). Best performance when downloaded and put into presentation mode. This is a realtime 3D raycaster (although still very slow). The optimization techniques used to get the raycaster to this speed were a lot of loop unrolling, and taking advantage of Scratch's parallelism by splitting across the raycasting work across many different sprites (while having two central sprites, for player control and graphics rendering). Special features of this raycaster include distance fog and collision with walls. I'll probably make this faster in the future, but for now I guess I'm done. =P

Project Details

Project ID1135568
CreatedJune 18, 2010
Last ModifiedJune 18, 2010
SharedJune 18, 2010
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root