forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Rendering offset

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Brunni



Joined: 08 Oct 2005
Posts: 186

PostPosted: Sat Feb 25, 2006 8:58 am    Post subject: Rendering offset Reply with quote

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:
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
Oldschool library for PSP - PC version released
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group