Title: RE: [fxtree] Don't want alpha in input sequence
The fxviewer prints the true format of the image at the top-left,
it is the correct way to know which format the image is in.
8-bit images are always loaded RGBA (i.e. 4 bytes per pixel), setting the
output to RGB8 simply tells operators down the line to ignore the alpha,
it flags the buffer's alpha as having no meaning.
So, if you load an 8-bit RGBA image and set the file input to
output 'RGB8', then in the FxViewer you can still see the alpha
of the image because 1) it has been loaded 2) it has been flagged
as meaningless but 3) the fourth byte each pixel of the image has
not be needlessly erased and 4) the fxviewer is lazy and is not
showing you a completely white image but the 'raw' image's
existing, but ignored, alpha buffer.
Blanking out the alpha should not be necessary for you because compositing
operators are 'aware' of RGB vs RGBA, but if you need to, for example
perhaps you want to re-write the file with a blank alpha and the particuliar
file format writter doesn't handle RGB-only image,
then the SwapComponent can be used to do this quickly by setting
the channel's value to '1' instead of 'A'
-----Original Message-----
From: owner-xsi(at)Softimage.COM on behalf of Bernard Lebel
Posted At: Thu 7/26/2007 2:27 PM
To: XSI(at)Softimage.COM
Posted To: xsi
Subject: [fxtree] Don't want alpha in input sequence
How would I go about preventing an input sequence from outputting its
alpha channel?
When I open the FileInput operator, I set the Type to RGB. Still, if I
click on the alpha display button in the FxViewer, I can still see the
original alpha.
Thanks
Bernard
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi