Re: makeIBRImages problem

New Message Reply Date view Thread view Subject view Author view

From: Radomir Mech (rmech++at++engr.sgi.com)
Date: 01/31/2002 10:06:58


Hi John,

run /usr/sbin/glxinfo on your system and check what visual has the most alpha
bits.
Then go to makeIBRimages.C and set the channel size in OpenPipeWin()
        PFFB_RED_SIZE, 8,
        PFFB_GREEN_SIZE, 8,
        PFFB_BLUE_SIZE, 8,
        PFFB_ALPHA_SIZE, 8,
to values reported for the visual. This should fix it for you.

Regards,
Radomir

John Breedlove wrote:
>
> Thanks for the help! I just have one problem - I guess there is a problem
> with my hardware with the alpha bits because the makeIBRImage program tells
> me there are 0. The images then end up having way too much red in them for
> whatever reason (255 for the whole image) and seemingly random parts of the
> images have alpha values.. I'm guessing this is from garbage values getting
> read somehow from the glReadPixels .. I suppose I could go into the code and
> fiddle with the glReadPixels calls to get it to work for my hardware, but I
> was just wondering if anyone else has had this problem and if there is a
> quick solution for it.
>
> Thanks in advance,
> John
>


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Jan 31 2002 - 10:07:33 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.