[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4756: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3891)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4758: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3891)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4759: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3891)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4760: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3891)
Kerkythea Rendering System • View topic - Log-log tone mapping.
This forum board is in read-only mode.
FAQ  •  Login

Log-log tone mapping.

Moderator: ModeratorGroup

<<

paros

Posts: 15

Joined: Fri Apr 13, 2007 4:18 am

Post Fri Apr 13, 2007 4:37 am

Log-log tone mapping.

Log-log mapping uses the natural logarithm twice. In mathematics, it is written ln(x), however in C++ the function is log(x);
It is applied on each color component in the following manner.

logweight = 5.0 - whiteenergy;
re = log(log( logweight*re + 2.718281828 ));
ge = log(log( logweight*ge + 2.718281828 ));
be = log(log( logweight*be + 2.718281828 ));
if( re > 1.0 ) re = 1.0;
if( ge > 1.0 ) ge = 1.0;
if( be > 1.0 ) be = 1.0;

'whiteenergy' is a user-defined variable, and should be attatched to a slider.
whiteenergy should only range from 0 to 4.999

This tone map is beautifully photographic when used with "reverse gamma" which is just when gamma is set less than 1.0 I have had best luck with it for gammas between 0.60 and 0.75
This map preserves colors on surfaces, yet still allows surfaces to turn completely white if they are highly illuminated.
<<

patricks

KT-Team
KT-Team

Posts: 3209

Joined: Mon Nov 14, 2005 2:39 am

Location: Palma de Mallorca / Spain

Post Fri Apr 13, 2007 6:19 am

<<

paros

Posts: 15

Joined: Fri Apr 13, 2007 4:18 am

Post Fri Apr 13, 2007 6:24 am

<<

patricks

KT-Team
KT-Team

Posts: 3209

Joined: Mon Nov 14, 2005 2:39 am

Location: Palma de Mallorca / Spain

Post Fri Apr 13, 2007 6:30 am

<<

patricks

KT-Team
KT-Team

Posts: 3209

Joined: Mon Nov 14, 2005 2:39 am

Location: Palma de Mallorca / Spain

Post Fri Apr 13, 2007 6:41 am

<<

notareal

KT-Team
KT-Team

Posts: 4211

Joined: Fri Oct 27, 2006 7:27 am

Location: Finland

Post Fri Apr 13, 2007 6:44 am

<<

kwistenbiebel

KT-Explorer

Posts: 403

Joined: Mon Jan 22, 2007 11:35 am

Location: Belgium

Post Fri Apr 13, 2007 7:56 am

<<

notareal

KT-Team
KT-Team

Posts: 4211

Joined: Fri Oct 27, 2006 7:27 am

Location: Finland

Post Fri Apr 13, 2007 8:26 am

<<

kwistenbiebel

KT-Explorer

Posts: 403

Joined: Mon Jan 22, 2007 11:35 am

Location: Belgium

Post Fri Apr 13, 2007 8:46 am

Thanks Notareal. that helps a lot.


Cheers,
kwistenbiebel
<<

patricks

KT-Team
KT-Team

Posts: 3209

Joined: Mon Nov 14, 2005 2:39 am

Location: Palma de Mallorca / Spain

Post Fri Apr 13, 2007 10:10 am


Return to Wish List

Who is online

Users browsing this forum: No registered users and 4 guests

Privacy |    Website Terms of Use |   Cookie Consent © 2020 Altair Engineering, Inc. All Rights Reserved.

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.