OS4 DepotLogo by Alkaron 
(anonymous IP:,2219) 

   Bug tracker
   Locale browser


   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (600)
   o Document (22)
   o Driver (97)
   o Emulation (148)
   o Game (1005)
   o Graphics (499)
   o Library (116)
   o Network (233)
   o Office (66)
   o Utility (927)
   o Video (69)

Total files: 4379

Full index file
Recent index file



Support the site

 Readme for:  Graphics » Misc » patchcompositetags.lha


Description: Patch and emulate CompositeTags
Download: patchcompositetags.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 114kb
Version: 1.35
Date: 10 Mar 2019
Author: Alain Thellier
Submitter: kas1e
Requirements: WinUAE + AmigaOS4
Category: graphics/misc
Replaces: graphics/misc/patchcompositetags.lha
License: Other
Distribute: yes
Min OS Version: 4.0
FileID: 10850
Comments: 0
Snapshots: 1
Videos: 0
Downloads: 229  (Current version)
375  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 

V1.35: Better manage the bitmaps list used for AlphaRatio. "Clear" optimized
more for ARGB. V1.34: Faster rectangular "Clear" using p96RectFill. V1.33: No
more use u>>16 & v>>16 but unions. V1.32: No more use floats for storing
vertices nor for clipping. V1.31: Operator "Clear" & "Plus" also optimized more
for ARGB. V1.30: Debug version also included (for programmers). Option f
optimized more for ARGB.
V1.29: Have option f (simple transparency without alpha) that was stupidly
disabled in last release Now option f also use alpha if alpha pixels are more
than 10% per bitmap Fix display bug with 24 bits mode. More optimised so faster
especially in ARGB. Thanks to Crisot for "write pixels as 64 bits" trick

PatchCompositeTags (pat) is a software emulation of the CompositeTags function
(ie the Compositing)
The goal is to use the Composition in WinUAE-ppc OS4x.
On a real Amiga-NG PatchCompositeTags works too but there is truly no interest
to use it...

Set WinUAE to use ARGB for 32 bits screen in "RTG board" panel
Set Workbench to use ARGB for 32 bits screen
Install MACE & PatchCompositeTags
Disable compositing in Workbench (default is certainly no) in Prefs/Gui/effects
Start Mace_demo config : select (say) 640x480 ARGB
Start PatchCompositeTags : type 'pat Q'
Start Mace

PatchCompositeTags support:
Bitmap format: 
R5G6B5 R8G8B8 B8G8R8 A8R8G8B8
Operators implementation: 
0	:	Clear			[X]
1	:	Src				[X]
2	:	Dest			[_]
3	:	Src_Over_Dest	[X]
4	:	Dest_Over_Src	[_]
5	:	Src_In_Dest		[_]
6	:	Dest_In_Src		[X]
7	:	Src_Out_Dest	[_]
8	:	Dest_Out_Src	[_]
9	:	Src_Atop_Dest	[_]
10	:	Dest_Atop_Src	[_]
11	:	Src_Xor_Dest	[_]
12	:	Plus			[X]
Triangles or Standard draw

Now that WinUAE allow lots of RAM we can start to play some OS4 games like MACE
that works now Note: Compositing on an AmigaNG is a kind of hardware accelerated
super-blitter that allow resizing/rotating/filtering/transparency on bitmaps

MACE better option is 'pat Q' or 'pat Qf' for slow PC

PatchCompositeTags is rustic with just some options

	pat d
		debug = TRUE; shows what happens (debug)
	pat w
		UseW = TRUE; try to do the texturing in perspective (not currently working)
	pat q 		UseQuad=1; Two triangles are treated as a rectangle (tile) run well
with Abbaye des morts, CompositePoc, GMAP (faster)
	pat Q
		UseQuad=2; Same but unfold the triangles an other way. Works with MACE	
	pat f
		UseFast = TRUE; simple transparency without alpha (faster but ugly)
	pat l
		UseLine = TRUE; Trace the outline of the poly (debug)

Options can be combined like 'pat Qf'

Do not enable the composition effects on the WB Do not start several progs using
the compositing at the same time as this program is not a real .library and
therefore does not allow this

Copyright © 2004-2024 by Björn Hagström All Rights Reserved