Bug 173 - Adjust gamma, brightness and contrast
Summary: Adjust gamma, brightness and contrast
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All all
: P3 normal
Assignee: Sven Gothel
Depends on:
Reported: 2005-08-26 02:14 CEST by Sven Gothel
Modified: 2015-09-27 03:15 CEST (History)
1 user (show)

See Also:
SCM Refs:
Workaround: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2010-03-24 07:47:59 CET

---- Reported by tomas 2005-08-26 02:14:23 ----

We need a way to adjust gamma, brightness and contrast under JOGL. I think you
would want to be able to change the settings in both fullscreen and windowed
mode even if it would affect your entire display. Some users even like to play
games in windowed mode. Gamma correction is important when for example dealing
with lightmaps. In let say a Q3 map the lightmaps are very dark, you could do
the correction in software but in the end you loose detail since a texture can't
becommer brighter the white.

---- Additional Comments From kbr 2006-01-21 19:38:35 ----

Added com.sun.opengl.util.Gamma supporting adjusting of gamma, brightness, and
contrast. API and implementation derived from code in the LWJGL project. Added
demos.gamma.TestGamma demo illustrating how to use the APIs. Tested on Linux,
Mac OS X and Windows. No Solaris support at this time, although future Solaris
releases, being based on the Xorg server, will probably have support for the
required XF86VidMode extension.

--- Bug imported by sgothel@jausoft.com 2010-03-24 07:47 EDT  ---

This bug was previously known as _bug_ 173 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=173