Author Topic: Decent Mode 7 tutorial?  (Read 4960 times)

0 Members and 1 Guest are viewing this topic.

Offline Augs

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 306
  • Rating: +30/-29
    • View Profile
Decent Mode 7 tutorial?
« on: June 20, 2013, 01:16:01 pm »
So I followed this(http://www.permadi.com/tutorial/raycast/) tutorial, and I quite liked it because it didn't have a specific language, it was just the theory.

Even though my understanding of ray casting is different to theirs.

My understanding:
The hight drawn on the wall depends on it's distance

Their Understanding:
Something to do with a projection pane.

So is there any decent mode 7 tutorials? I have seen some but they are all for the GBA.

I have heard that Mode 7 is like raycasting, but is it like my understanding or is it like the projection pane understanding?

« Last Edit: June 20, 2013, 01:16:19 pm by Augs »

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: Decent Mode 7 tutorial?
« Reply #1 on: June 20, 2013, 01:21:29 pm »
In fact, if you have read Permadi's tutorial entirely, Mode 7 is exactly floorcasting. I don't know what's the difference between these two, if any.

Anyway, the only good Mode 7 tutorial I've seen so far is the one at helixsoft : http://www.helixsoft.nl/articles/circle/sincos.htm . It's actually an entire article about amazing things you can do with sin() and cos() functions, and the last example is Mode 7. Though, the author uses the library Allegro, so he might make some calculations automatic (and he sometimes uses fixed-point arithmetic, which is absolutely confusing).

Offline tr1p1ea

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 647
  • Rating: +110/-0
    • View Profile
Re: Decent Mode 7 tutorial?
« Reply #2 on: June 20, 2013, 06:04:50 pm »
I second the Sin+Cos tutorial, its the simplest and most relevant tutorial ive seen.
"My world is Black & White. But if I blink fast enough, I see it in Grayscale."