Rendering offset

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Brunni
Posts: 186
Joined: Sat Oct 08, 2005 10:27 pm

Rendering offset

Post by Brunni »

Hello,
I'm doing 2d rendering, using sceGuDrawArray & GU_TRANSFORM_2D, and I would like to apply a global offset to my rendering coordinates (for 2d windowing). For example, final code will look like this:

Code: Select all

DrawPixel(1, 3);    // Pixel will be drawn at 1,3
SetOffset(10, 5);
DrawPixel(1, 3);    // Pixel will be drawn at 11,8
I've tried sceGuOffset but nothing changed :(
Is it possible to do something like this?
Thank you in advance for your replies :)
Sorry for my bad english
Image Oldschool library for PSP - PC version released
Post Reply