English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 17 October 2010, 10:52   #1
fishyfish
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.
fishyfish is offline  
Old 17 October 2010, 12:37   #2
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 7,026
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.
thomas is offline  
 


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:24.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.10313 seconds with 13 queries