Author Topic: Raycaster Example  (Read 3668 times)

0 Members and 1 Guest are viewing this topic.

Offline Spenceboy98

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 547
  • Rating: +59/-2
    • View Profile
Raycaster Example
« on: May 24, 2012, 05:32:48 pm »
Can someone please give me an example of a raycaster in C. I don't really understand the coding of a raycaster, and I need help. I've been looking at this tutorial, but it really isn't making any sense. Can someone help me?
I like milk.

Offline BlakPilar

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 734
  • Rating: +44/-1
    • View Profile
Re: Raycaster Example
« Reply #1 on: May 24, 2012, 05:38:48 pm »
Lode's tutorial is in C++, but it gives you a very good explanation of raycasting. It's the best one I've come across, and I've been able to make raycasters in C# and Java because of it so far. (Though, they're more like ports because I didn't feel like typing everything ;))
« Last Edit: May 24, 2012, 05:44:44 pm by BlakPilar »