» 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 | 276 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 | 111 downloads
v0.2 alpha, fixed a small bug, still no x64
SystemSpoutControls.zip
31.08.16 [02:28 UTC] by digitalwannabe | 76 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

~19h ago

joreg: Two #vvvv workshops this week in #berlin: Friday: Physical Computing, Saturday: Computer Vision. Tickets: upcoming-full-day-vvvv-gamma-workshops-in-berlin

~1d ago

joreg: @cznickesz also feel free to join our chat for such questions: chat

~1d ago

cznickesz: @joreg: Yeah, I´ll give it a try! Thx

~1d ago

joreg: @cznickesz: we're hoping this week. but depends on feedback. please test your project and let us know if it works.

~2d ago

cznickesz: @joreg: I should stop asking my questions so cryptic ;-) So right away: is final Beta39 hours, days or weeks away?

~2d ago

joreg: @cznickesz: the idea of an RC is exactly to make sure your projects will work with it. your last chance to report problems with b39.

~2d ago

cznickesz: So how "RC" is the "RC3"? I have to update an old project soon and I´m wondering if I should wait and directly update to Beta39

~2d ago

joreg: @takuma, the "one frame" issue was fixed in RC3 for beta39, see: beta39-release-candidate

~2d ago

Takuma: @joreg thank!! Ill try this. Are there a way to send video texture from vvvv to vl? fromimage node in vl somehow only sends 1 frame

~2d ago

cznickesz: @ravasquez thx, so I need to stop avoiding nuget in the end ;-)