SDL Raycasting demo

Show off your project created with Hollywood
Post Reply
dwayne_jarvis
Posts: 22
Joined: Wed Mar 03, 2021 8:15 am

SDL Raycasting demo

Post by dwayne_jarvis »

Just a small one this time. Gave this a go in between optimising the SDL Rogue game currently working through. Sometimes it is good to take a quick break.

Tried my hand at converting raycasting code and found great tutorial and knocked this out in a few hours. Original tutorial found here https://lodev.org/cgtutor/raycasting.html

Video playback on my AmigaOne X5000 is here https://youtu.be/bjdUbqPrhi4

If anyone is interested in helping me change the code from SDL to OpenGL to see if it is faster, more than happy to share the code.

Dwayne
jalih
Posts: 276
Joined: Fri Jun 18, 2010 8:08 pm
Location: Finland

Re: SDL Raycasting demo

Post by jalih »

dwayne_jarvis wrote: Sat Jun 10, 2023 2:36 am If anyone is interested in helping me change the code from SDL to OpenGL to see if it is faster, more than happy to share the code.
I guess you have done the obvious optimization for tutorial code and draw wall slices directly from texture using hardware acceleration instead of drawing pixel by pixel?
Post Reply