Skip to content

Commit 05a7c1e

Browse files
author
Jed Smith
committed
update info tab
1 parent b6904c0 commit 05a7c1e

File tree

2 files changed

+21
-20
lines changed

2 files changed

+21
-20
lines changed

GamutCompress.nk

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,21 @@ Group {
44
name GamutCompress
55
label "\[value method] : \[value direction]"
66
addUserKnob {20 GamutCompress}
7-
addUserKnob {4 method t "Choose the type of distance compression function you want to use" M {simple}}
7+
addUserKnob {4 method t "the type of distance compression function you want to use" M {reinhard}}
8+
addUserKnob {22 reset -STARTLINE T "n = nuke.thisNode()\nknobs = \['threshold', 'cyan', 'magenta', 'yellow']\nfor k in knobs:\n n\[k].setValue(0.2)"}
89
addUserKnob {7 threshold t "Percentage of the gamut to affect. A value of 0.2 will leave leave the core 80% of the colors within the gamut unaffected." R 0 0.2}
910
threshold 0.2
10-
addUserKnob {26 max_distance_label l " " T "<b>max distance"}
11-
addUserKnob {7 cyan t "cyan limit" R 0.001 1}
12-
cyan 0.25
13-
addUserKnob {7 magenta t "magenta limit" R 0.001 1}
14-
magenta 0.25
15-
addUserKnob {7 yellow t "yellow limit" R 0.001 1}
16-
yellow 0.25
11+
addUserKnob {26 distance_limit_label l " " t "Specifies the distance beyond the gamut boundary to map to the gamut boundary for each color component." T "<b>distance limit"}
12+
addUserKnob {7 cyan t "distance limit for the R component." R 0.001 1}
13+
cyan 0.2
14+
addUserKnob {7 magenta t "distance limit for the G component." R 0.001 1}
15+
magenta 0.2
16+
addUserKnob {7 yellow t "distance limit for the B component." R 0.001 1}
17+
yellow 0.2
1718
addUserKnob {26 ""}
1819
addUserKnob {4 direction M {forward inverse}}
1920
addUserKnob {20 info_tab l Info}
20-
addUserKnob {26 info_label l " " T "<font color=#ccc>\n<b>GamutCompress</b> brings out of gamut colors back into gamut.<br><br>\n\n<b>Threshold</b><br>\nPercentage of the gamut to affect. If threshold is 0.2, <br>\nthe inner 80% of the gamut will be unaffected and <br>\nout of gamut values will be compressed into <br>\nthe outer 20% of the gamut's color volume.<br><br>\n\n<b>Max Distance</b><br>\nPer color component control to specify what distance will be <br>\ncompressed to the gamut boundary. For example, <br>\na value of 0.2 will map colors with a distance of 1.2 from <br>\nthe achromatic axis to 1.0, which is the gamut boundary.<br><br><br>\n\n<b>Direction</b><br>\nSpecifies whether to apply or inverse the gamut compression operation.\n<br><br>\n<a href=https://github.com/jedypod/gamut-compress>Additional Documentation</a><br><br>\n\nWritten by <a href=https://github.com/jedypod color=red>Jed Smith</a> with <a href=https://community.acescentral.com/t/rgb-saturation-gamut-mapping-approach-and-a-comp-vfx-perspective>help</a> from the <a href=https://community.acescentral.com/c/aces-development-acesnext/vwg-aces-gamut-mapping-working-group>ACES Gamut Mapping VWG</a>"}
21+
addUserKnob {26 info_label l " " T "<style> a:link \{ color: #ccc \}</style>\n<font color=#ccc>\n<b>GamutCompress</b><br>\nmaps out of gamut colors back into gamut.<br><br>\n\n<b>Method</b><br>\nSpecify the tone compression curve to use when <br>\nmapping out of gamut colors into the boundary threshold.<br>\n<a href=https://www.desmos.com/calculator/lkhdtjbodx>reinhard</a>\n<br><br>\n\n<b>Threshold</b><br>\nPercentage of the gamut to affect. If threshold is 0.2, <br>\nthe inner 80% of the gamut will be unaffected and <br>\nout of gamut values will be compressed into <br>\nthe outer 20% of the gamut's color volume.<br><br>\n\n<b>Max Distance</b><br>\nPer color component control to specify what distance will be <br>\ncompressed to the gamut boundary. For example, <br>\na value of cyan=0.2 will map colors with a distance of red=1.2 from <br>\nthe achromatic axis to red=1.0, which is the gamut boundary.<br><br><br>\n\n<b>Direction</b><br>\nSpecifies whether to apply or inverse the gamut compression operation.\n<br><br>\n<a href=https://github.com/jedypod/gamut-compress>Additional Documentation</a><br><br>\n\nWritten by <a href=https://github.com/jedypod color=red>Jed Smith</a> with <a href=https://community.acescentral.com/t/rgb-saturation-gamut-mapping-approach-and-a-comp-vfx-perspective>help</a> from the <a href=https://community.acescentral.com/c/aces-development-acesnext/vwg-aces-gamut-mapping-working-group>ACES Gamut Mapping VWG</a>"}
2122
}
2223
Input {
2324
inputs 0

GamutCompress_blink.nk

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,23 @@ Group {
44
name GamutCompress_blink
55
label "\[value method] : \[value direction]"
66
addUserKnob {20 GamutCompress}
7-
addUserKnob {4 method t "Choose the type of distance compression function you want to use" M {simple}}
7+
addUserKnob {4 method t "the type of distance compression function you want to use" M {reinhard}}
8+
addUserKnob {22 reset -STARTLINE T "n = nuke.thisNode()\nknobs = \['threshold', 'cyan', 'magenta', 'yellow']\nfor k in knobs:\n n\[k].setValue(0.2)"}
89
addUserKnob {6 use_gpu l "use gpu" t "use gpu for blinkscript node" -STARTLINE}
910
use_gpu true
1011
addUserKnob {7 threshold t "Percentage of the gamut to affect. A value of 0.2 will leave leave the core 80% of the colors within the gamut unaffected." R 0 0.2}
1112
threshold 0.2
12-
addUserKnob {26 max_distance_label l " " T "<b>max distance"}
13-
addUserKnob {7 cyan t "cyan limit" R 0.001 1}
14-
cyan 0.25
15-
addUserKnob {7 magenta t "magenta limit" R 0.001 1}
16-
magenta 0.25
17-
addUserKnob {7 yellow t "yellow limit" R 0.001 1}
18-
yellow 0.25
13+
addUserKnob {26 distance_limit_label l " " t "Specifies the distance beyond the gamut boundary to map to the gamut boundary for each color component." T "<b>distance limit"}
14+
addUserKnob {7 cyan t "distance limit for the R component." R 0.001 1}
15+
cyan 0.2
16+
addUserKnob {7 magenta t "distance limit for the G component." R 0.001 1}
17+
magenta 0.2
18+
addUserKnob {7 yellow t "distance limit for the B component." R 0.001 1}
19+
yellow 0.2
1920
addUserKnob {26 ""}
2021
addUserKnob {4 direction M {forward inverse}}
2122
addUserKnob {20 info_tab l Info}
22-
addUserKnob {26 info_label l " " T "<font color=#ccc>\n<b>GamutCompress</b> brings out of gamut colors back into gamut.<br><br>\n\n<b>Threshold</b><br>\nPercentage of the gamut to affect. If threshold is 0.2, <br>\nthe inner 80% of the gamut will be unaffected and <br>\nout of gamut values will be compressed into <br>\nthe outer 20% of the gamut's color volume.<br><br>\n\n<b>Max Distance</b><br>\nPer color component control to specify what distance will be <br>\ncompressed to the gamut boundary. For example, <br>\na value of 0.2 will map colors with a distance of 1.2 from <br>\nthe achromatic axis to 1.0, which is the gamut boundary.<br><br><br>\n\n<b>Direction</b><br>\nSpecifies whether to apply or inverse the gamut compression operation.\n<br><br>\n<a href=https://github.com/jedypod/gamut-compress>Additional Documentation</a><br><br>\n\nWritten by <a href=https://github.com/jedypod color=red>Jed Smith</a> with <a href=https://community.acescentral.com/t/rgb-saturation-gamut-mapping-approach-and-a-comp-vfx-perspective>help</a> from the <a href=https://community.acescentral.com/c/aces-development-acesnext/vwg-aces-gamut-mapping-working-group>ACES Gamut Mapping VWG</a>"}
23+
addUserKnob {26 info_label l " " T "<style> a:link \{ color: #ccc \}</style>\n<font color=#ccc>\n<b>GamutCompress</b><br>\nmaps out of gamut colors back into gamut.<br><br>\n\n<b>Method</b><br>\nSpecify the tone compression curve to use when <br>\nmapping out of gamut colors into the boundary threshold.<br>\n<a href=https://www.desmos.com/calculator/lkhdtjbodx>reinhard</a>\n<br><br>\n\n<b>Threshold</b><br>\nPercentage of the gamut to affect. If threshold is 0.2, <br>\nthe inner 80% of the gamut will be unaffected and <br>\nout of gamut values will be compressed into <br>\nthe outer 20% of the gamut's color volume.<br><br>\n\n<b>Max Distance</b><br>\nPer color component control to specify what distance will be <br>\ncompressed to the gamut boundary. For example, <br>\na value of cyan=0.2 will map colors with a distance of red=1.2 from <br>\nthe achromatic axis to red=1.0, which is the gamut boundary.<br><br><br>\n\n<b>Direction</b><br>\nSpecifies whether to apply or inverse the gamut compression operation.\n<br><br>\n<a href=https://github.com/jedypod/gamut-compress>Additional Documentation</a><br><br>\n\nWritten by <a href=https://github.com/jedypod color=red>Jed Smith</a> with <a href=https://community.acescentral.com/t/rgb-saturation-gamut-mapping-approach-and-a-comp-vfx-perspective>help</a> from the <a href=https://community.acescentral.com/c/aces-development-acesnext/vwg-aces-gamut-mapping-working-group>ACES Gamut Mapping VWG</a>"}
2324
}
2425
Input {
2526
inputs 0
@@ -28,8 +29,7 @@ Group {
2829
ypos -10
2930
}
3031
AddChannels {
31-
name AddChannels1
32-
note_font Helvetica
32+
name AddChannels
3333
xpos -40
3434
ypos 26
3535
}

0 commit comments

Comments
 (0)