Raycasting engine help

Advanced game related topics
SomeT
User
User
Posts: 34
Joined: Wed May 07, 2014 8:48 pm

Raycasting engine help

Post 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?
ricardo_sdl
Enthusiast
Enthusiast
Posts: 109
Joined: Sat Sep 21, 2019 4:24 pm

Re: Raycasting engine help

Post by ricardo_sdl »

This might help you:
https://raytracing.github.io/
You can check my games at:
https://ricardo-sdl.itch.io/
User avatar
Mijikai
Addict
Addict
Posts: 1360
Joined: Sun Sep 11, 2016 2:17 pm

Re: Raycasting engine help

Post 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.
User avatar
Fig
Enthusiast
Enthusiast
Posts: 351
Joined: Thu Apr 30, 2009 5:23 pm
Location: Côtes d'Azur, France

Re: Raycasting engine help

Post 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.
There are 2 methods to program bugless.
But only the third works fine.

Win10, Pb x64 5.71 LTS
SomeT
User
User
Posts: 34
Joined: Wed May 07, 2014 8:48 pm

Re: Raycasting engine help

Post by SomeT »

These are all good resources. Does anyone know of any resource or example done in pure basic?
User avatar
Mijikai
Addict
Addict
Posts: 1360
Joined: Sun Sep 11, 2016 2:17 pm

Re: Raycasting engine help

Post by Mijikai »

One would be: viewtopic.php?t=35848
Post Reply