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

SpoutControls

plugin spout control dxinterop
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 | 266 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 | 106 downloads
v0.2 alpha, fixed a small bug, still no x64
SystemSpoutControls.zip
31.08.16 [02:28 UTC] by digitalwannabe | 71 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

~3h ago

metrowave: what happened to the list of whose logged-in/on-line (above), now only showing me and guests...

~2d ago

joreg: Don't forget: This months #vvvv meetup in #berlin is happening on the 27th: 12-berlin-vvvv-meetup

~2d ago

joreg: @u7 @CeeYaa, we're investigating this...

~2d ago

tonfilm: Under the hood: We switched from #SharpDX to #Xenko math. vl-switch-to-xenko-math VL vvvv #visualprogramming #dotnet #creativecoding

~2d ago

CeeYaa: haha it was frozen for 10 seconds when I send this Shout before - using Firefox

~2d ago

CeeYaa: hui really slow speed on MainPage, Contributions ... speed in Forum quite OK

~2d ago

u7angel: mmm, the site is really slow now.

~3d ago

joreg: PSA: and we're back!

~4d ago

joreg: PSA: Thursday night starting 11pm CET vvvv.org will move servers. If all goes well we should be back soon after.

~5d ago

joreg: But first: This Friday in Berlin: Join our full day "Getting started with Generative Design Algorithms" workshop https://nodeforum.org/announcements/workshop-getting-started-with-generative-design/