A way to rotate images using sceGu?
A way to rotate images using sceGu?
There's a way to rotate a texture with sceGu? ( 2D, is a simple image )
Get Xplora!
No, seriouly: do you need to rotate a texture only to show it rotated on the screen or you need to have the buffer with a rotated image back (e.g. to save it back on disk)??
The former is pretty straightforward:one simple way to do it implies writing a couple of polygons after having setted a rotation transform matrix, and you can desume ti from GU examples in pspsdk faster than i could explain. The latter is a huge pain in the a** because it requires some offscreen rendering using framebuffer objects. And it's not sure the speed advantage would worth the pain. I'm pretty sure i already discussed the topic somewhere on this forum, where i ended up pointing to wikipedia's rotation basics (http://en.wikipedia.org/wiki/Rotation_matrix)
The former is pretty straightforward:one simple way to do it implies writing a couple of polygons after having setted a rotation transform matrix, and you can desume ti from GU examples in pspsdk faster than i could explain. The latter is a huge pain in the a** because it requires some offscreen rendering using framebuffer objects. And it's not sure the speed advantage would worth the pain. I'm pretty sure i already discussed the topic somewhere on this forum, where i ended up pointing to wikipedia's rotation basics (http://en.wikipedia.org/wiki/Rotation_matrix)