this post was submitted on 13 Aug 2024
75 points (98.7% liked)
RetroGaming
19500 readers
159 users here now
Vintage gaming community.
Rules:
- Be kind.
- No spam or soliciting for money.
- No racism or other bigotry allowed.
- Obviously nothing illegal.
If you see these please report them.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I remember my brother telling me about Wolfenstein 3D. I insisted that something like that, that moved smoothly at your command in any direction instead of in clunky 90° turns and blockwise steps, was impossible with the current technology.
I was wrong.
you were right, the computers couldnt do the math in time. the trick was to precalculate the sin/cos tables for angle steps into tons of lookups instead.
It wasn’t just the trig tables, but realtime raycasting altogether felt like sorcery.