PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

pseudo3d blit?

Has anyone implemented a blit function with perspective? It is when you draw, you rectange becomes trapezium according to z coordinates given.

I think I'm gonna need it to simulate a little pseudo3d environment for a little game I'd like to make, but I don't know how to make it :).
sounds like you want a 3d mapping system - there is loads of code out there if you do a quick search on somewhere like GameDev.net
I don't want to implement all that 3d stuff, matrix operations, vectors, dot products and so on. I just need a more advanced blit function.
I've used the tutorial/code from here
http://www.d6.com/users/checker

It took a little modification to get it to work, but it is doable.