Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#14 | Link | |||
|
Registered User
Join Date: Jan 2004
Location: Here, there and everywhere
Posts: 1,197
|
Thanks for your comments. All suggestions for improvement are most welcome.
For sure, the formulae per se are 'correct'. Quote:
http://forum.doom9.org/showpost.php?...32&postcount=2 And taking, for example, 'Additive': Code:
(x + y ) > 255 ? 255 : (( x + y) * "+String(Opac)+" ) + (x * (1 - "+String(Opac)+" )) Code:
x y + 255 > 255 x y + "+String(Opac)+" * x 1 "+String(Opac)+" - * + ? Reverse translation (mt_infix) of: Code:
"x y + 255 > 255 x y + ? "+String(Opac)+" * x 1 "+String(Opac)+" - * + " Code:
((((x + y) > 255 )) ? 255 : (x + y)) * "+String(Opac)+" ) + (x * (1 - "+String(Opac)+" ))) Quote:
I did at one point (posts #10 and #11) consider applying the blend opacity through a second mt_lutxy expression, but would that (obviously) would mean two lut calcs (each with their own rounding errors) instead of one, and make it more difficult to work in separate opacity determinants for <128 and >128 with the Hardlight, Softlight and Overlay modes. Quote:
__________________
Nostalgia's not what it used to be Last edited by WorBry; 17th May 2010 at 02:23. |
|||
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|