|
|
I'm experimenting a bit with image-based pigments and such, trying to create
my own little SDL Compositing Tool... :-)
Now, BMP's don't come with alpha, PNG and TGA do, and PNG even comes with
inbuilt Gamma (which'll get gamma-corrected automatically by POV-Ray).
Anyways, POV-Ray uses the alpha-channel of images for transparency. I've
looked around the Docs and found use_alpha, but I haven't found an inverse
of that, e.g. which would turn an image with alpha into a pigment without
transparency. Any pointers? Otherwise I'd probably run it through a function
to extract red, green and blue.
Regards,
Tim
--
aka "Tim Nikias v2.0"
Homepage: <http://www.nolights.de>
Post a reply to this message
|
|