Mode 7, How to do it properly?

BlitzMax Forums/BlitzMax Programming/Mode 7, How to do it properly?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Okay, I'm well into the code now, and, I'm starting to wonder, is the formula really:
sqr( (Height * Height) + (2Ddistance + 2Ddistance) ) = 3D distance

Considering that you described the formula more abstractly as:
A squared + B squared = C squared

I don't see why you use Height*Height but only 2Ddistance+2Ddistance. Where do you get the difference in the above simplified formula? Aren't both supposed to be multiplied?

Edit: Also, things aren't going too well. I just can't seem to put this math into use like it's supposed to. Scaling the sprite objects is easy enough, but when it comes to the map itself, I'm lost.

You talked as if you had done something like this before. You don't happen to have the source for that, for me to look at?