A small unsexy addition that came with v8.4 [2020] that actual could be a big thing
variables can now hold strings
Set [capture] like this
set 'test1' `get_text 'hello'`
set 'test2' `get_browsed_song "artist"`
And you can compare just like any other variable
prove it with custom_button led logic
param_equal `get_var test1` 'hello' ? on : off
check what the var actually is with this as a custom_button name
`get_var test1`
or inspect with the var list viewer
var_list
I'll post more as I figure any nuances
variables can now hold strings
Set [capture] like this
set 'test1' `get_text 'hello'`
set 'test2' `get_browsed_song "artist"`
And you can compare just like any other variable
prove it with custom_button led logic
param_equal `get_var test1` 'hello' ? on : off
check what the var actually is with this as a custom_button name
`get_var test1`
or inspect with the var list viewer
var_list
I'll post more as I figure any nuances
发表时间 Tue 24 Sep 19 @ 10:37 am
Hi, a quick, question -
I want to be able to turn on a specific shader (eg: "geometry") and then control transparency in the poi editor.
I tried effect_string "shader" 1 "geometry" & effect_slider "shader" 1 +0% but they do not work for me.
can anyone advise?
Tks
I want to be able to turn on a specific shader (eg: "geometry") and then control transparency in the poi editor.
I tried effect_string "shader" 1 "geometry" & effect_slider "shader" 1 +0% but they do not work for me.
can anyone advise?
Tks
发表时间 Wed 30 Oct 19 @ 4:11 am
As locodog said previous page:
Button 1 : show position & size selection tool
Button 2 : AutoChange
Button 3 : BeatMove
Slider 1 : Shader selection
Slider 2 : Transparency
String 1 : Indexed name ... the one on Shadertoy
String 2 : Prety name ... the one we understand
Only shader selection (slider 1) reflect in the GUI, all other actions are not reported
however transparency, BeatMove and AutoChange are effective even not updated in the gui
NOT working anymore ?
When a shader or folder is specified by any of its name , the string is affected, querying them gives the changed value, but nothing apply
maybe some extra action is needed or syntax change ?
for transparency use :
deck master effect_slider 'shader' 2 50%
for a shader...
deck master effect_slider 'shader' 1 12%
it is working but have to know the relative position in the list "All"
Don't play too much with it actually.. it crashed some of my PC just using it ... VDJ still up but WindowManager totally broken.. and another one got BSOD
was working fine before last summer
Button 1 : show position & size selection tool
Button 2 : AutoChange
Button 3 : BeatMove
Slider 1 : Shader selection
Slider 2 : Transparency
String 1 : Indexed name ... the one on Shadertoy
String 2 : Prety name ... the one we understand
Only shader selection (slider 1) reflect in the GUI, all other actions are not reported
however transparency, BeatMove and AutoChange are effective even not updated in the gui
NOT working anymore ?
When a shader or folder is specified by any of its name , the string is affected, querying them gives the changed value, but nothing apply
maybe some extra action is needed or syntax change ?
for transparency use :
deck master effect_slider 'shader' 2 50%
for a shader...
deck master effect_slider 'shader' 1 12%
it is working but have to know the relative position in the list "All"
Don't play too much with it actually.. it crashed some of my PC just using it ... VDJ still up but WindowManager totally broken.. and another one got BSOD
was working fine before last summer
发表时间 Wed 30 Oct 19 @ 8:25 am
I've reported effect string not working but the "nudge" of slider 1 [shader select]workaround works here
发表时间 Wed 30 Oct 19 @ 9:50 am