| View previous topic :: View next topic |
| Author |
Message |
SWE_PsYcHo
Joined: 27 Jan 2007 Posts: 12
|
Posted: Sat Jan 27, 2007 4:14 am Post subject: Need help! How do i rotate the psp screen ? |
|
|
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 |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Sat Jan 27, 2007 5:55 am Post subject: |
|
|
| Just turn your PSP upside down. There you go - 180 degrees rotation. :) |
|
| Back to top |
|
 |
SWE_PsYcHo
Joined: 27 Jan 2007 Posts: 12
|
Posted: Sat Jan 27, 2007 8:04 am Post subject: |
|
|
haha :P but i need to do it with C otherwise the ir will be directed wrong :P _________________ IAM A NEWBIE! ^^ |
|
| Back to top |
|
 |
MrMr[iCE]
Joined: 03 Oct 2005 Posts: 43
|
Posted: Sat Jan 27, 2007 8:13 am Post subject: |
|
|
| 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 |
|
 |
Aion
Joined: 24 Jul 2006 Posts: 40 Location: Montreal
|
Posted: Sat Jan 27, 2007 11:29 am Post subject: |
|
|
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 |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Sat Jan 27, 2007 2:18 pm Post subject: |
|
|
| 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 |
|
 |
SWE_PsYcHo
Joined: 27 Jan 2007 Posts: 12
|
Posted: Sat Jan 27, 2007 11:00 pm Post subject: |
|
|
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 |
|
 |
|