| View previous topic :: View next topic |
| Author |
Message |
F9zDark
Joined: 02 Apr 2005 Posts: 127
|
Posted: Fri Oct 06, 2006 5:15 am Post subject: Flipping the Screen (actually rotating 180 degrees) |
|
|
| Hello, I am working on an application that would benefit highly from being able to flip the PSP's screen 180 degrees. I did some searches and research but came to dead ends. Can anyone point in the right direction as to how I could accomplish this? |
|
| Back to top |
|
 |
Insert_witty_name
Joined: 10 May 2006 Posts: 376
|
Posted: Fri Oct 06, 2006 5:54 am Post subject: |
|
|
Flipping 180 degrees doesn't explain it well.
Are you wanting to truly flip horizontally or vertically, or are you wanting to rotate?
[EDIT] Just saw the title stating rotate, just change the U/V co-ordinates to what you need. |
|
| Back to top |
|
 |
F9zDark
Joined: 02 Apr 2005 Posts: 127
|
Posted: Fri Oct 06, 2006 6:38 am Post subject: |
|
|
| Alright I'll see what I can come up with. |
|
| Back to top |
|
 |
shifty
Joined: 16 Jun 2005 Posts: 32 Location: MIT
|
Posted: Sun Oct 29, 2006 1:55 am Post subject: rotate screen 180 degrees |
|
|
hi!
I wonder if you mean "rotate the virtual image 180 degrees" ?
This would be cool for some games, I think, too. especially, two-player
ones.
I don't know of any inherent ability to do this in PSP, but *I* think it could
be best achieved by writing wrappers of all the graphics functions you
expect to utilize. There would perhaps be a global flag to select
rotate or not. It's pretty tedious, I agree, but I think it would be re-usable
code. If I ever have occasion to do it, I'll post my version :) |
|
| Back to top |
|
 |
Insert_witty_name
Joined: 10 May 2006 Posts: 376
|
Posted: Sun Oct 29, 2006 5:15 am Post subject: |
|
|
Wouldn't something like this accomplish the task?
| Code: | sceGumMatrixMode(GU_VIEW);
sceGumLoadIdentity();
sceGumRotateZ(GU_PI); |
|
|
| Back to top |
|
 |
|