| View previous topic :: View next topic |
| Author |
Message |
Klimru
Joined: 09 Apr 2005 Posts: 34
|
Posted: Sat Aug 20, 2005 4:35 am Post subject: 2D Image Display... best method? |
|
|
Ok, for example. Lets say I have a 2D image, fullscreen 480x272 by 24-bit in memory.
What would be the most efficient way to go about getting that data on to the screen?
And, for a little more advanced displaying... suppose I had several smaller images that I wanted to display on the screen in layers... some with semi-transparency and such?
I assume the best way to do this would be via the GU... any simple examples on how to do this? |
|
| Back to top |
|
 |
rinco
Joined: 21 Jan 2005 Posts: 255 Location: Canberra, Australia
|
Posted: Sat Aug 20, 2005 9:28 am Post subject: |
|
|
There are blit and copy samples in the sdk.
I plan on investigating the use of GU textures with SDL_gfx.
I will let you know what I find out or do. |
|
| Back to top |
|
 |
71M
Joined: 21 Jun 2005 Posts: 122 Location: London
|
Posted: Sat Aug 20, 2005 7:56 pm Post subject: |
|
|
Check out the FileAssistant++ source code, there is a CGfx class which is used for drawing GU graphics on the screen.
It may give you some insight into how to use the GU, alternatively there are many samples in the SDK GU samples folder.
Cheers,
71M |
|
| Back to top |
|
 |
|