Omnimaga

Calculator Community => TI Calculators => Calculator C => Topic started by: fb39ca4 on July 22, 2010, 12:30:06 pm

Title: Mode 7
Post by: fb39ca4 on July 22, 2010, 12:30:06 pm
Does anyone know the math involved for mode 7 graphics? I googled it, but got a bunch of GBA tutorials (GBAs have it as a graphics mode). The wikipedia page wasn't much help either.
Title: Re: Mode 7
Post by: mapar007 on July 22, 2010, 02:25:24 pm
Are you going to write a mode 7 engine for the NSpire/68k calcs? Sounds good, but I doubt it's gonna be easy. Anyway, here's some information I found while searching around. (I don't know the subject that well)

- http://en.wikipedia.org/wiki/Affine_transformation
- http://en.wikipedia.org/wiki/Linear_map

So far it looks like lots of linear algebra and matrix theory (this pretty much always crosses your path in 3D graphing engines).
Title: Re: Mode 7
Post by: bwang on July 22, 2010, 04:25:47 pm
Darn, you beat me to this project. I was going to start one today :P
I've been trying to understand the math myself. From what I see, it indeed greatly resembles the math behind 3D.
This (http://www.coranac.com/tonc/text/mode7.htm) tutorial is probably your best bet.
@Mapar007: I don't think you need linear maps to do mode7. That's goes too much into the theory of matrices and such.
Title: Re: Mode 7
Post by: DJ Omnimaga on July 27, 2010, 08:40:56 pm
Maybe Calc84maniac could also help, as he wrote one for the z80 calcs. However, his was in z80 ASM, not in C