This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2008-04-01 22:10:31

S65
Scratcher
Registered: 2007-05-18
Posts: 100+

True 3D: Raycasting

This is something I've been working on for the past few days. I found the source to a simple raycaster written in BlitzBasic and ported it to Scratch. The result is this:

http://scratch.mit.edu/projects/S65/132779

This is still too slow to work in real-time; rendering takes 5 minutes total on average. But this is still a great start, and if anyone can give me tips to optimize this we might soon have almost real-time rendering   wink






If anyone wants to see the original source that I ported this from, it can be found here:
http://blitzbasic.com/codearcs/codearcs.php?code=579

NOTE: The code in the above link is written in BlitzBasic, not Scratch.

Last edited by S65 (2008-04-01 22:10:39)

Offline

 

Board footer