PocketMatrix forums

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

Rotate and Scale textures

Hi,
I want to rotate and scale my textures (either while displaying or really changing the texture). Could anyone explain me how that works and maybe post the matrix functions because I don't have any fitting.
2D or 3D? On a polygon or full-screen?
:roll: Ohhps... I said textures, but I meant images, so it's 2D.
Google search for:

"bitmap rotation matrix"

yielded:

http://www.gamedev.net/reference/articles/article811.asp

http://apodeline.free.fr/FAQ/CGAFAQ/CGAFAQ-4.html

Cheers,

Refractor.