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 

Need help! How do i rotate the psp screen ?

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



Joined: 27 Jan 2007
Posts: 12

PostPosted: Sat Jan 27, 2007 4:14 am    Post subject: Need help! How do i rotate the psp screen ? Reply with quote

Well i need to rotate the screen, text, images, EVERYTHING! 180 degrees how do i do that? Plzz if you know, post a example of the WHOLE source :P so i can see wich librarys and so on :P thx :D
_________________
IAM A NEWBIE! ^^
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Sat Jan 27, 2007 5:55 am    Post subject: Reply with quote

Just turn your PSP upside down. There you go - 180 degrees rotation. :)
Back to top
View user's profile Send private message AIM Address
SWE_PsYcHo



Joined: 27 Jan 2007
Posts: 12

PostPosted: Sat Jan 27, 2007 8:04 am    Post subject: Reply with quote

haha :P but i need to do it with C otherwise the ir will be directed wrong :P
_________________
IAM A NEWBIE! ^^
Back to top
View user's profile Send private message
MrMr[iCE]



Joined: 03 Oct 2005
Posts: 43

PostPosted: Sat Jan 27, 2007 8:13 am    Post subject: Reply with quote

There is no built-in way to rotate the display. If your app does gu rendering with 3d transforms, you could tweak your projection matrix to do the flip. if its 2d, then your SOL.
Back to top
View user's profile Send private message
Aion



Joined: 24 Jul 2006
Posts: 40
Location: Montreal

PostPosted: Sat Jan 27, 2007 11:29 am    Post subject: Reply with quote

If you only need to flip a static screen, you can use the backbuffer as a texture, and render a polygone with it, flipped. I could also be achieved with a screen that get updated, but then you lose backbuffering.

Look at the 'rendertarget' sample.
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Sat Jan 27, 2007 2:18 pm    Post subject: Reply with quote

SWE_PsYcHo wrote:
haha :P but i need to do it with C otherwise the ir will be directed wrong :P


I see. You want another PSP above the one you're using head to head for IR transfer, but to be able to read the other screen right side up requires the display be upside down. Well, you got some good suggestions from the others. I like the one about using the buffer as a texture and rendering it upside down. Should be fairly easy and quick.
Back to top
View user's profile Send private message AIM Address
SWE_PsYcHo



Joined: 27 Jan 2007
Posts: 12

PostPosted: Sat Jan 27, 2007 11:00 pm    Post subject: Reply with quote

Well iam such a noobie that i dont know how to do this :P could any1 help me ? i need it cause iam making a notepad thingy that is controlled through ir by another psp almost like a ir 1 to 1 chat :P it sucks yeah i know bu anyway, can someone help me ?
_________________
IAM A NEWBIE! ^^
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