View Issue Details

IDProjectCategoryView StatusLast Update
0001034FSSCPOpenGLpublic2006-10-16 17:39
ReporterDa_Brain Assigned Totaylor  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0001034: Gamma/color profile problem
DescriptionFS2_open doesn't use/reset the color profile. The colors get changed back to the state of no used profile (*.icc).

This problem only appears with OpenGL. It even appears in the windowed mode. (not limited to just the window, but the whole screen!)
Additional InformationUsing "-no_set_gamma" fixes the problem.

Thread at HLP:
http://www.hard-light.net/forums/index.php/topic,41938.0.html

The problem isn't limited to one build.
TagsNo tags attached.

Activities

taylor

2006-09-14 10:08

administrator   ~0006623

Just wanted to bump this with some info, and as a reminder to me to finish up the code and get a test build to DaBrain.

The problem here is that OGL just uses a plain identity ramp for gamma. Although it saves the original gamma ramp in order to restore it on exit, it doesn't do anything else with it. D3D is set to actually modify the identity gamma ramp with the current gamma ramp values (I think anyway, it's an internal D3D thing).

To fix this in OGL we need to do the same, though it must be done by hand (not sure of an automated way). The gamma (re)setting code for OGL has been modified to allow for this, but the code isn't complete yet, so it doesn't actually modify the identity ramp with the orginal ramp values if you set the gamma to anything other than 1.0.

taylor

2006-09-19 22:43

administrator   ~0006653

* BUMP *

Is it working any better with this set of builds:
http://icculus.org/~taylor/fso/willrobinson/gamma_test.rar

(same filename I sent you before, but it's been updated several times since then)

taylor

2006-10-16 17:39

administrator   ~0006902

A month later and no response, good or bad. I guess if it was still broken I would have heard about it by now since there have been quite a few builds since the code hit CVS. Reopen if it's still an issue.

taylor

2006-10-16 17:39

administrator   ~0006903

Fixered.

Issue History

Date Modified Username Field Change
2006-08-31 19:04 Da_Brain New Issue
2006-08-31 19:18 taylor Status new => assigned
2006-08-31 19:18 taylor Assigned To => taylor
2006-09-14 10:08 taylor Note Added: 0006623
2006-09-19 22:43 taylor Note Added: 0006653
2006-10-16 17:39 taylor Note Added: 0006902
2006-10-16 17:39 taylor Status assigned => resolved
2006-10-16 17:39 taylor Resolution open => fixed
2006-10-16 17:39 taylor Note Added: 0006903