» SpoutControls
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

SpoutControls

plugin
Credits: leadedge for spout + spoutcontrols https://github.com/leadedge/SpoutControls

about

this is a small modification of the spout sender node, which can be found in the latest alphas. spout let's you share textures between vvvv and other freeframe hosts (eg resolume), this modification will let you control your patches from that host!

    
Supported control types: text, slider, toggle, press
  
  
To use it
  • download http://spout.zeal.co/download-spoutcontrols/ and install
  • open this plugin's help patch
  • name your sender and define your controls
  • click write, this will create a text file describing the controls in C:\ProgramData\Spout
  • refer to the pdf in C:\Program Files (x86)\SpoutControls on what to do with that txt for different hosts (for resolume, see below)
  • every time you now start a patch containing the plugin with the same sender name and same number of controls a connection can be established, ie texture will be shared + values will be retrieved. just click write again.

resolume specific:

  • in your resolume video plugin folder make a folder named vfx/mysendername
  • copy the file mysendername.txt (created in the steps above) from C:\ProgramData\Spout to vfx/mysendername
  • copy SpoutController.dll from C:\Program Files (x86)\SpoutControls\FREEFRAMEGL to vfx/mysendername
  • (repeat for multiple sources)
  • mysendername now should show up in resolume as source, drop it in a layer
  • start the patch where you have defined the controls, hit write again and start sharing texture + receiving values!

note: SpoutController.dll will also try to start an executable mysendername.exe inside vfx/mysendername; so you could also copy a full vvvv into vfx/mysendername and rename vvvv.exe (+corresponding files) to mysendername.exe. a soon as you drop it in a layer vvvv will start, if you clear it vvvv will be closed. pretty neat, but maybe not too feasible for a high amount of animations. Maybe mysendername.exe could only open a v4p in a (certain(!) instance of an) already open vvvv, I might try that at some point.....

  
  
NO 64 bit VERSION ATM (vvvv will crash)....while it should work in theory, i'm not sure what's wrong.... maybe a more experienced coder can have a look....in the meantime i'll keep trying....
Source code can be found here:

the c++ dll which calls spoutControl and exports functions to be called from vvvv:
https://github.com/digitalwannabe/SpoutControls4vvvv
the vvvv plugin:
https://github.com/digitalwannabe/vvvv-sdk/tree/develop/vvvv45/addonpack/src/nodes/plugins/System/SystemSpoutSender

Licenses:

Spout is Simplified BSD licence. My code is MIT.

Please note again: no guarantees; do not copy any of my code unless you know better and only use plugin in production after enough testing!

@devvvvs: as this is just add-on functionality to the spout sender, which does not change anything of the basic features, it would be ideal to incorporate this into the original spout sender node, maybe with a config pin to turn in it on/off....no need for 2 different sender nodes I would argue....would need some code improvement/cleanup though i guess ;)

thanks to leadedge for the great support!

download

SystemSpoutControls.zip
04.09.16 [20:09 UTC] by digitalwannabe | 576 downloads
v0.3 alpha, compiled with /MT, no x64
Show 2 older revisions

Older Revisions

SystemSpoutControls.zip
01.09.16 [00:19 UTC] by digitalwannabe | 309 downloads
v0.2 alpha, fixed a small bug, still no x64
SystemSpoutControls.zip
31.08.16 [02:28 UTC] by digitalwannabe | 276 downloads
v0.1 alpha, 64bit not working

graphicuserinterface 31/08/2016 - 03:34

super massive, a game changer in numerous visual performance situations

digitalwannabe 01/09/2016 - 00:22

glad you like it!

parabola 01/09/2016 - 02:11

I love you dude XD

digitalwannabe 03/09/2016 - 14:56

and i love parabola(e)!

digitalwannabe 03/09/2016 - 15:13

for anybody having problems, ie if TTY Renderer says a dll is not found or no txt file is created in C:\ProgramData\Spout please see here plugins-calling-native-code-work-on-most-computers-on-some-they-dont and report your findings if you can....I'll update as soon as I've found out what's wrong.

digitalwannabe 04/09/2016 - 20:13

should now (hopefully) work on every x86 system, please report! thanks to leadedge for finding the bug!
....still working on x64 version....

anonymous user login

Shoutbox

~2d ago

joreg: The summer season of vvvv workshops at The NODE Institute is out: https://thenodeinstitute.org/ss24-vvvv-intermediates/

~2d ago

domj: If you happen to be in Prague, come join us at the Schema workshop on Thursday 25.4. :) https://www.facebook.com/events/395516526614988/?ti=ls

~14d ago

joreg: Postponed: Next vvvv beginner course starting April 29: https://thenodeinstitute.org/courses/vvvv-beginner-class-summer-2024/

~1mth ago

~1mth ago

joreg: The Winter Season of vvvv workshops is now over but all recordings are still available for purchase: https://thenodeinstitute.org/ws23-vvvv-intermediates/