Re: [fxtree] Don't want alpha in input sequence

Date : Fri, 27 Jul 2007 16:16:12 -0400
To : XSI(at)Softimage.COM
From : "Bernard Lebel" <3dbernard(at)gmail.com>
Subject : Re: [fxtree] Don't want alpha in input sequence
If I could offer a suggestion.....
The fxviewer could be made more accurate imo. First, if you set the
operator to RGB, then the fxviewer should not even allow viewing an
alpha channel. No matter how verbose is the text on the viewer, this
is very confusing. If you set an operator to output RGB, then it not
display anything else then RGB.

Thanks for the explanations.
Bernard



On 7/26/07, Luc-Eric Rousseau <lucer(at)softimage.com> wrote:
>
>
>
> 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
>
>
>
>
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.