Software developer, Sound Engineer,
Control Your show with ”Enter” - multiple Resolume servers at once - SMPTE/MTC column launch
try for free: http://programs.palffyzoltan.hu
Hey Zoltan,
oh man ...thank you very much.... The magic sauce in your patch was Float -- indices --- index .......
I was thinking all the time that "read" can only have one instance
You can read multiple values, with a multi instance index.
Using the indices is easier for me, than setting a multi instance integers.
You could also check the Size of the Slice in, and use that as max to generate Random numbers, join those together into a single cord, and use the read. That might generate the same random numbers though.
Software developer, Sound Engineer,
Control Your show with ”Enter” - multiple Resolume servers at once - SMPTE/MTC column launch
try for free: http://programs.palffyzoltan.hu
Zoltán wrote: ↑Mon Mar 21, 2022 15:19
You can read multiple values, with a multi instance index.
Using the indices is easier for me, than setting a multi instance integers.
You could also check the Size of the Slice in, and use that as max to generate Random numbers, join those together into a single cord, and use the read. That might generate the same random numbers though.
Hey there.... I've got a follow up question to this. In the upper case, is there any option for me in wire to change the instance-count of a node with for example a Int-In or so?
Dynamic instancing only works for Slice in currently. Adding slices in Resolume, all following nodes will behave like if you'd set the slice in in Wire manually to different instance count.
I'm guessing you'd like to be able to choose a different count of random slices, right?
That I'd do with reading the max amount of slices I want to support, then render the ones which are not needed either off screen, transparent, or very small.
Reading 10 items from a smaller set like 3 (0-2) can be done two ways, with the Warp setting.
Repeat will loop back to first item at index 3, then read the second again at 4.
Clamp will read the last item repeatedly with higher indexes.
Software developer, Sound Engineer,
Control Your show with ”Enter” - multiple Resolume servers at once - SMPTE/MTC column launch
try for free: http://programs.palffyzoltan.hu
Zoltán wrote: ↑Thu Mar 24, 2022 12:10
That I'd do with reading the max amount of slices I want to support, then render the ones which are not needed either off screen, transparent, or very small.
Reading 10 items from a smaller set like 3 (0-2) can be done two ways, with the Warp setting.
Repeat will loop back to first item at index 3, then read the second again at 4.
Clamp will read the last item repeatedly with higher indexes.
With the clamp the last instance indexes just stays at a value. So the last slice is rendered multiple times over another... for my use case that is not a problem. So no need to render them tiny or transparent. ...I guess
Unbenannsdt.PNG (14.15 KiB) Viewed 4531 times
Thanks Zoltán for pointing me in the right direction.... works like a charm.
Maybe also good to mention is that since this topic has been created we worked on attribute flow.
Meaning that you can set the amount of instances to read through an input/inlet now.