Page 1 of 1

Wire: Unexpected order

Posted: Mon Feb 21, 2022 21:24
by cosmowe
Hey there,
I try to get into Wire....learning the nodes and their behavior.
The patch you see in the picture is nothing particular.... but shouldn't the left orange triangle be in front of the left white one?

source
Unbenannt.PNG
Wire 7.9.0

best wishes
cosmowe


p.s.:
would be nice if it would be possible to add wire patches as a forum attachment :)

Re: Wire: Unexpected order

Posted: Mon Feb 21, 2022 23:36
by Arvol
You mean like this?:

--begin-wire-patch--
1661.3oc6Zk0aaiCD9uRfd1zf2G4MeUfcwVrEsE6KA4AZI5XgJK4JI21rE4+9NRxWJVRVNGEncqMPRL8GGRNy2bQku64mDG67yCShy7t9lu6sHMYE7G7AdIaxWuI261Ad4IvHxAd9Ks.3Hr2sOLXORQGHI0Pp2gDuGJAOvKLFFpNRUGHo0PRNY0Izs.qiCeJPVS.a.GoQAd54lvaQEQjcgs9QmPN8ryabCPOEnnmmnFw0fpT1HN8o.MMBzzfYDLsAgY41XeWMvMnhTMJT0I.gQxVZWWWdjSYv5C3fghSBb.k+6d3heXyySCmuIuZnv3pcX4GxuGlx0dwaVM2k5Mv6K1nMv.jGdXf27jMwAknV5BuaYt20BXU9ZXP9R.gAzyey6ZDioFZXbJiKIFBGKovWbu20zgTNUXHZgxPvDALNHS+HaV0tH.VVkRZTTo.MWEfQbtXNRyHVTfUoUNqTXE7hMkKMC7g8tFWJgD+OAy8KgAtD3K8ShRRgOu.dIsXb4PkGw7xEJK7ecGcRWDkXyObPwCEEG0kgAANXAtoP2YWU.b1m2DFYyco1nq9XZnM9tHmG.k7hpQIXY+UoR9knS4AykHtPwPZqUg.wIoy84bCi7b0o618coUG3kVbZeLH9ATfya4afYuSEb4lo2Cw2OXaZftOOLOvstlv8WlDBdn6kt26r49KuZbX9USKg9vVmSjObDx6vpRKQ1GqOnNbYIQaxKU5maq7gBRaKLFF9DFCQJUCUJiAqnfoeuKX6jiQTE3vMUhQFBYBZjVOlLdljIMidtji42ud6Rt8LNOII5vIbgMJy8v9LiG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94hkTQQaGEhzPhllZcDHJm6Baqr0mMrUk8pKXPkSUuTbAVnwx1J5vttf0ve8K0ietVH+kq.5e.MtvFt64R7+m5ik+z1Au5bt.+B19dCMy.aoPaTXVX7cPdpzp+8.55Ix7GkR5I9XjVU7DDg06BSId4OqnsO92KXcn21aWcBD.8xtQtYinPOZpoRDzS2HzX9TwzILBe7aTGykHOoqesz.ZKrfsmDhejxuqmAI3xOT.MOIwZBCZeBZ0.yFfGPtcmJ8BZfqVY001mGUWcgLu58t3fpGGj92TzWLJJ8DJZWol9IhiV99GCibqocSZUcBO7v+ALqJu1E
--end-wire-patch--

Re: Wire: Unexpected order

Posted: Tue Feb 22, 2022 09:19
by Zoltán
cosmowe wrote: Mon Feb 21, 2022 21:24 but shouldn't the left orange triangle be in front of the left white one?
In Wire, the video mixer's bottom layer is the bottom inlet.

If you add slices to a patch, they get multi instance. Every slice gets it's own instance.
That will make the Slice to shape, and then the Video mixer multiple instances.
Shape render however renders a multi channel shape to a single texture, and that will be blended 4 times with each of your shapes, then the output will be merged with Alpha blend to the texture output.
Képernyőfotó 2022-02-22 - 9.17.17.png
So, your top slice, the left triangle is the top layer at the end, and below that, you see the shape render result, and below that, the previous mixer results.

If you add a shape render to the video mixer's top inlet, the mixer won't instance, the patch will be much faster, and you can mix the shapes together.
If you'd like to have the orange shapes on top, you'd need to connect those to the top inlet in the Mixer.

Re: Wire: Unexpected order

Posted: Tue Feb 22, 2022 10:14
by cosmowe
@Arvol: Yes I mean this - Would be nice if you can also tell me where to find it. Because I apparently don't see it. My apologies

@Zoltán:
Thank you for the detailed information.

Is there a way in wire to simulate a slice configuration just like "Wire Logo" option inside the "Texture In" node? For me as a wire "student" it's a bit abstract working on a Slice Patch without any values.
(My workaround for now: Strg+S :) )

Best wishes
cosmowe

Re: Wire: Unexpected order

Posted: Tue Feb 22, 2022 12:14
by bart
> it's a bit abstract working on a Slice Patch without any values

Yes this is not great at the moment, we're adding test/dummy slices to the Slice Input node in Wire in the next release, 7.10.

Re: Wire: Unexpected order

Posted: Tue Feb 22, 2022 18:05
by Arvol
cosmowe wrote: Tue Feb 22, 2022 10:14 @Arvol: Yes I mean this - Would be nice if you can also tell me where to find it. Because I apparently don't see it. My apologies

@Zoltán:
Thank you for the detailed information.

Is there a way in wire to simulate a slice configuration just like "Wire Logo" option inside the "Texture In" node? For me as a wire "student" it's a bit abstract working on a Slice Patch without any values.
(My workaround for now: Strg+S :) )

Best wishes
cosmowe
Oops, I forgot to post how lol. Sorry.

Select all nodes, then click "Copy for sharing" and just paste it into Slack, FB, or here on the forums and then people can quickly share (small to medium sized) patches.

Re: Wire: Unexpected order

Posted: Tue Feb 22, 2022 18:38
by cosmowe
Arvol wrote: Tue Feb 22, 2022 18:05 Oops, I forgot to post how lol. Sorry.
Cheers buddy!

bart wrote: Tue Feb 22, 2022 12:14 Yes this is not great at the moment, we're adding test/dummy slices to the Slice Input node in Wire in the next release, 7.10.

Image


Best wishes
cosmowe