English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 27 October 2009, 22:25   #1
Michael Parent
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
Michael Parent is offline  
Old 27 October 2009, 23:40   #2
Coagulus
Gets there in the end...
 
Coagulus's Avatar
 
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.
Coagulus is offline  
Old 28 October 2009, 14:44   #3
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
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
Samurai_Crow is offline  
Old 28 October 2009, 16:58   #4
Michael Parent
Registered User
 
Join Date: Oct 2009
Location: Vannes France
Posts: 44
AWESOME. thanks so much Samurai_Crow.
Michael Parent is offline  
Old 28 October 2009, 22:10   #5
Coagulus
Gets there in the end...
 
Coagulus's Avatar
 
Join Date: Sep 2005
Location: Wales
Posts: 871
Wow, I'm chuffed with my memory! Especially as I never actually used that command!
Coagulus is offline  
Old 29 October 2009, 02:47   #6
AlfaRomeo
A1200 040 SAM440EP 667
 
AlfaRomeo's Avatar
 
Join Date: Jan 2008
Location: Lisbon / Portugal
Posts: 873
Quote:
Originally Posted by Michael Parent View Post
How to run TRP?..It only runs inside AMOS?
I´ve tried in cli but nothing happens
AlfaRomeo is offline  
Old 29 October 2009, 17:18   #7
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
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.
Samurai_Crow is offline  
Old 29 October 2009, 17:59   #8
AlfaRomeo
A1200 040 SAM440EP 667
 
AlfaRomeo's Avatar
 
Join Date: Jan 2008
Location: Lisbon / Portugal
Posts: 873
Thanks for your help Samurai
AlfaRomeo 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
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

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 17:12.

Top

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