Article View: comp.graphics.api.opengl
Article #75Re: Gamma & color blending
From: Steve Baker
Date: Tue, 18 Nov 1997 00:00
Date: Tue, 18 Nov 1997 00:00
32 lines
1911 bytes
1911 bytes
Michael Harrison wrote: > > I hope you'll pardon these two newbie questions, but since I'm new to > OpenGL... > > I am trying to add gamma correction to our opengl renderer and I > haven't found a good way to do this. For our software renderer I > simply change the current palette but under OpenGL I'm running in > 16bit color mode and don't actually have a palette. > > I also need to add color alpha-blending (say, to make every specified > rendered poly a little more red or green or whatever). With a > palette, it's simple. Gamma correction is not an issue for OpenGL - it's a function of your windowing system. The problem is that OpenGL only operates in the domain of a single window - and Gamma correction must be applied to the entire screen (with most existing hardware implementations). -- Steve Baker 817-619-8776 (Vox/Vox-Mail) Hughes Training Inc. 817-619-4028 (Fax) 2200 Arlington Downs Road SBaker@link.com (eMail) Arlington, Texas. TX 76005-6171 SJBaker1@airmail.net (Personal eMail) http://www.hti.com http://web2.airmail.net/sjbaker1 (personal) ** Beware of Geeks bearing GIF's. **
Technical Details
Message-ID:
<890D05DEBDDB08B8.981B135BEAAA47C8.415D6C2C9FAF35B7@library-proxy.airnews.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<64q9ai$66o$1@gte1.gte.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f65bb,344bb75021d541c6 X-Google-Attributes: gidf65bb,public X-Google-Thread: 100291,344bb75021d541c6 X-Google-Attributes: gid100291,public From: Steve Baker <sbaker@link.com> Subject: Re: Gamma & color blending Date: 1997/11/18 Message-ID: <890D05DEBDDB08B8.981B135BEAAA47C8.415D6C2C9FAF35B7@library-proxy.airnews.net> X-Deja-AN: 290633161 References: <64q9ai$66o$1@gte1.gte.net> X-Orig-Message-ID: <3471CF29.167E@link.com> To: Michael Harrison <see@my.sig> NNTP-Posting-Time: Tue Nov 18 12:24:28 1997 Organization: Hughes Training Inc. - ARLINGTON TX. NNTP-Proxy-Relay: library.airnews.net Newsgroups: comp.graphics.api.opengl,3dfx.opengl