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

Struct

pack
Credits: readme and bjoern for years of using and feedbacking

about

keeping your patches structured, fast and tidy
or
taming the link-spaghetti and S+R chaos

short

bundle links/pins into named groups (think Cons with multiple types married with s/r) while not giving up visual dataflow, performance and vvvvs graph evaluation strategy (only evaluate what is requested from downstream.

about/motivation

vvvv got increasingly diverse, plugins, dynamic plugins, shaders, dx11, vl,... projects grew in complexity and size as well. while we all love vvvvs capabilities for quick prototyping by patching, bigger projects are acompanied by the struggle of well structured (speak heavily nested subpatches; splitting of logic, io, animation,...) which make it harde to quickly implement some extra since it ends up in creating loads of outputs and inputs everytime (and probably creating a nice git merge conflict when not working alone). or one starts to insert Send and Receives all over the place, to keep the changes local only, making it a mess to understand and debug for someone else later and reduces reusability of single components.

struct encourages patching in components/datatypes: e.g. a GUI element has the name 'Button' and needs a transformation, text, dx11 background image, and a vl delegate (action). the rendering part uses a split, the logic part somewhere else the join. inbetween just one link. when a new property is required while working on either end, just define a new pin, the other end (or any struct node using 'Button') gets it automatically.

Features

  • bundle any types of pins together: native, c#, dx11, even from dynamic plugins or vl. system will update automatically when you change the vl or c# type. or drop in any plugin, the type will immediately be usable with struct.
  • system is evaluation aware. if no split is pulling data, the join will disable evaluation upstream. even better: this happens on a per pin basis.
  • Nil vs S+H: split nodes automatically hold the last valid output. useful for calculating initial config values (then just disabling the nodes doing that) or io data not arriving every frame. can be disabled on the node.
  • minimal data copying - optimal performance: no matter through how many subpatches and nodes struct is piped, actual moving of data is performed directly between the join input pin and the split output pin. (means this should perform better than a couple of zip and unzips in a row)
  • datatype safety is enforced via the name: no accidental splitting of the wrong data. but Getters and Setters provide a way to access and modify different structs together.

Performance and Stability

  • the only performance penalty is the one of copying between native and c# world which you also have on vl integration nodes or any plugins. as mentioned, copying is kept to an absolute minimum and performed on the faster stream interface where possible.
  • the rest of the system (gui windows, type checking, pin handling,...) only draws performance while you are actively patching and changing things.
  • the system just calls the usual plugininterface methods, no extra copying or allocation or creation of big datatypes, thus memoryfootprint is be minimal. (even the automatic s+h feature just relies on the backing buffer of the plugininterface)
  • has been in use successfully in various agencies in big projects already

License

free for non-commercial and educational use
commercial usage requires licensing - get in touch, play fair and support
(license ranges from a note of appreciation for indy use, to fair share for industrial scale)

have fun!

download

struct_pack_v2.1_vl_hotfix.7z
21.05.21 [12:05 UTC] by bjoern | 108 downloads
vl hot fix for beta_40+, removed support for vl types!
Show 1 older revisions

Older Revisions

struct_pack_v2.0.zip
22.03.19 [18:31 UTC] by woei | 325 downloads
v4 beta35.2+ intial public release

readme 28/03/2019 - 18:18

25 downloads? This is a hidden gem, you people should go check it out. Or else I hope I won't ever have to debug your patches ... :)

phlegma 28/03/2019 - 22:05

greate piece of software. I love it. Was always using to old github version. Nice improvments.

systray27 04/04/2019 - 10:45

Wow, this looks like a serious improvement to VVVV! Am just starting to check it out, curious to give more feedback once I dive deeper into it.

anonymous user login

Shoutbox

~1d ago

mediadog: @manuelgonzalvez Needed to explicitly install VLC for VLC2; I use 3.0.6-win64 for stability.

~1d ago

mediadog: @manuelgonzalvez 42 getting crashes from DX11 VLC lib after last Win10 update. Switched to VLC2 plugin OK so far.

~3d ago

sunep: Looks interesting. Can't find a price though https://en.ids-imaging.com/ensenso-3d-camera-s-series.html

~13d ago

joreg: @guest re svg export: i'm afraid not.

~13d ago

joreg: @manuelgonzalvez what's stopping you? now is the time!

~13d ago

joreg: @schlonzo glad you like it!

~14d ago

schlonzo: the new burger menu is great!

~14d ago

schlonzo: the new burger menu is great!

~14d ago

schlonzo: the new burger menu is great!

~14d ago

guest: hi guys is there any way to export svg animation?