Page 1 of 1

Raycasting engine help

Posted: Fri Apr 09, 2021 3:04 pm
by SomeT
I need some advice with getting started coding a raycasting engine in pure basic, basically converting 2D aspects to look 3D a game like wolfenstein 3D or something for example. I have no idea where to start. Any examples or tutorials anywhere on this?

Re: Raycasting engine help

Posted: Fri Apr 09, 2021 6:01 pm
by ricardo_sdl
This might help you:
https://raytracing.github.io/

Re: Raycasting engine help

Posted: Fri Apr 09, 2021 7:22 pm
by Mijikai
This is pretty good: https://permadi.com/1996/05/ray-casting-tutorial-1/
Besides that there are several sources to learn from on the forum.

Re: Raycasting engine help

Posted: Fri Apr 09, 2021 7:39 pm
by Fig
First video: (2d raycasting)
https://www.youtube.com/watch?v=TOEi6T2mtHo
second one: (3d raycasting following the previous video)
https://www.youtube.com/watch?v=vYgIKn7iDH8

He is very easy to understand and it's very easy to convert in Pb.
I like this channel.

Re: Raycasting engine help

Posted: Fri Apr 09, 2021 8:07 pm
by SomeT
These are all good resources. Does anyone know of any resource or example done in pure basic?

Re: Raycasting engine help

Posted: Fri Apr 09, 2021 8:23 pm
by Mijikai
One would be: viewtopic.php?t=35848