17 October 2010, 10:52 | #1 |
Banned
Join Date: Jul 2010
Location: Australia
Posts: 475
|
implementing multiple layers in gfx software
I have no particular language in mind as yet, but what's the theory behind doing some sort of layers in a paint/pxiel type program? My idea so far is to simply give a screen to each layer and have the physical screen a mixture of its combined layers. Drawing on any layer would actually be writing to its screen. All good in theory, but a little RAM intensive.
Can any offer any input as to why this method is good/bad/other, or suggest alternative methods if there's better ways to go about it. Thanks in advance p.s. Im thinking in regards to ocs/ecs/aga by the way. |
17 October 2010, 12:37 | #2 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,047
|
You should use only one screen for the display and for the layers only use bitmaps. With patches like FBlit you can keep the bitmaps in FastRAM. But yes, it is memory hungry. And CPU intensive. You need to combine all layers into the the display for every drawing operation.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Multiple devices | virtualnut | support.Hardware | 1 | 30 September 2012 15:35 |
InstallClipRegion() (layers.library) | Gilloo | Coders. System | 0 | 31 October 2011 12:18 |
how many layers on a A600 / A1200 | kipper2k | support.Hardware | 5 | 15 July 2010 00:46 |
multiple HDFs | BippyM | request.UAE Wishlist | 1 | 24 September 2005 23:12 |
Multiple Mice | foxtwo | support.WinUAE | 3 | 17 April 2002 11:24 |
|
|