Adding a gamma correction slider

All about writing scripts for Celestia in Lua and the .cel system
Topic author
Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 19 years 10 months
Location: Nancy, France

Adding a gamma correction slider

Post #1by Vincent » 29.10.2007, 10:49

This discussion was already started in this thread:
http://celestiaproject.net/forum/viewtopic.php ... 7&start=20

Please use this new topic if you wish to continue this discussion...
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

Avatar
dirkpitt
Developer
Posts: 674
Joined: 24.10.2004
With us: 20 years

Post #2by dirkpitt » 29.10.2007, 11:04

Thanks for the new thread Vincent.

Vincent wrote:Does the entire rendered scene really need gamma correction setting?


Technically, yes. :wink: However, I think at this point maybe just a slider for lines/labels would be enough.

More rigorous color correction of not just lines, but also glares, galaxies, and planet textures (all of which show clear differences among different platforms) will require something more than just a slider.

As a long term goal, ElChristou suggests applying a color profile to Celestia's rendering. This is a partial solution. I think eventually however, it would be nice if Celestia could apply ICC profiles embedded in textures too, and offer global/selective profile ignore/substitute options (this latter perhaps only via scripting).

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Post #3by ElChristou » 29.10.2007, 11:15

Again I think the gamma slider is not a very good solution...
A more serious color profile control from Celestia seems to me a must.

Now if the gamma slider is not that hard to code, we can always test it...
Image

Topic author
Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 19 years 10 months
Location: Nancy, France

Post #4by Vincent » 29.10.2007, 11:46

Well, on top of the gamma slider, the Lua feature could allow users to easily build their own palette using some Red/Green/Blue sliders, after having selected the respective line/label color on which the change should be applied.

Then, of course, I agree with both of you that a more rigorous color correction applied to all the rendered scene would be really appreciated... This is not in the current development roadmap, though... :wink:
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Post #5by ElChristou » 29.10.2007, 12:44

Vincent wrote:Well, on top of the gamma slider, the Lua feature could allow users to easily build their own palette using some Red/Green/Blue sliders, after having selected the respective line/label color on which the change should be applied...


Sounds fun!
Image


Return to “Scripting”