Skip to content

Instantly share code, notes, and snippets.

@KelSolaar
Created February 22, 2021 06:04
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KelSolaar/aed87f463819134c5588b1d23a8b20bc to your computer and use it in GitHub Desktop.
Save KelSolaar/aed87f463819134c5588b1d23a8b20bc to your computer and use it in GitHub Desktop.
DRT Cubes
set cut_paste_input [stack 0]
version 12.1 v1
push $cut_paste_input
Camera2 {
translate {2 1.5 2}
rotate {-30 45 0}
focal 30
name Camera
selected true
xpos -186
ypos 112
}
Group {
inputs 0
name Extent_Cube
selected true
xpos 55
ypos -100
addUserKnob {20 cube_Tab l Cube}
addUserKnob {7 edges_Floating_Point_Slider l Edges}
edges_Floating_Point_Slider 2
addUserKnob {7 points_density_Floating_Point_Slider l "Points Density"}
points_density_Floating_Point_Slider 512
}
Group {
inputs 0
name yz_w_v_Face
xpos 950
ypos -202
addUserKnob {20 face_Tab l Face}
addUserKnob {14 width_height_Width_Height_Knob l "Width / Height" R 0 100}
width_height_Width_Height_Knob {{parent.points_density_Floating_Point_Slider} {parent.edges_Floating_Point_Slider}}
}
Constant {
inputs 0
channels rgb
format "256 256 0 0 256 256 1 square_256"
name Constant
xpos 180
ypos -250
}
Reformat {
type "to box"
box_width {{parent.width_height_Width_Height_Knob.w}}
box_height {{parent.width_height_Width_Height_Knob.h}}
box_fixed true
name Reformat
xpos 180
ypos -176
}
Expression {
expr0 1
expr1 "x / (width - 1)"
expr2 "y / (height - 1)"
name Expression
selected true
xpos 180
ypos -150
}
Output {
name Output
xpos 180
ypos -124
}
end_group
Group {
inputs 0
name yz_w_h_Face
xpos 840
ypos -202
addUserKnob {20 face_Tab l Face}
addUserKnob {14 width_height_Width_Height_Knob l "Width / Height" R 0 100}
width_height_Width_Height_Knob {{parent.edges_Floating_Point_Slider} {parent.points_density_Floating_Point_Slider}}
}
Constant {
inputs 0
channels rgb
format "256 256 0 0 256 256 1 square_256"
name Constant
xpos 180
ypos -250
}
Reformat {
type "to box"
box_width {{parent.width_height_Width_Height_Knob.w}}
box_height {{parent.width_height_Width_Height_Knob.h}}
box_fixed true
name Reformat
xpos 180
ypos -176
}
Expression {
expr0 1
expr1 "x / (width - 1)"
expr2 "y / (height - 1)"
name Expression
selected true
xpos 180
ypos -150
}
Output {
name Output
xpos 180
ypos -124
}
end_group
Reformat {
type scale
turn true
name Rotate_Reformat
xpos 840
ypos -178
}
set Cf762fc00 [stack 0]
Group {
inputs 0
name xz_w_v_Face
xpos 730
ypos -202
addUserKnob {20 face_Tab l Face}
addUserKnob {14 width_height_Width_Height_Knob l "Width / Height" R 0 100}
width_height_Width_Height_Knob {{parent.edges_Floating_Point_Slider} {parent.points_density_Floating_Point_Slider}}
}
Constant {
inputs 0
channels rgb
format "256 256 0 0 256 256 1 square_256"
name Constant
xpos 180
ypos -250
}
Reformat {
type "to box"
box_width {{parent.width_height_Width_Height_Knob.w}}
box_height {{parent.width_height_Width_Height_Knob.h}}
box_fixed true
name Reformat
xpos 180
ypos -176
}
Expression {
expr0 "x / (width - 1)"
expr1 1
expr2 "y / (height - 1)"
name Expression
selected true
xpos 180
ypos -150
}
Output {
name Output
xpos 180
ypos -124
}
end_group
clone $Cf762fc00 {
xpos 730
ypos -178
selected false
}
Group {
inputs 0
name xz_w_h_Face
xpos 620
ypos -202
addUserKnob {20 face_Tab l Face}
addUserKnob {14 width_height_Width_Height_Knob l "Width / Height" R 0 100}
width_height_Width_Height_Knob {{parent.points_density_Floating_Point_Slider} {parent.edges_Floating_Point_Slider}}
}
Constant {
inputs 0
channels rgb
format "256 256 0 0 256 256 1 square_256"
name Constant
xpos 180
ypos -250
}
Reformat {
type "to box"
box_width {{parent.width_height_Width_Height_Knob.w}}
box_height {{parent.width_height_Width_Height_Knob.h}}
box_fixed true
name Reformat
xpos 180
ypos -176
}
Expression {
expr0 "x / (width - 1)"
expr1 1
expr2 "y / (height - 1)"
name Expression
selected true
xpos 180
ypos -150
}
Output {
name Output
xpos 180
ypos -124
}
end_group
Group {
inputs 0
name xy_w_v_Face
xpos 510
ypos -202
addUserKnob {20 face_Tab l Face}
addUserKnob {14 width_height_Width_Height_Knob l "Width / Height" R 0 100}
width_height_Width_Height_Knob {{parent.edges_Floating_Point_Slider} {parent.points_density_Floating_Point_Slider}}
}
Constant {
inputs 0
channels rgb
format "256 256 0 0 256 256 1 square_256"
name Constant
xpos 180
ypos -250
}
Reformat {
type "to box"
box_width {{parent.width_height_Width_Height_Knob.w}}
box_height {{parent.width_height_Width_Height_Knob.h}}
box_fixed true
name Reformat
xpos 180
ypos -176
}
Expression {
expr0 "x / (width - 1)"
expr1 "y / (height - 1)"
expr2 1
name Expression
selected true
xpos 180
ypos -150
}
Output {
name Output
xpos 180
ypos -124
}
end_group
clone $Cf762fc00 {
xpos 510
ypos -178
selected false
}
Group {
inputs 0
name xy_w_h_Face
xpos 400
ypos -202
addUserKnob {20 face_Tab l Face}
addUserKnob {14 width_height_Width_Height_Knob l "Width / Height" R 0 100}
width_height_Width_Height_Knob {{parent.points_density_Floating_Point_Slider} {parent.edges_Floating_Point_Slider}}
}
Constant {
inputs 0
channels rgb
format "256 256 0 0 256 256 1 square_256"
name Constant
xpos 180
ypos -250
}
Reformat {
type "to box"
box_width {{parent.width_height_Width_Height_Knob.w}}
box_height {{parent.width_height_Width_Height_Knob.h}}
box_fixed true
name Reformat
xpos 180
ypos -176
}
Expression {
expr0 "x / (width - 1)"
expr1 "y / (height - 1)"
expr2 1
name Expression
selected true
xpos 180
ypos -150
}
Output {
name Output
xpos 180
ypos -124
}
end_group
Group {
inputs 0
name yz_b_v_Face
xpos 290
ypos -202
addUserKnob {20 face_Tab l Face}
addUserKnob {14 width_height_Width_Height_Knob l "Width / Height" R 0 100}
width_height_Width_Height_Knob {{parent.points_density_Floating_Point_Slider} {parent.edges_Floating_Point_Slider}}
}
Constant {
inputs 0
channels rgb
format "256 256 0 0 256 256 1 square_256"
name Constant
xpos 180
ypos -250
}
Reformat {
type "to box"
box_width {{parent.width_height_Width_Height_Knob.w}}
box_height {{parent.width_height_Width_Height_Knob.h}}
box_fixed true
name Reformat
xpos 180
ypos -176
}
Expression {
expr0 0
expr1 "x / (width - 1)"
expr2 "y / (height - 1)"
name Expression
selected true
xpos 180
ypos -150
}
Output {
name Output
xpos 180
ypos -124
}
end_group
Group {
inputs 0
name yz_b_h_Face
xpos 180
ypos -202
addUserKnob {20 face_Tab l Face}
addUserKnob {14 width_height_Width_Height_Knob l "Width / Height" R 0 100}
width_height_Width_Height_Knob {{parent.edges_Floating_Point_Slider} {parent.points_density_Floating_Point_Slider}}
}
Constant {
inputs 0
channels rgb
format "256 256 0 0 256 256 1 square_256"
name Constant
xpos 180
ypos -250
}
Reformat {
type "to box"
box_width {{parent.width_height_Width_Height_Knob.w}}
box_height {{parent.width_height_Width_Height_Knob.h}}
box_fixed true
name Reformat
xpos 180
ypos -176
}
Expression {
expr0 0
expr1 "x / (width - 1)"
expr2 "y / (height - 1)"
name Expression
selected true
xpos 180
ypos -150
}
Output {
name Output
xpos 180
ypos -124
}
end_group
clone $Cf762fc00 {
xpos 180
ypos -178
selected false
}
Group {
inputs 0
name xz_b_v_Face
xpos 70
ypos -202
addUserKnob {20 face_Tab l Face}
addUserKnob {14 width_height_Width_Height_Knob l "Width / Height" R 0 100}
width_height_Width_Height_Knob {{parent.edges_Floating_Point_Slider} {parent.points_density_Floating_Point_Slider}}
}
Constant {
inputs 0
channels rgb
format "256 256 0 0 256 256 1 square_256"
name Constant
xpos 180
ypos -250
}
Reformat {
type "to box"
box_width {{parent.width_height_Width_Height_Knob.w}}
box_height {{parent.width_height_Width_Height_Knob.h}}
box_fixed true
name Reformat
xpos 180
ypos -176
}
Expression {
expr0 "x / (width - 1)"
expr1 0
expr2 "y / (height - 1)"
name Expression
selected true
xpos 180
ypos -150
}
Output {
name Output
xpos 180
ypos -124
}
end_group
clone $Cf762fc00 {
xpos 70
ypos -178
selected false
}
Group {
inputs 0
name xz_b_h_Face
xpos -40
ypos -202
addUserKnob {20 face_Tab l Face}
addUserKnob {14 width_height_Width_Height_Knob l "Width / Height" R 0 100}
width_height_Width_Height_Knob {{parent.points_density_Floating_Point_Slider} {parent.edges_Floating_Point_Slider}}
}
Constant {
inputs 0
channels rgb
format "256 256 0 0 256 256 1 square_256"
name Constant
xpos 180
ypos -250
}
Reformat {
type "to box"
box_width {{parent.width_height_Width_Height_Knob.w}}
box_height {{parent.width_height_Width_Height_Knob.h}}
box_fixed true
name Reformat
xpos 180
ypos -176
}
Expression {
expr0 "x / (width - 1)"
expr1 0
expr2 "y / (height - 1)"
name Expression
selected true
xpos 180
ypos -150
}
Output {
name Output
xpos 180
ypos -124
}
end_group
Group {
inputs 0
name xy_b_v_Face
xpos -150
ypos -202
addUserKnob {20 face_Tab l Face}
addUserKnob {14 width_height_Width_Height_Knob l "Width / Height" R 0 100}
width_height_Width_Height_Knob {{parent.edges_Floating_Point_Slider} {parent.points_density_Floating_Point_Slider}}
}
Constant {
inputs 0
channels rgb
format "256 256 0 0 256 256 1 square_256"
name Constant
xpos 180
ypos -250
}
Reformat {
type "to box"
box_width {{parent.width_height_Width_Height_Knob.w}}
box_height {{parent.width_height_Width_Height_Knob.h}}
box_fixed true
name Reformat
xpos 180
ypos -176
}
Expression {
expr0 "x / (width - 1)"
expr1 "y / (height - 1)"
expr2 0
name Expression
selected true
xpos 180
ypos -150
}
Output {
name Output
xpos 180
ypos -124
}
end_group
clone $Cf762fc00 {
xpos -150
ypos -178
selected false
}
Group {
inputs 0
name xy_b_h_Face
xpos -260
ypos -202
addUserKnob {20 face_Tab l Face}
addUserKnob {14 width_height_Width_Height_Knob l "Width / Height" R 0 100}
width_height_Width_Height_Knob {{parent.points_density_Floating_Point_Slider} {parent.edges_Floating_Point_Slider}}
}
Constant {
inputs 0
channels rgb
format "256 256 0 0 256 256 1 square_256"
name Constant
xpos 180
ypos -250
}
Reformat {
type "to box"
box_width {{parent.width_height_Width_Height_Knob.w}}
box_height {{parent.width_height_Width_Height_Knob.h}}
box_fixed true
name Reformat
xpos 180
ypos -176
}
Expression {
expr0 "x / (width - 1)"
expr1 "y / (height - 1)"
expr2 0
name Expression
selected true
xpos 180
ypos -150
}
Output {
name Output
xpos 180
ypos -124
}
end_group
ContactSheet {
inputs 12
width {{width}}
height {{"parent.edges_Floating_Point_Slider * rows"}}
rows 12
columns 1
name ContactSheet
xpos 400
ypos -82
}
set Nf733c800 [stack 0]
Output {
name Output
xpos 400
ypos -58
}
push $Nf733c800
Viewer {
frame_range 1-100
viewerProcess "sRGB (ACES)"
name Viewer1
selected true
xpos 591
ypos 107
}
end_group
Transform {
translate {0 {"parent.Room_Crop.box.t - height"}}
center {{"width / 2"} {"height / 2"}}
filter Impulse
name Transform
selected true
xpos 55
ypos -1
}
Group {
inputs 0
name Cube
selected true
xpos -150
ypos -170
addUserKnob {20 cube_Tab l Cube}
addUserKnob {7 edges_Floating_Point_Slider l Edges}
edges_Floating_Point_Slider 32
addUserKnob {7 points_density_Floating_Point_Slider l "Points Density"}
points_density_Floating_Point_Slider 4096
}
Group {
inputs 0
name yz_w_v_Face
xpos 950
ypos -202
addUserKnob {20 face_Tab l Face}
addUserKnob {14 width_height_Width_Height_Knob l "Width / Height" R 0 100}
width_height_Width_Height_Knob {{parent.points_density_Floating_Point_Slider} {parent.edges_Floating_Point_Slider}}
}
Constant {
inputs 0
channels rgb
format "256 256 0 0 256 256 1 square_256"
name Constant
xpos 180
ypos -250
}
Reformat {
type "to box"
box_width {{parent.width_height_Width_Height_Knob.w}}
box_height {{parent.width_height_Width_Height_Knob.h}}
box_fixed true
name Reformat
xpos 180
ypos -176
}
Expression {
expr0 1
expr1 "x / (width - 1)"
expr2 "y / (height - 1)"
name Expression
selected true
xpos 180
ypos -150
}
Output {
name Output
xpos 180
ypos -124
}
end_group
Group {
inputs 0
name yz_w_h_Face
xpos 840
ypos -202
addUserKnob {20 face_Tab l Face}
addUserKnob {14 width_height_Width_Height_Knob l "Width / Height" R 0 100}
width_height_Width_Height_Knob {{parent.edges_Floating_Point_Slider} {parent.points_density_Floating_Point_Slider}}
}
Constant {
inputs 0
channels rgb
format "256 256 0 0 256 256 1 square_256"
name Constant
xpos 180
ypos -250
}
Reformat {
type "to box"
box_width {{parent.width_height_Width_Height_Knob.w}}
box_height {{parent.width_height_Width_Height_Knob.h}}
box_fixed true
name Reformat
xpos 180
ypos -176
}
Expression {
expr0 1
expr1 "x / (width - 1)"
expr2 "y / (height - 1)"
name Expression
selected true
xpos 180
ypos -150
}
Output {
name Output
xpos 180
ypos -124
}
end_group
Reformat {
type scale
turn true
name Rotate_Reformat
xpos 840
ypos -178
}
set Cf71e9400 [stack 0]
Group {
inputs 0
name xz_w_v_Face
xpos 730
ypos -202
addUserKnob {20 face_Tab l Face}
addUserKnob {14 width_height_Width_Height_Knob l "Width / Height" R 0 100}
width_height_Width_Height_Knob {{parent.edges_Floating_Point_Slider} {parent.points_density_Floating_Point_Slider}}
}
Constant {
inputs 0
channels rgb
format "256 256 0 0 256 256 1 square_256"
name Constant
xpos 180
ypos -250
}
Reformat {
type "to box"
box_width {{parent.width_height_Width_Height_Knob.w}}
box_height {{parent.width_height_Width_Height_Knob.h}}
box_fixed true
name Reformat
xpos 180
ypos -176
}
Expression {
expr0 "x / (width - 1)"
expr1 1
expr2 "y / (height - 1)"
name Expression
selected true
xpos 180
ypos -150
}
Output {
name Output
xpos 180
ypos -124
}
end_group
clone $Cf71e9400 {
xpos 730
ypos -178
selected false
}
Group {
inputs 0
name xz_w_h_Face
xpos 620
ypos -202
addUserKnob {20 face_Tab l Face}
addUserKnob {14 width_height_Width_Height_Knob l "Width / Height" R 0 100}
width_height_Width_Height_Knob {{parent.points_density_Floating_Point_Slider} {parent.edges_Floating_Point_Slider}}
}
Constant {
inputs 0
channels rgb
format "256 256 0 0 256 256 1 square_256"
name Constant
xpos 180
ypos -250
}
Reformat {
type "to box"
box_width {{parent.width_height_Width_Height_Knob.w}}
box_height {{parent.width_height_Width_Height_Knob.h}}
box_fixed true
name Reformat
xpos 180
ypos -176
}
Expression {
expr0 "x / (width - 1)"
expr1 1
expr2 "y / (height - 1)"
name Expression
selected true
xpos 180
ypos -150
}
Output {
name Output
xpos 180
ypos -124
}
end_group
Group {
inputs 0
name xy_w_v_Face
xpos 510
ypos -202
addUserKnob {20 face_Tab l Face}
addUserKnob {14 width_height_Width_Height_Knob l "Width / Height" R 0 100}
width_height_Width_Height_Knob {{parent.edges_Floating_Point_Slider} {parent.points_density_Floating_Point_Slider}}
}
Constant {
inputs 0
channels rgb
format "256 256 0 0 256 256 1 square_256"
name Constant
xpos 180
ypos -250
}
Reformat {
type "to box"
box_width {{parent.width_height_Width_Height_Knob.w}}
box_height {{parent.width_height_Width_Height_Knob.h}}
box_fixed true
name Reformat
xpos 180
ypos -176
}
Expression {
expr0 "x / (width - 1)"
expr1 "y / (height - 1)"
expr2 1
name Expression
selected true
xpos 180
ypos -150
}
Output {
name Output
xpos 180
ypos -124
}
end_group
clone $Cf71e9400 {
xpos 510
ypos -178
selected false
}
Group {
inputs 0
name xy_w_h_Face
xpos 400
ypos -202
addUserKnob {20 face_Tab l Face}
addUserKnob {14 width_height_Width_Height_Knob l "Width / Height" R 0 100}
width_height_Width_Height_Knob {{parent.points_density_Floating_Point_Slider} {parent.edges_Floating_Point_Slider}}
}
Constant {
inputs 0
channels rgb
format "256 256 0 0 256 256 1 square_256"
name Constant
xpos 180
ypos -250
}
Reformat {
type "to box"
box_width {{parent.width_height_Width_Height_Knob.w}}
box_height {{parent.width_height_Width_Height_Knob.h}}
box_fixed true
name Reformat
xpos 180
ypos -176
}
Expression {
expr0 "x / (width - 1)"
expr1 "y / (height - 1)"
expr2 1
name Expression
selected true
xpos 180
ypos -150
}
Output {
name Output
xpos 180
ypos -124
}
end_group
Group {
inputs 0
name yz_b_v_Face
xpos 290
ypos -202
addUserKnob {20 face_Tab l Face}
addUserKnob {14 width_height_Width_Height_Knob l "Width / Height" R 0 100}
width_height_Width_Height_Knob {{parent.points_density_Floating_Point_Slider} {parent.edges_Floating_Point_Slider}}
}
Constant {
inputs 0
channels rgb
format "256 256 0 0 256 256 1 square_256"
name Constant
xpos 180
ypos -250
}
Reformat {
type "to box"
box_width {{parent.width_height_Width_Height_Knob.w}}
box_height {{parent.width_height_Width_Height_Knob.h}}
box_fixed true
name Reformat
xpos 180
ypos -176
}
Expression {
expr0 0
expr1 "x / (width - 1)"
expr2 "y / (height - 1)"
name Expression
selected true
xpos 180
ypos -150
}
Output {
name Output
xpos 180
ypos -124
}
end_group
Group {
inputs 0
name yz_b_h_Face
xpos 180
ypos -202
addUserKnob {20 face_Tab l Face}
addUserKnob {14 width_height_Width_Height_Knob l "Width / Height" R 0 100}
width_height_Width_Height_Knob {{parent.edges_Floating_Point_Slider} {parent.points_density_Floating_Point_Slider}}
}
Constant {
inputs 0
channels rgb
format "256 256 0 0 256 256 1 square_256"
name Constant
xpos 180
ypos -250
}
Reformat {
type "to box"
box_width {{parent.width_height_Width_Height_Knob.w}}
box_height {{parent.width_height_Width_Height_Knob.h}}
box_fixed true
name Reformat
xpos 180
ypos -176
}
Expression {
expr0 0
expr1 "x / (width - 1)"
expr2 "y / (height - 1)"
name Expression
selected true
xpos 180
ypos -150
}
Output {
name Output
xpos 180
ypos -124
}
end_group
clone $Cf71e9400 {
xpos 180
ypos -178
selected false
}
Group {
inputs 0
name xz_b_v_Face
xpos 70
ypos -202
addUserKnob {20 face_Tab l Face}
addUserKnob {14 width_height_Width_Height_Knob l "Width / Height" R 0 100}
width_height_Width_Height_Knob {{parent.edges_Floating_Point_Slider} {parent.points_density_Floating_Point_Slider}}
}
Constant {
inputs 0
channels rgb
format "256 256 0 0 256 256 1 square_256"
name Constant
xpos 180
ypos -250
}
Reformat {
type "to box"
box_width {{parent.width_height_Width_Height_Knob.w}}
box_height {{parent.width_height_Width_Height_Knob.h}}
box_fixed true
name Reformat
xpos 180
ypos -176
}
Expression {
expr0 "x / (width - 1)"
expr1 0
expr2 "y / (height - 1)"
name Expression
selected true
xpos 180
ypos -150
}
Output {
name Output
xpos 180
ypos -124
}
end_group
clone $Cf71e9400 {
xpos 70
ypos -178
selected false
}
Group {
inputs 0
name xz_b_h_Face
xpos -40
ypos -202
addUserKnob {20 face_Tab l Face}
addUserKnob {14 width_height_Width_Height_Knob l "Width / Height" R 0 100}
width_height_Width_Height_Knob {{parent.points_density_Floating_Point_Slider} {parent.edges_Floating_Point_Slider}}
}
Constant {
inputs 0
channels rgb
format "256 256 0 0 256 256 1 square_256"
name Constant
xpos 180
ypos -250
}
Reformat {
type "to box"
box_width {{parent.width_height_Width_Height_Knob.w}}
box_height {{parent.width_height_Width_Height_Knob.h}}
box_fixed true
name Reformat
xpos 180
ypos -176
}
Expression {
expr0 "x / (width - 1)"
expr1 0
expr2 "y / (height - 1)"
name Expression
selected true
xpos 180
ypos -150
}
Output {
name Output
xpos 180
ypos -124
}
end_group
Group {
inputs 0
name xy_b_v_Face
xpos -150
ypos -202
addUserKnob {20 face_Tab l Face}
addUserKnob {14 width_height_Width_Height_Knob l "Width / Height" R 0 100}
width_height_Width_Height_Knob {{parent.edges_Floating_Point_Slider} {parent.points_density_Floating_Point_Slider}}
}
Constant {
inputs 0
channels rgb
format "256 256 0 0 256 256 1 square_256"
name Constant
xpos 180
ypos -250
}
Reformat {
type "to box"
box_width {{parent.width_height_Width_Height_Knob.w}}
box_height {{parent.width_height_Width_Height_Knob.h}}
box_fixed true
name Reformat
xpos 180
ypos -176
}
Expression {
expr0 "x / (width - 1)"
expr1 "y / (height - 1)"
expr2 0
name Expression
selected true
xpos 180
ypos -150
}
Output {
name Output
xpos 180
ypos -124
}
end_group
clone $Cf71e9400 {
xpos -150
ypos -178
selected false
}
Group {
inputs 0
name xy_b_h_Face
xpos -260
ypos -202
addUserKnob {20 face_Tab l Face}
addUserKnob {14 width_height_Width_Height_Knob l "Width / Height" R 0 100}
width_height_Width_Height_Knob {{parent.points_density_Floating_Point_Slider} {parent.edges_Floating_Point_Slider}}
}
Constant {
inputs 0
channels rgb
format "256 256 0 0 256 256 1 square_256"
name Constant
xpos 180
ypos -250
}
Reformat {
type "to box"
box_width {{parent.width_height_Width_Height_Knob.w}}
box_height {{parent.width_height_Width_Height_Knob.h}}
box_fixed true
name Reformat
xpos 180
ypos -176
}
Expression {
expr0 "x / (width - 1)"
expr1 "y / (height - 1)"
expr2 0
name Expression
selected true
xpos 180
ypos -150
}
Output {
name Output
xpos 180
ypos -124
}
end_group
ContactSheet {
inputs 12
width {{width}}
height {{"parent.edges_Floating_Point_Slider * rows"}}
rows 12
columns 1
name ContactSheet
xpos 400
ypos -82
}
set Nf74bfc00 [stack 0]
Output {
name Output
xpos 400
ypos -58
}
push $Nf74bfc00
Viewer {
frame_range 1-100
viewerProcess "sRGB (ACES)"
name Viewer1
selected true
xpos 591
ypos 107
}
end_group
EXPTool {
mode Stops
red {{curve x1 -2 x120 6}}
green {{curve x1 -2 x120 6}}
blue {{curve x1 -2 x120 6}}
name Exposure
selected true
xpos -150
ypos -144
}
Group {
name NaiveDisplayTransformPivoted
selected true
xpos -150
ypos -118
disable true
addUserKnob {20 DisplayTransformPivoted_tab l DisplayTransformPivoted}
addUserKnob {12 pv l "grey in out" t "x,y pivot for linear section"}
pv {0.18 0.1}
addUserKnob {7 m l contrast t "slope for linear section" R 0.5 3}
m 0.66
addUserKnob {7 black t "Stops below middle grey that will be mapped to display-linear 0." R -6 0}
black -6
addUserKnob {7 lin_black l "lin black" t "The calculated scene-linear black value. This value in scene-linear will be mapped to 0 in display-linear." R 0 0.1}
lin_black {{pv.x*pow(2,black)}}
addUserKnob {7 white t "Stops above middle grey that will be mapped to display maximum after compression." R 0 6.5}
white 6.5
addUserKnob {7 lin_white l "lin white" t "Calculated scene-linear value which will be mapped to display maximum after compression" R 0 50}
lin_white {{pv.x*pow(2,white)}}
addUserKnob {26 ""}
addUserKnob {6 compress_shoulder l "compress shoulder" t "enable shoulder highlight compression" +STARTLINE}
compress_shoulder true
addUserKnob {7 dlin_end l "dlin end" t "display linear end: the display linear threshold value for highlight compression" R 0.1 0.999}
dlin_end 0.3
addUserKnob {7 ps l "p shoulder" t "Slope of the shoulder compression curve." R 1 4}
ps 1
addUserKnob {6 compress_toe l "compress toe" t "compress shadows" +STARTLINE}
compress_toe true
addUserKnob {7 dlin_start l "dlin start" t "display linear start: the toe threshold for compression" R 0.001 0.5}
dlin_start 0.25
addUserKnob {7 pt l "p toe" t "Slope of the toe compression curve" R 1 4}
pt 1
addUserKnob {26 ""}
addUserKnob {6 path_to_white l "modify path to white" t "Modify path to white above display maximum. \n\nMoves colorful hues towards the achromatic axis as a function of shoulder compression amount." +STARTLINE}
path_to_white true
addUserKnob {18 path_to_white_start l "path to white start" t "Starting point for the path to white - allows adjustment for the starting point of the \"highlight desaturation\" curve"}
path_to_white_start {0 0 0}
addUserKnob {6 path_to_white_start_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {18 path_to_white_end l "path to white end" t "Adjust ending point for path to white \"highlight desaturation\" curve." +INVISIBLE}
path_to_white_end 1
addUserKnob {6 path_to_white_end_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {7 bias_path_to_white l bias t "gamma applied to path to white"}
bias_path_to_white 0.45
addUserKnob {18 huebias t "RGB modifier for path to white factor - effectively applies a skew to the hues on their path to white"}
huebias {0.7 1 {huebias.r}}
addUserKnob {6 huebias_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {6 path_to_black l "modify path to black" t "Move compressed shadow values towards the achromatic axis." +STARTLINE}
path_to_black true
addUserKnob {7 bias_path_to_black l bias t "apply power function to lerp factor"}
bias_path_to_black 0.2
addUserKnob {7 black_target l "black target" t "the target ratio to lerp towards for the black ratio.\n\nseems to effectively brighten or darken shadow contrast"}
addUserKnob {4 norm M {maxrgb "weighted power" luminance}}
addUserKnob {26 ""}
addUserKnob {6 enable_display_gamut l "display colorimetry: acescg to" t "convert from acescg to the display gamut selected" +STARTLINE}
addUserKnob {4 display_gamut l "" -STARTLINE M {rec709 p3d65 bt2020 "" "" ""}}
addUserKnob {6 clamp t "clamp to a 0 to 1 range" -STARTLINE}
clamp true
addUserKnob {7 eotf l "inv eotf" t "Apply an inverse power function to compensate for display EOTF" R 2.2 2.6}
eotf 1
}
Group {
inputs 0
name HyberbolicTangent_Sigmoid2
note_font Helvetica
xpos 24
ypos -187
disable true
addUserKnob {20 tanh_sigmoid_tab l TanHSigmoid}
addUserKnob {18 slope R 1 10}
slope 3.75
addUserKnob {6 slope_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {18 offset}
offset 0.45
addUserKnob {6 offset_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
}
Input {
inputs 0
name Input
xpos 680
ypos 510
}
Expression {
expr0 tanh(slope.r*(r-offset.r))/2+0.5
expr1 tanh(slope.g*(g-offset.g))/2+0.5
expr2 tanh(slope.b*(b-offset.b))/2+0.5
name Expression2
note_font Helvetica
xpos 680
ypos 583
}
Output {
name Output1
xpos 680
ypos 670
}
StickyNote {
inputs 0
name StickyNote1
tile_color 0x111111ff
label https://www.desmos.com/calculator/lnnxfva7w5
note_font Helvetica
note_font_size 14
note_font_color 0x7d7d7dff
xpos 791
ypos 575
}
end_group
Input {
inputs 0
name Input
xpos 730
ypos -733
}
Dot {
name Dot7
note_font "Helvetica Bold"
note_font_size 24
note_font_color 0xff
xpos 764
ypos -534
}
set N85648000 [stack 0]
Expression {
channel0 rgb
expr0 weights.0*r+weights.1*g+weights.2*b
channel1 none
channel2 none
channel3 none
name Norm_Luminance2
note_font Helvetica
xpos 950
ypos -513
addUserKnob {20 Params}
addUserKnob {35 weight_presets l "" +STARTLINE M {weights/Rec.709 "knobs this \{weights \{0.2126 \{1-(weights.0+weights.2)\} 0.0722\}\}"}}
addUserKnob {78 weights l "" -STARTLINE n 3}
weights {0.2 {1-(weights.0+weights.2)} 0.2}
}
push $N85648000
Expression {
temp_name0 m
temp_expr0 1e-8
temp_name1 mx
temp_expr1 max(r,g,b)
temp_name2 p1
temp_expr2 power
temp_name3 p2
temp_expr3 power-1
channel0 rgb
expr0 (fabs(r)<m||fabs(g)<m||fabs(b)<m)?mx:nmult*((sign(r)*pow(weights.0*fabs(r),p1)+sign(g)*pow(weights.1*fabs(g),p1)+sign(b)*pow(weights.2*fabs(b),p1))/(sign(r)*pow(weights.0*fabs(r),p2)+sign(g)*pow(weights.1*fabs(g),p2)+sign(b)*pow(weights.2*fabs(b),p2)))
channel1 none
channel2 none
channel3 none
name Norm_WeightedPower
note_font Helvetica
xpos 840
ypos -513
addUserKnob {20 Params}
addUserKnob {35 weight_presets l "" +STARTLINE M {weights/basic "knobs this \{nmult 1.0 weights \{1 1 1\} power 4\}" "weights/doug walker yellow" "knobs this \{nmult 0.83743219 weights \{1.22 1.2 0.58\} power 5\}" weights/warmer "knobs this \{nmult 0.9 weights \{0.8 1 1.2\} power 5\}" ""}}
addUserKnob {78 weights l "" -STARTLINE n 3}
weights {0.8 1 1.2}
addUserKnob {7 nmult l mult R 0.1 1}
nmult 1
addUserKnob {3 power -STARTLINE}
power 5
}
push $N85648000
Expression {
channel0 rgb
expr0 max(r,g,b)
channel1 none
channel2 none
channel3 none
name Norm_MaxRGB2
note_font Helvetica
xpos 730
ypos -513
}
Switch {
inputs 3
which {{parent.norm}}
name SwitchNorm
note_font Helvetica
xpos 730
ypos -465
}
Dot {
name Dot4
note_font "Helvetica Bold"
note_font_size 24
note_font_color 0xff
xpos 764
ypos -430
}
set N9fb68c00 [stack 0]
Expression {
expr0 m*(r-pv.x)+pv.y
expr1 m*(g-pv.x)+pv.y
expr2 m*(b-pv.x)+pv.y
name Expression1
label "Linear Section"
note_font Helvetica
xpos 730
ypos -399
}
set N9fb68800 [stack 0]
push $N9fb68800
Expression {
expr0 r<t.r||x0.r<1.0001?r:t.r+s.r*((r-t.r)/s.r)/(pow(1+pow((r-t.r)/s.r,p),1/p))
expr1 g<t.g||x0.g<1.0001?g:t.g+s.g*((g-t.g)/s.g)/(pow(1+pow((g-t.g)/s.g,p),1/p))
expr2 b<t.b||x0.b<1.0001?b:t.b+s.b*((b-t.b)/s.b)/(pow(1+pow((b-t.b)/s.b,p),1/p))
name compress2
label "Compress Shoulder"
xpos 730
ypos -352
disable {{!parent.compress_shoulder}}
addUserKnob {20 Params_tab l Params}
addUserKnob {18 t R 0 5}
t {{dlin_end}}
addUserKnob {6 t_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {18 x0 R 0 5}
x0 {{m*(lin_white-pv.x)+pv.y}}
addUserKnob {6 x0_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {18 y0 R 0 5}
y0 1
addUserKnob {6 y0_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {18 p R 1 5}
p {{ps}}
addUserKnob {6 p_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {18 s}
s {{(x0-this.t)/pow(pow((y0-this.t)/(x0-this.t),-p)-1,1/p)}}
addUserKnob {6 s_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
}
set N9fb68400 [stack 0]
MergeExpression {
inputs 2
expr0 Ar==0?0:Br/Ar
expr1 Ag==0?0:Bg/Ag
expr2 Ab==0?0:Bb/Ab
name FactorShoulder
xpos 510
ypos -346
}
Expression {
channel0 rgba
expr0 1-r
name Expression5
label Complement
note_font Helvetica
xpos 510
ypos -315
}
Expression {
expr0 min(1,max(0,(r-1)*(black.r+1)+1)*1/white.r)
expr1 min(1,max(0,(g-1)*(black.g+1)+1)*1/white.g)
expr2 min(1,max(0,(b-1)*(black.b+1)+1)*1/white.b)
name Expression7
label blackpoint
note_font Helvetica
xpos 510
ypos -279
addUserKnob {20 User}
addUserKnob {18 black}
black {{path_to_white_start} {path_to_white_start} {path_to_white_start}}
addUserKnob {6 black_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {18 white}
white {{path_to_white_end} {path_to_white_end} {path_to_white_end}}
addUserKnob {6 white_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
}
Gamma {
channels rgba
value {{bias_path_to_white}}
name Gamma1
note_font Helvetica
xpos 510
ypos -243
}
Gamma {
channels {rgba.red rgba.green rgba.blue none}
value {{huebias} {huebias} {huebias} {huebias}}
name Gamma5
label "Hue Bias"
note_font Helvetica
xpos 510
ypos -208
}
set Nc8d9000 [stack 0]
push $N9fb68c00
push $N85648000
Dot {
name Dot8
note_font "Helvetica Bold"
note_font_size 24
note_font_color 0xff
xpos 434
ypos -534
}
MergeExpression {
inputs 2
expr0 Ar==0?0:Br/Ar
expr1 Ag==0?0:Bg/Ag
expr2 Ab==0?0:Bb/Ab
name RGB_Ratios
xpos 400
ypos -434
}
set Nc8d8800 [stack 0]
Dot {
name Dot6
note_font "Helvetica Bold"
note_font_size 24
note_font_color 0xff
xpos 313
ypos -430
}
set Nc8d8400 [stack 0]
HueCorrect {
hue {sat {curve 0.9460784197 x0.8075862527 0.3313726187 x1.460000038 0.2936275005 x2.324827671 0.8058824539 x4 1 x5 1 0.9460784197 s0}
lum {curve 0.9514706135 s0 0.406862855 0.5416667461 0.9514706135 1 1 0.9514706135 s0}
red {}
green {}
blue {}
r_sup {}
g_sup {}
b_sup {}
sat_thrsh {}}
name HueCorrect2
label "Treat Reds"
note_font Helvetica
xpos 213
ypos -377
}
Invert {
channels rgba
name Invert1
note_font Helvetica
xpos 213
ypos -314
}
Merge2 {
inputs 2
operation multiply
bbox B
output rgb
name Merge8
note_font Helvetica
xpos 213
ypos -202
}
push $Nc8d8400
Merge2 {
inputs 2
operation plus
bbox B
output rgb
name Merge7
note_font Helvetica
xpos 279
ypos -139
}
push $N9fb68400
Expression {
channel0 rgba
expr0 1-r
name Expression2
label Complement
note_font Helvetica
xpos 730
ypos -286
}
set Nf5b13000 [stack 0]
Expression {
expr0 r<t.r||x0.r<1.0001?r:t.r+s.r*((r-t.r)/s.r)/(pow(1+pow((r-t.r)/s.r,p),1/p))
expr1 g<t.g||x0.g<1.0001?g:t.g+s.g*((g-t.g)/s.g)/(pow(1+pow((g-t.g)/s.g,p),1/p))
expr2 b<t.b||x0.b<1.0001?b:t.b+s.b*((b-t.b)/s.b)/(pow(1+pow((b-t.b)/s.b,p),1/p))
name compress1
label "Compress Toe"
xpos 730
ypos -250
disable {{!parent.compress_toe}}
addUserKnob {20 Params_tab l Params}
addUserKnob {18 t R 0 5}
t {{1-dlin_start}}
addUserKnob {6 t_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {18 x0 R 0 5}
x0 {{1-(m*((lin_black)-pv.x)+pv.y)}}
addUserKnob {6 x0_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {18 y0 R 0 5}
y0 1
addUserKnob {6 y0_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {18 p R 1 5}
p {{pt}}
addUserKnob {6 p_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
addUserKnob {18 s}
s {{(x0-this.t)/pow(pow((y0-this.t)/(x0-this.t),-p)-1,1/p)}}
addUserKnob {6 s_panelDropped l "panel dropped state" -STARTLINE +HIDDEN}
}
set Nf5b12c00 [stack 0]
push $Nf5b13000
MergeExpression {
inputs 2
expr0 Ar==0?0:fabs(Br/Ar)
expr1 Ag==0?0:fabs(Bg/Ag)
expr2 Ab==0?0:fabs(Bb/Ab)
name FactorToe
xpos 620
ypos -244
}
Expression {
channel0 rgba
expr0 (r-1)/(-(m*((lin_black)-pv.x)+pv.y))
name Expression4
note_font Helvetica
xpos 620
ypos -218
}
Gamma {
channels rgba
value {{bias_path_to_black}}
name Gamma4
note_font Helvetica
xpos 620
ypos -164
}
push $Nc8d9000
push $Nc8d8800
MergeExpression {
inputs 2
temp_name0 white
temp_expr0 1
expr0 Br*(1-Ar)+white*Ar
expr1 Bg*(1-Ag)+white*Ag
expr2 Bb*(1-Ab)+white*Ab
name LerpToDMax
xpos 400
ypos -203
disable {{!path_to_white}}
}
MergeExpression {
inputs 2
expr0 Br*(1-Ar)+black_target*Ar
expr1 Bg*(1-Ag)+black_target*Ag
expr2 Bb*(1-Ab)+black_target*Ab
name LerpToBlackTarget
xpos 400
ypos -165
disable {{!path_to_black}}
}
Dot {
name Dot13
note_font "Helvetica Bold"
note_font_size 24
note_font_color 0xff
xpos 434
ypos -78
}
push $Nf5b12c00
Expression {
channel0 rgba
expr0 1-r
name Expression3
label Complement
note_font Helvetica
xpos 730
ypos -201
}
Clamp {
channels rgba
maximum_enable false
name ClampMin1
note_font Helvetica
xpos 730
ypos -146
}
Merge2 {
inputs 2
operation multiply
bbox B
output rgb
name Merge6
note_font Helvetica
xpos 730
ypos -81
}
Dot {
name Dot2
note_font "Helvetica Bold"
note_font_size 24
note_font_color 0xff
xpos 764
ypos 13
}
set N8956c400 [stack 0]
ColorMatrix {
matrix {
{1.02601862 -0.02216566168 -0.003853138769}
{-0.001722972258 1.002319217 -0.0005959701957}
{-0.005109943915 -0.02163554914 1.026745677}
}
name ColorMatrix2
label "ACEScg to Rec2020"
note_font Helvetica
xpos 1060
ypos 52
}
push $N8956c400
ColorMatrix {
matrix {
{1.37933588 -0.3112868369 -0.06804962456}
{-0.06879625469 1.079957008 -0.0111605702}
{-0.002266698284 -0.04170501605 1.043971896}
}
name ColorMatrix24
label "ACEScg to P3D65"
note_font Helvetica
xpos 950
ypos 52
}
push $N8956c400
ColorMatrix {
matrix {
{1.705079317 -0.6242337823 -0.08084625006}
{-0.1297003478 1.138468742 -0.008767957799}
{-0.0241663754 -0.1246140897 1.148780584}
}
name ColorMatrix1
label "ACEScg to Rec709"
note_font Helvetica
xpos 840
ypos 52
disable {{!parent.acescg_to_bt709 x8 1}}
}
push $N8956c400
Switch {
inputs 4
which {{parent.display_gamut+1}}
name SwitchDisplayGamut
note_font Helvetica
xpos 730
ypos 130
disable {{!parent.enable_display_gamut}}
}
Clamp {
channels rgba
maximum_enable false
name ClampMin
note_font Helvetica
xpos 730
ypos 207
}
Gamma {
channels rgb
value {{parent.eotf}}
name Gamma2
label "Inverse EOTF"
note_font Helvetica
xpos 730
ypos 250
}
Clamp {
channels rgba
name Clamp1
note_font Helvetica
xpos 730
ypos 286
disable {{!parent.clamp x14 1}}
}
Output {
name Output
xpos 730
ypos 350
}
end_group
OCIOColorSpace {
in_colorspace scene_linear
out_colorspace "Output - sRGB"
name OCIOColorSpace1
selected true
xpos -150
ypos -77
}
Colorspace {
colorspace_in sRGB
name Colorspace1
selected true
xpos -150
ypos -51
}
Crop {
box {0 0 {width} {height}}
name Black_Crop
selected true
xpos -150
ypos -25
}
Crop {
box {0 0 {width} {"height * 2"}}
reformat true
crop false
name Room_Crop
selected true
xpos -150
ypos -1
}
Merge2 {
inputs 2
name Merge
selected true
xpos -44
ypos -1
}
PositionToPoints2 {
display textured
render_mode textured
P_channel rgb
detail 1
pointSize 0.5
name PositionToPoints
selected true
xpos -44
ypos 39
}
TransformGeo {
rotate {0 {curve x1 -45 x120 45} 0}
pivot {0.5 0.5 0.5}
name TransformGeo1
selected true
xpos -44
ypos 65
}
Constant {
inputs 0
channels rgb
format "512 512 0 0 512 512 1 square_512"
name Constant
selected true
xpos 66
ypos 108
}
ScanlineRender {
inputs 3
conservative_shader_sampling false
antialiasing low
motion_vectors_type distance
name ScanlineRender
selected true
xpos -44
ypos 132
}
Text2 {
font_size_toolbar 100
font_width_toolbar 100
font_height_toolbar 100
message "ACES DRT - Exposure: \[format \"%.2f\" \[value Exposure.red]]"
old_message {{65 67 69 83 32 68 82 84 32 45 32 69 120 112 111 115 117 114 101 58 32 49 46 57 55}
}
old_expression_markers {{21 24}
}
box {0 0 {width} {height}}
yjustify bottom
transforms {{0 2}
}
cursor_position 4
global_font_scale 0.21
scale {1 1}
cursor_initialised true
autofit_bbox false
initial_cursor_position {{0 512}
}
group_animations {{0} imported: 0 selected: items: "root transform/"}
animation_layers {{1 11 256 256 0 0 0.95 0.95 0 0 0 0}
}
name Text
selected true
xpos -44
ypos 158
}
Colorspace {
colorspace_out sRGB
name Colorspace
selected true
xpos -44
ypos 184
}
Write {
file D:/ADRT.####.png
colorspace matte_paint
raw true
file_type png
checkHashOnRead false
name Write1
selected true
xpos -44
ypos 210
}
Viewer {
frame 60
frame_range 1-120
viewerProcess "Raw (ACES)"
name Viewer1
selected true
xpos -44
ypos 266
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment