Instance Counts and some thoughts on first use

Post your awesome Wire patches here, share tutorials
Post Reply
cat
Posts: 151
Joined: Fri Oct 08, 2004 11:03

Instance Counts and some thoughts on first use

Post by cat »

Could do with a way of setting the instance counts of nodes from a variable, rather in a box per node, is there a way of doing that?
Also in the Random node help patch, the trigger is set to 50, and there seems to be no way of changing that no matter whether you disconnect the output, or change the instance counts of the random nodes in it.
Other obstacles so far, map with mirror for over the input max would be nice (or a wrap mirror clamp variation)
Is there anyway of writing your own nodes?
I'd really like some 3d in there even if it sticks with planes not objects, is that on the cards?

User avatar
Arvol
Posts: 2893
Joined: Thu Jun 18, 2015 17:36
Location: Oklahoma, USA

Re: Instance Counts and some thoughts on first use

Post by Arvol »

cat wrote: Wed Aug 23, 2023 14:02 Could do with a way of setting the instance counts of nodes from a variable, rather in a box per node, is there a way of doing that?
What are you trying to instance?
If you use an 'Int In' node and set the 'Flow' type to 'Attribute', you can now modify things like Instances. You will need to expose those parameters by right clicking on the node then moving your mouse over to the 'Visibility' part of the the contextual menu, towards the bottom.

You can also change the instance count by adding in more inputs to a node using a 'Join' node to instance inputs.

cat wrote: Wed Aug 23, 2023 14:02 Also in the Random node help patch, the trigger is set to 50, and there seems to be no way of changing that no matter whether you disconnect the output, or change the instance counts of the random nodes in it.
I couldn't find the help patch with a Trigger input. Could you take a screenshot for reference?

cat wrote: Wed Aug 23, 2023 14:02 Other obstacles so far, map with mirror for over the input max would be nice (or a wrap mirror clamp variation)
+1
Here's a 'work around' if you want to call it that. Where it takes the current input state along with a 10 seconds buffer/history to find what the max should be. You can increase the instance count from 10 to whatever, it's just more nodes.

Image

cat wrote: Wed Aug 23, 2023 14:02 Is there anyway of writing your own nodes?
I'd really like some 3d in there even if it sticks with planes not objects, is that on the cards?
I don't know about custom nodes, but the ability to sub patch, or have folders/groups is on the road map.

3D is also on the roadmap, just no ETA for either of these.

cat
Posts: 151
Joined: Fri Oct 08, 2004 11:03

Re: Instance Counts and some thoughts on first use

Post by cat »

Create a random node, and click example in the node panel, and you get a trigger with a 50 instance count, that if you detach, you can see it has a list in its input, but you can't change the count.
ss.png
The IntIn needs to be set to event, but now I see a repeat node (in the help patch), which looks useful, thanks

User avatar
Arvol
Posts: 2893
Joined: Thu Jun 18, 2015 17:36
Location: Oklahoma, USA

Re: Instance Counts and some thoughts on first use

Post by Arvol »

I'm getting something different under the Random Node's tut's
Image

Can you create a 'Trigger In' node then connect that to an 'Expand' Node?

User avatar
MarkyMark
Team Resolume
Posts: 116
Joined: Thu Feb 20, 2020 09:40
Location: Groningen

Re: Instance Counts and some thoughts on first use

Post by MarkyMark »

Question for both Cat and Arvol: which versions of Wire are you running. It seems that Cat is using an older version, I've updated the Random example recently to the version Arvol is seeing.

Post Reply