A texture buffer with an insert pin

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

A texture buffer with an insert pin

Post by cat »

Is there a texture buffer that I can read frames from via index, but I can choose when to add frames, or stop them being added? A buffer with an insert pin and clear I guess? In vvvv this would be a queue node

tijnisfijn
Team Resolume
Posts: 299
Joined: Fri Dec 06, 2019 00:01

Re: A texture buffer with an insert pin

Post by tijnisfijn »

i think you mean the Stack Node.

Zoltán
Team Resolume
Posts: 7483
Joined: Thu Jan 09, 2014 13:08
Location: Székesfehérvár, Hungary

Re: A texture buffer with an insert pin

Post by Zoltán »

You can build your own texture buffer too, with write, shift, and delay. The buffer size can be set via the Delay instance count.
Képernyőfotó 2024-06-24 - 11.19.15.png
--begin-wire-patch--
1008.3oc6XssaiaCD8WofOKsPj5teSw1AXeYKP6Br.MvnfVh1lsxjpTTNIMH+6cHksjRrri8ls.6VT+fMEwLCmKmyng9ITtTHX4ZtTTilb2SnUJ4VXA1AIazUMZOzBGjVBaQbLBqobASgV7rSmrjik02AwEs6LPP+iEDeJi5cP1ghtiV1vdgXi3mAFSVV1FTfvK16K+rp.NCvxvFaYZJZxSHZidiD1Dg.knZ1Zo5QzDQSYoCpfUUJebKSn+LUsloMxuTQE4a.4i+.N8CXPKAcKCd9KbECdZGSUaNUPzsz+vX4X3v3ByJbjCphpMp687yF6Wmq3UVuz5.E75pR5iep0hvF7B3v4q3F2FkfoEIAQotr37B2f7jT2kA4T2jHVDNmF4sLL.zojmyD0ra4k6Mx9M5s5VJurckTwWyEzxuQwWZW7gMw2e0PK4ZHc5SRBgXWwpkkM58pugwWuANSrWBTpumWnM5kR7.Mqo6X+63S5MMaWJ5R.Mp8K1wDEs3.PHA6A8mjErOVflDBOBKqMV2yhXzZEeYitcqUkx6M+perx3Q1GO.Smfp4qgrqwjbQsFhhVk1KLW.3Mnz1Iu0CWJaDE0CyPIj97iOjqd.MI.C+BYVRZBnRdIs1pAuvjkhiRiIQgt2PxHtASwScSlFL0kjhCmEmLcZx7zgYMr0Bx7+DzcGf3jHK+wlMVAehndd1srgft8fL7oAghFxXMJFonOXLbHS7rgW.nXf1MHG3zlnVzUI+bq9+zGEnA0neeGuluzfi0pFFXK7wEftlGtEbfpV21G6z4XeC9pWoKs90qQqj8Qt4mdM5SD1hdA6gKzuvcxeotjcmqv5sxecV+JB16UzpJtX84bCu2FfmFZA3QQQuM.OKd1L.fmF3lFMGVkEj4GGFMOKJaH.m7U.v6emzYA42YeSw2aes3.V570htkWGMtqPeDO5HZhy3zyWfzGgl7Br5Kfhif56ah7EEWyNa+CxOV8OjqVUyzW3YLJyJLYDlUrkYEfIWLyJDmM2ON629elUWU4MeOdOg4qlkLr92Cy+0M7U5yBy8eOyoXFk95dI2ELYik0X1UUIKoGFA7JmCx26jfYBN5zf4falO2MHw+V2zaIIt3axBukfwo9yt48Bl2eGmeHQxuZ1rg0FGTWq4d3vvRcOZbFCtwxYQiAi0z8v0yttttcZc4sc6T46l41Zk97tygi4ZXMduugvF4UEoooV1kOgbECgEN+a2PXc2h++tSgcpYqdMi70n+iA2NmfWM53VcT5WA06Y1+BiVbFh8ysWnuQ015GdrgaKZf1J6+sBD3s2RE99ukl+sFCYol0USuCYJ49HyE6LCmY5U.8k9GP2m+B1
--end-wire-patch--
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

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

Re: A texture buffer with an insert pin

Post by cat »

Thanks, I think I can make that work for me!

User avatar
Sjan Top
Posts: 65
Joined: Mon Dec 04, 2017 14:55
Location: Nederland

Re: A texture buffer with an insert pin

Post by Sjan Top »

Thanks, i was wandering how i could stack delay's

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

Re: A texture buffer with an insert pin

Post by MarkyMark »

phpBB [video]

User avatar
Sjan Top
Posts: 65
Joined: Mon Dec 04, 2017 14:55
Location: Nederland

Re: A texture buffer with an insert pin

Post by Sjan Top »

@MarkyMark

thx, i wil play around with your ringbuffer version.
looks like your way i be able to change the number of instances.
With the delay node that is not possible

User avatar
Sjan Top
Posts: 65
Joined: Mon Dec 04, 2017 14:55
Location: Nederland

Re: A texture buffer with an insert pin

Post by Sjan Top »

I played around with the Ringbuffer from the Youtube tutorial and it works very nice.
The use of the Step of the Sequence to is very nice to create a staggered effect. But it leaves allot of empty instances. Is there a option/way to reduce the amount of instances, to remove the 'empty' instances?

In the patch below the Ringbuffer outputs 60 instances(frames) with the step of 10 from the Sequence the Read-node only selects the first 6 indexes in range of the Ringbuffer (0-10-20>60). Resulting in only 6 frames renderd but 60 instances active. It would be nice to reduce the instance number to 6
Attachments
Alpha Trail.wire
(259.27 KiB) Downloaded 957 times
Untitled.jpg

User avatar
Sjan Top
Posts: 65
Joined: Mon Dec 04, 2017 14:55
Location: Nederland

Re: A texture buffer with an insert pin

Post by Sjan Top »

Time flies when you nodding patches,

Here is a update for Instancing framebuffers.
This version is not dumping the intermediate frames in your output.
And the mesh node is faster for rendering spacial transformations.
Al in al a big performance boost,

* be aware of strange aspect ratios, the logic for get the right rectangle size is magic to me(match patch size).
Attachments
Alpha Trail.wire
(249.86 KiB) Downloaded 343 times
Untitled.jpg

Christoph
Posts: 161
Joined: Wed Jun 02, 2010 09:58

Re: A texture buffer with an insert pin

Post by Christoph »

Sjan Top wrote: Thu Oct 10, 2024 14:39 * be aware of strange aspect ratios, the logic for get the right rectangle size is magic to me(match patch size).
@Sjan Top - here is my solution for dealing with strange aspect ratios - the main rule here is that always the shorter edge = 1, and the longer edge, be it width or height is some number >1:
Screenshot 2024-08-31 at 08.45.33.png
--begin-wire-patch--
1092.3oc4X00bhaCE8uRF8Llpur9HuQRfs6Ka6Cc59v1LcjsEfZM1Ta4rIMC+22qrSLl.gDllN6NS3APV9pikNmy8JKtGkVVTXS8txhZz4e4dz7pxUPC7HTYieciGitdDxWBcEOBUay6hEc8lQ8wxGg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