PocketMatrix forums

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

3D Bitmap rotation

I have to admit that my 3d programming skills are quite a bit rusty since the last time I did any 3d programming was way back in college. I'm wondering if anyone knows of a fast way to rotate a bitmap (or a PocketHal surface) using PocketHal.

If anyone can help me out here, I would greatly appreciate it.

Thanks!
PsychoChris · 05 May 2008, 07:02 UTC
Take a look at the PocketFrog source. There are some rotation functions in the rasterizers that you could use. I don't know how fast they are but you could try optimizing them if you need to.

Regards,
Chris
Yes I would suggest looking at PocketFrog's implementation.