Skip to content

Commit

Permalink
🟦 [Nodes] Make images and color ramp repeat mirrored by default
Browse files Browse the repository at this point in the history
  • Loading branch information
JulesFouchy committed Nov 7, 2024
1 parent 2351a47 commit 9a72838
Show file tree
Hide file tree
Showing 4 changed files with 80 additions and 16 deletions.
33 changes: 33 additions & 0 deletions Nodes/10 Image/Image.clbnode.presets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"Presets": {
"Underlying container": [
{
"first": "be4532e3-7c16-42f8-b4a3-4aac99505b68",
"second": {
"Name": "Default",
"Values": [
{
"index": 16,
"data": {
"Name": "Image",
"Value": {
"Source": {
"index": 0,
"data": {
"Path": "res/images/logo.png"
}
},
"Sampler": {
"Repeat Mode": 1,
"Interpolation Mode": 9729
}
},
"Metadata": {}
}
}
]
}
}
]
}
}
42 changes: 42 additions & 0 deletions Nodes/10 Image/Video from File.clbnode.presets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"Presets": {
"Underlying container": [
{
"first": "05bb6cc4-1040-49a0-9a70-0fdb0af17c76",
"second": {
"Name": "Default",
"Values": [
{
"index": 25,
"data": {
"Name": "Video",
"Value": {
"Source": {
"index": 2,
"data": {
"Video": {
"File Path": "",
"Settings": {
"Loop mode": 1,
"Playback speed": 1.0,
"Start time": {
"Nanoseconds": 0
}
}
}
}
},
"Sampler": {
"Repeat Mode": 1,
"Interpolation Mode": 9729
}
},
"Metadata": {}
}
}
]
}
}
]
}
}
2 changes: 1 addition & 1 deletion Nodes/10 Image/Webcam.clbnode.presets.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}
},
"Sampler": {
"Repeat Mode": 0,
"Repeat Mode": 1,
"Interpolation Mode": 9729
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
}
}
],
"Wrap Mode": 0,
"Wrap Mode": 1,
"Interpolation Mode": 0
},
"Metadata": {
Expand Down Expand Up @@ -147,7 +147,7 @@
}
}
],
"Wrap Mode": 0,
"Wrap Mode": 1,
"Interpolation Mode": 0
},
"Metadata": {
Expand All @@ -170,17 +170,6 @@
"Name": "Color Gradient",
"Value": {
"Gradient": [
{
"Mark position": {
"Relative position": 0.0
},
"Mark color": {
"x": 0.002346101449802518,
"y": 0.0,
"z": 0.35913366079330447,
"w": 1.0
}
},
{
"Mark position": {
"Relative position": 0.20000000298023225
Expand Down Expand Up @@ -237,7 +226,7 @@
}
}
],
"Wrap Mode": 0,
"Wrap Mode": 1,
"Interpolation Mode": 2
},
"Metadata": {
Expand Down Expand Up @@ -283,7 +272,7 @@
}
}
],
"Wrap Mode": 0,
"Wrap Mode": 1,
"Interpolation Mode": 0
},
"Metadata": {
Expand Down

0 comments on commit 9a72838

Please sign in to comment.