Omnimaga

General Discussion => Technology and Development => Computer Programming => Topic started by: Augs on June 20, 2013, 01:16:01 pm

Title: Decent Mode 7 tutorial?
Post by: Augs 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?

Title: Re: Decent Mode 7 tutorial?
Post by: Matrefeytontias 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).
Title: Re: Decent Mode 7 tutorial?
Post by: tr1p1ea on June 20, 2013, 06:04:50 pm
I second the Sin+Cos tutorial, its the simplest and most relevant tutorial ive seen.