![]() |
![]() |
#1 |
Registered User
Join Date: Oct 2009
Location: Vannes France
Posts: 44
|
Can amiblitz (blitz basic2) blit an image per bitplane?
Hi everyone,
I was able to devise a nice trick using AMOSPRO that enabled even OCS Amigas to produce nice semitranslucent bob efects with no additional hit to the processor because Amos allows for you to blit an image and specifiy which of its bitpanes should be blitted and which should be ommitted. http://amos.condor.serverpro3.com/in...pic,141.0.html Anyone know if such blitting is possible with Blitz2 ? thanks, Mike Parent |
![]() |
![]() |
#2 |
Gets there in the end...
Join Date: Sep 2005
Location: Wales
Posts: 871
|
I'm sure there was something... bitplanesbitmap? It's been about 10 years since I used it though.
|
![]() |
![]() |
#3 |
Total Chaos forever!
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,193
|
This may be a bit off-topic but in C or E or any other language that uses OS functions, you just set the PlanesPick field in the RastPort structure.
-edit- Correction: There is no PlanesPick register in the RastPort structure but the BltBitMap has a mask parameter to let you select which bitplanes are affected by the blit. -edit2- BitPlanesBitMap documentation for Blitz2. Last edited by Samurai_Crow; 28 October 2009 at 15:15. Reason: added link |
![]() |
![]() |
#4 |
Registered User
Join Date: Oct 2009
Location: Vannes France
Posts: 44
|
AWESOME. thanks so much Samurai_Crow.
![]() |
![]() |
![]() |
#5 |
Gets there in the end...
Join Date: Sep 2005
Location: Wales
Posts: 871
|
Wow, I'm chuffed with my memory! Especially as I never actually used that command!
|
![]() |
![]() |
#6 | |
A1200 040 SAM440EP 667
Join Date: Jan 2008
Location: Lisbon / Portugal
Posts: 873
|
Quote:
I´ve tried in cli but nothing happens ![]() |
|
![]() |
![]() |
#7 |
Total Chaos forever!
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,193
|
It only runs Amos and if you look at the Skate's last post in the thread you have to make a slight change to make the files load from somewhere that's not dependent on the Amos: assign on his hard drive.
|
![]() |
![]() |
#8 |
A1200 040 SAM440EP 667
Join Date: Jan 2008
Location: Lisbon / Portugal
Posts: 873
|
Thanks for your help Samurai
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Blitz2 blit and block statements inside procedures | htdreams | Coders. Tutorials | 4 | 29 April 2013 08:36 |
Questions about bitplane DMA | Leffmann | Coders. General | 11 | 15 July 2008 15:08 |
bitplane modulos | bluea | Coders. General | 0 | 09 July 2006 01:58 |
How to put the mask bitplane behind the other bitplanes?? | method | project.Sprites | 6 | 15 February 2006 02:53 |
Blitz Basic 2.x (AmiBlitz, now?) in ADF format? | Unregistered | Amiga scene | 1 | 30 November 2001 10:46 |
|
|