Rivaldragon

Bar With Number

Jul 20th, 2026 (edited)
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.36 KB | None | 0 0
  1. {
  2. Tools = ordered() {
  3. Background1 = Background {
  4. Inputs = {
  5. EffectMask = Input {
  6. SourceOp = "Rectangle",
  7. Source = "Mask",
  8. },
  9. GlobalOut = Input { Value = 98, },
  10. Width = Input { Value = 1920, },
  11. Height = Input { Value = 1080, },
  12. UseFrameFormatSettings = Input { Value = 1, },
  13. ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
  14. TopLeftGreen = Input { Value = 1, }
  15. },
  16. ViewInfo = OperatorInfo { Pos = { 275, -16.5 } },
  17. },
  18. Text1 = TextPlus {
  19. Inputs = {
  20. GlobalOut = Input { Value = 98, },
  21. Width = Input { Value = 1920, },
  22. Height = Input { Value = 1080, },
  23. UseFrameFormatSettings = Input { Value = 1, },
  24. ["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2" }, },
  25. Wrap = Input { Value = 1, },
  26. Center = Input {
  27. Value = { 0.066608, 0.601137 },
  28. Expression = "Point(CT.Position.X + Rectangle.Width + CT.TextMargin, CT.Position.Y)",
  29. },
  30. LayoutRotation = Input { Value = 1, },
  31. TransformRotation = Input { Value = 1, },
  32. Softness1 = Input { Value = 1, },
  33. StyledText = Input {
  34. Value = "0",
  35. Expression = ": \nlocal v = CT.Progression; \nlocal inMin = 0;\nlocal inMax = 1;\nlocal outMin = CT.StartNumber;\nlocal outMax = CT.EndNumber;\n\nlocal t = (v - inMin) / (inMax - inMin);\nt = math.max(0, math.min(1,t));\n \nreturn math.floor((outMin + t * (outMax - outMin)) + 0.5);",
  36. },
  37. Font = Input { Value = "Open Sans", },
  38. Style = Input { Value = "Bold", },
  39. VerticalJustificationNew = Input { Value = 3, },
  40. HorizontalLeftCenterRight = Input { Value = -1, },
  41. HorizontalJustificationNew = Input { Value = 3, }
  42. },
  43. ViewInfo = OperatorInfo { Pos = { 385, -49.5 } },
  44. },
  45. Merge2 = Merge {
  46. Inputs = {
  47. Background = Input {
  48. SourceOp = "Background1",
  49. Source = "Output",
  50. },
  51. Foreground = Input {
  52. SourceOp = "Text1",
  53. Source = "Output",
  54. },
  55. PerformDepthMerge = Input { Value = 0, }
  56. },
  57. ViewInfo = OperatorInfo { Pos = { 385, -16.5 } },
  58. },
  59. Rectangle = RectangleMask {
  60. NameSet = true,
  61. Inputs = {
  62. Filter = Input { Value = FuID { "Fast Gaussian" }, },
  63. MaskWidth = Input { Value = 1920, },
  64. MaskHeight = Input { Value = 1080, },
  65. PixelAspect = Input { Value = { 1, 1 }, },
  66. UseFrameFormatSettings = Input { Value = 1, },
  67. ClippingMode = Input { Value = FuID { "None" }, },
  68. Center = Input {
  69. Value = { 0.047608, 0.601137 },
  70. Expression = "Point(CT.Position.X+(Width/2), CT.Position.Y)",
  71. },
  72. Width = Input {
  73. Value = 0,
  74. Expression = ": \nlocal v = CT.Progression; \nlocal inMin = 0;\nlocal inMax = 1;\nlocal outMin = CT.StartValue;\nlocal outMax = CT.EndValue;\n\nlocal t = (v - inMin) / (inMax - inMin);\nt = math.max(0, math.min(1,t));\n \nreturn outMin + t * (outMax - outMin);",
  75. },
  76. Height = Input { Value = 0.125, }
  77. },
  78. ViewInfo = OperatorInfo { Pos = { 275, -49.5 } },
  79. },
  80. CT = Custom {
  81. CtrlWZoom = false,
  82. NameSet = true,
  83. Inputs = {
  84. PointIn1 = Input { Value = { -0.100890207715134, 0.515831134564644 }, },
  85. PointIn2 = Input { Value = { -0.267062314540059, 0.399736147757256 }, },
  86. PointIn3 = Input { Value = { -0.105341246290801, 0.676781002638522 }, },
  87. PointIn4 = Input { Value = { -0.135014836795252, 0.349604221635884 }, },
  88. LUTIn1 = Input {
  89. SourceOp = "CustomTool1LUTIn1",
  90. Source = "Value",
  91. },
  92. LUTIn2 = Input {
  93. SourceOp = "CustomTool1LUTIn2",
  94. Source = "Value",
  95. },
  96. LUTIn3 = Input {
  97. SourceOp = "CustomTool1LUTIn3",
  98. Source = "Value",
  99. },
  100. LUTIn4 = Input {
  101. SourceOp = "CustomTool1LUTIn4",
  102. Source = "Value",
  103. },
  104. Position = Input { Value = { 0.047608, 0.601137 }, },
  105. EndNumber = Input { Value = 300, },
  106. TextMargin = Input { Value = 0.019, },
  107. EndValue = Input { Value = 0.715, }
  108. },
  109. ViewInfo = OperatorInfo { Pos = { 275, -82.5 } },
  110. UserControls = ordered() {
  111. StartValue = {
  112. LINKS_Name = "Start Width",
  113. LINKID_DataType = "Number",
  114. INPID_InputControl = "SliderControl",
  115. INP_Integer = false,
  116. INP_MinScale = 0,
  117. INP_MaxScale = 1,
  118. INP_MinAllowed = -1000000,
  119. INP_MaxAllowed = 1000000,
  120. INP_SplineType = "Default",
  121. },
  122. EndValue = {
  123. LINKS_Name = "End Width",
  124. LINKID_DataType = "Number",
  125. INPID_InputControl = "SliderControl",
  126. INP_Default = 1,
  127. INP_Integer = false,
  128. INP_MinScale = 0,
  129. INP_MaxScale = 1,
  130. INP_MinAllowed = -1000000,
  131. INP_MaxAllowed = 1000000,
  132. INP_SplineType = "Default",
  133. },
  134. FinalWidth = {
  135. LINKS_Name = "FinalWidth",
  136. LINKID_DataType = "Number",
  137. INPID_InputControl = "ScrewControl",
  138. INP_Integer = false,
  139. INP_SplineType = "Default",
  140. },
  141. Position = {
  142. LINKS_Name = "Position",
  143. LINKID_DataType = "Point",
  144. INPID_InputControl = "OffsetControl",
  145. INPID_PreviewControl = "CrosshairControl",
  146. CHC_Style = "NormalCross",
  147. },
  148. Progression = {
  149. LINKS_Name = "Progression",
  150. LINKID_DataType = "Number",
  151. INPID_InputControl = "SliderControl",
  152. INP_Integer = false,
  153. INP_SplineType = "Default",
  154. },
  155. StartNumber = {
  156. LINKS_Name = "StartNumber",
  157. LINKID_DataType = "Number",
  158. INPID_InputControl = "ScrewControl",
  159. INP_Integer = false,
  160. INP_SplineType = "Default",
  161. },
  162. EndNumber = {
  163. LINKS_Name = "EndNumber",
  164. LINKID_DataType = "Number",
  165. INPID_InputControl = "ScrewControl",
  166. INP_Integer = false,
  167. INP_SplineType = "Default",
  168. },
  169. TextMargin = {
  170. LINKS_Name = "TextMargin",
  171. LINKID_DataType = "Number",
  172. INPID_InputControl = "ScrewControl",
  173. INP_Integer = false,
  174. INP_SplineType = "Default",
  175. }
  176. }
  177. },
  178. CustomTool1LUTIn1 = LUTBezier {
  179. KeyColorSplines = {
  180. [0] = {
  181. [0] = { 0, RH = { 0.333333333333333, 0.333333333333333 }, Flags = { Linear = true } },
  182. [1] = { 1, LH = { 0.666666666666667, 0.666666666666667 }, Flags = { Linear = true } }
  183. }
  184. },
  185. SplineColor = { Red = 0, Green = 0, Blue = 0 },
  186. NameSet = true,
  187. },
  188. CustomTool1LUTIn2 = LUTBezier {
  189. KeyColorSplines = {
  190. [0] = {
  191. [0] = { 0, RH = { 0.333333333333333, 0.333333333333333 }, Flags = { Linear = true } },
  192. [1] = { 1, LH = { 0.666666666666667, 0.666666666666667 }, Flags = { Linear = true } }
  193. }
  194. },
  195. SplineColor = { Red = 0, Green = 0, Blue = 0 },
  196. NameSet = true,
  197. },
  198. CustomTool1LUTIn3 = LUTBezier {
  199. KeyColorSplines = {
  200. [0] = {
  201. [0] = { 0, RH = { 0.333333333333333, 0.333333333333333 }, Flags = { Linear = true } },
  202. [1] = { 1, LH = { 0.666666666666667, 0.666666666666667 }, Flags = { Linear = true } }
  203. }
  204. },
  205. SplineColor = { Red = 0, Green = 0, Blue = 0 },
  206. NameSet = true,
  207. },
  208. CustomTool1LUTIn4 = LUTBezier {
  209. KeyColorSplines = {
  210. [0] = {
  211. [0] = { 0, RH = { 0.333333333333333, 0.333333333333333 }, Flags = { Linear = true } },
  212. [1] = { 1, LH = { 0.666666666666667, 0.666666666666667 }, Flags = { Linear = true } }
  213. }
  214. },
  215. SplineColor = { Red = 0, Green = 0, Blue = 0 },
  216. NameSet = true,
  217. },
  218. MediaOut1 = MediaOut {
  219. Inputs = {
  220. Index = Input { Value = "0", },
  221. Input = Input {
  222. SourceOp = "Merge2",
  223. Source = "Output",
  224. }
  225. },
  226. ViewInfo = OperatorInfo { Pos = { 605, -16.5 } },
  227. }
  228. }
  229. }
Advertisement
Add Comment
Please, Sign In to add comment