POV-Ray : Newsgroups : povray.newusers : hexagons : Re: hexagons Server Time
29 Jul 2024 12:27:30 EDT (-0400)
  Re: hexagons  
From: Slime
Date: 30 Nov 2005 23:27:18
Message: <438e7ba6$1@news.povray.org>
> I need "Display_Gamma=1" in the command line.

This will make the colors look right, except that you'll remove the effect
of gamma correction (which means the rest of your scene won't be gamma
corrected properly).

A better approach would probably be to choose the colors so that they appear
as you want them to on your monitor *after* gamma correction. To do this,
use this code:

#declare my_display_gamma = 1.8; // or whatever it's set to on your monitor
#declare scene_assumed_gamma = 1;
#declare power = my_display_gamma/scene_assumed_gamma;

#macro ReverseGammaCorrection(Color)
<pow(Color.x, power), pow(Color.y, power), pow(Color.z, power)>
#end

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.