Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Subject: Cameras
Subject: scaleDown command
Subject: black out solved
Subject: Aircraft Tutorial
Subject: Mathematical XYZ ?
Subject: Re: Its done This vs That
Subject: Re: Its done first week
recommendations for screen video captures?
Subject: 3DExplorer "Oddity "
Subject: Re: New Director
Subject: ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
Subject: RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Subject: Re: Texturing
Big Break Contest Videos
Subject: New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Subject: Plasma?
Looking for Inspiration
Subject: Weird EMail Q
Subject: Re: It 's done first week ?
Subject: Cherry not cranberry
Subject: Re: New game
Camera Animation Problem
Subject: Particle plugins?
 
loading members at runtime

loading members at runtime

2004-02-28       - By Neto

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

> More of a problem is there appears to be no way to determine if a bitmap
> member has an alpha!
> Am I missing a function?
> Haven't tested importfileinto to see if it automatcially sets the usealpha
> property (which member.filename doesn't). If it did then that could be
used.
> However I got a workaround based on filetype of the bitmap. If its JPG it
> can't have an alpha, if its tif, png, or something else, then it can have
an
> alpha chanel, and will be deemed as such. To be honest I think this works
> better as all non-alpha bitmaps need to be jpeg'd to reduce filesize, but
it
> would still be nice to check if a bitmap actually had an alpha.
>
> Noisecrime 2004

Recently in the list it was revealded that when you do:

isEqual = (imageA = imageB)

Director will do a pixel compare (!). So you could compare the image's alpha
against a black 8-bit #greyscale image.

__ ____ ____ ____ ____ ____ ____ ____ ____ ____
Dir3d-l mailing list
Dir3d-l@(protected)
http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l