Mailing List
Home
Forum Home
MUD Dev - Discussion of MUD system design, development, and implementation
Mac Game - Mac game development
Rivers of MUD - a Diku and Merc based multiuser dungeon
SMAUG
Subjects
Getting UDP through NAT/firewalls/whatever for a game
Getting UDP through NAT/firewalls/whatever for a game
QuickTime errors
Python script as stand alone MUD server
Various sound problems
Fragment Shaders & GL TEXTURE RECTANGLE EXT
Timers and global variables
Re: Language and platform for Text MUD server
Apparent acquisition of Yantis (mysupersales) by IDE
HID keyboard
Getting UDP through NAT/firewalls/whatever for a game
Microsoft Sparkle
Director MX
Congratulations Horizons
Yet more problems fullscreen mode
Apple Dev Kitchen Them 's tasty vittles, Maw!
NSOpenGLContext, Pbuffers, and drawables
More DCR "theft " naughtiness
dynamic sprite creation and imaging lingo
Re: Find stuff in Flash array?
Effects of skill imbalances?
QuickTime errors
Rom 2 4/Quickmud Enhancement/Bug fix
Working with XML files/CFURL
smooth scrolling/subpixel tweening
RE: (Ron help me?) Flash text
Flash Racing
MudDev FAQ 2
Browser based games
Installing GLUT
Special character in Flash XML
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Compositing 32bit (+alpha) images impossible?

Compositing 32bit (+alpha) images impossible?

2003-12-06       - By Brennan

 Back
Reply:     1     2     3     4     5  

Hi folks, just checking. I am sure this is the best place to ask, too.

With imaging lingo 'as is' there is no way of compositing two (or more)
images with alpha channels, right? When I use copy pixels, the alpha of
the 'incoming' image overwrites the other one, rather than being used to
merge the color data. Makes sense, and useful in most cases, but not this
one.

I'm trying to make antialiased colored text on a colored background and it
seems to be pretty much impossible although there are halfway solutions
using darken/darkest if you keep the foreground and background colors
within known ranges. Dark text on pale backround can be hacked together
quite nicely, but I was hoping for a more general solution which also
worked with any old 32bit images.

I have checked the archives of this list and Direct-L, which was not very
encouraging.

One thing I haven't tried (and don't really understand) is createMatte()
and createMask() which seems like it may offer a solution. After all, mask
ink is a compositing operation, so it ought to be possible to pull out the
alpha channel, create a matte (or mask) from it, and then use copyPixels
with the mask ink.

Am I barking up the wrong tree, or is there no tree?

AFAICT this is the main shortcoming of imaging lingo today, but as I don't
see endless complaints about it, I wonder if a solution exists.

Brennan
__ ____ ____ ____ ____ ____ ____ ____ ____ ____
dirGames-L mailing list  -  dirGames-L@(protected)
http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames-l

Earn $52 per hosting referral at Lunarpages.