GL transparency/texturing question

New Message Reply Date view Thread view Subject view Author view

Mike Greene (greene++at++iris2.amtec-corp.com)
Mon, 18 Mar 1996 13:40:05 -0800


  Sorry, that this is not a performer question, but I got no response on the sgi-graphics
newsgroup. I'm using GL on a High Impact. I'm trying to paste a tree texture (RGBA) onto
a transparent rectangle, hoping to show only the body of the tree , but not the remainig
portion of the rectangle. According to the GL manual , page 15-47, this should
be possible using msalpha and afunction, but they give no example. My experience has the texture
fading along with the rectangle as I lower the alpha. Does anyone have any code snippets
illustrating how to do this?

Thanks.
**********************************************************
Mike Greene '66 GT-350H
Huntsville, AL '69 Mach 1 428SCJ
greene++at++amtec-corp.com '70 Boss 302
                                   '69 Cobra 428CJ
                                   '93 SVT Cobra
**********************************************************


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:33 PDT

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