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


plugin directx GUI
Credits: mino, The AntTweakBar library: Philippe Decaudin, and this forum for reference C# code.


It's finally here! New GUI plugin for vvvv is introduced.

AntTweakBar is a simple and easy-to-use GUI library for 3D graphic applications.
You can add/remove variables and create group few steps.

This plugin is under development. any requests and bug reports welcome.


  • no more limitation of the number of variables
  • variables saves until delete TweakBar node
  • can use only for one renderer

Known Issues

  • keyboard input with long press is not support yet

Future Deployment

  • support more parameters for tweakbar and variables

Change Log

2012.2.14 (v0.91)

  • support full-screen mode
  • fixed renderer re-size bug
  • no more output NIL if disconnect and connect layer out again

2012.12.25 (v0.92)

  • fixed fixed error when using with >beta28

2014.6.9 (v1.0)

  • re-write plugin with 100% C#
  • support save & load tweakbar
  • new variable Types
    • Button: like a Bang
    • Enumerations: like an Enum
  • new nodes
    • Event: control Mouse, Keyboard, Window Size change (remove these pins from TweakBar node)
    • GetEnum: get Enum index and string from TweakBar
    • Writer: save tweakbar status & variables as text file
    • SetVariable: set variables & update GUI from patch
  • support across multi-monitor when /dx9
  • no more limitation of number of variables
  • TweakBar node outputs Transform Out. it is useful for custom background with Quad
  • improve keyboard input


source code available on github. (ver1.0 will coming soon!)


AntTweakBar_1.0.zip - 08.06.14 [17:07 UTC] by mino | 579 downloads
notes: added new features, build for beta32

other/older revisions

AntTweakBar_0.92.zip - 25.12.12 [09:18 UTC] by mino | 543 downloads
notes: fixed error >beta28
AntTweakBar_0.91.zip - 14.02.12 [11:27 UTC] by mino | 495 downloads
notes: renderer re-size bug fixed and support full-screen mode
AntTweakBar_0.9_fixed.zip - 12.02.12 [07:35 UTC] by mino | 555 downloads
notes: compile with Release mode

guest 10/02/2012 - 19:42


lasal 10/02/2012 - 20:28

great job, but unfortunately it doesn´t work for me.
red node even if i throw it on the patch window.

u7angel 11/02/2012 - 01:02

same here, red nodes

lightizm 11/02/2012 - 01:42

Thanks! mmm... Looked red node.

mino 11/02/2012 - 02:35

strange. everyone with beta27? ver0.9 will only work with b27.
what TTY reports?

everyoneishappy 11/02/2012 - 03:22

This looks like it will be very very handy.
Red atm on b27 for me too,
tty reads:

00:00:16 ERR : System.IO.FileNotFoundException: Could not load file or assembly 'AntTweakBarNodes.dll' or one of its dependencies. The specified module could not be found.
File name: 'AntTweakBarNodes.dll'

   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
   at System.Reflection.Assembly.LoadFrom(String assemblyFile)
   at VVVV.Hosting.Factories.DotNetPluginFactory.CreatePlugin(INodeInfo nodeInfo, IPluginHost2 pluginHost)
   at VVVV.Hosting.Factories.DotNetPluginFactory.CreateNode(INodeInfo nodeInfo, IInternalPluginHost pluginHost)
   at VVVV.Hosting.Factories.AbstractFileFactory`1.Create(INodeInfo nodeInfo, INode host)
   at VVVV.Hosting.HDEHost.CreateNode(INode node)
everyoneishappy 11/02/2012 - 03:23

sorry for the slaughter house formatting :P

u7angel 11/02/2012 - 03:28

same here

mino 11/02/2012 - 04:00

that message means couldn't load native AntTweakBar.dll. please check security settings.
at christmas-pack-2011 contribution comment,

jonferran said
Right click on all the .dll files that come with the pack, including the sanford ones, and click properties. You will notice a message that says:

Security: This file came from another computer and might be blocked to help protect this computer

Just click the button next to the message that says "Unblock" and you are good to go. You have to do it for all the files in nodes/plugins and the sanford .dlls individually, but after that the nodes shouldn't be red.

m4d 11/02/2012 - 04:35

this looks very nice. thanks for contributing!

unfortunately i have the same problem as the others. my security settings are doublechecked so that should not be the problem..

u7angel 11/02/2012 - 11:30

not helping here either :/

joreg 11/02/2012 - 15:31

just works for me. crazyshit...

what i did:

  • extracted \AntTweakBar_0.9 to ...\Desktop\contributions\plugins
  • started beta27
  • opened root (ctrl+r)
  • added ...\Desktop\contributions to path
  • created node TweakBar and checked its helppatch

great work mino!

lasal 11/02/2012 - 16:42

Hi Joreg,

following your steps it doesn´t work for me.
i´m on xp so the security issue is not related to this problem, as i know...

mino 11/02/2012 - 16:59


Sorry for the confusion:-( I should try with another win pc.
please wait until next info.

mino 12/02/2012 - 08:37

OK! I found problem.
my VS2010 compile mode was Debug. change Release mode and re-build, it works with xp.

if failed with win7, it will dll security block.

please try again;-)

androsyn 12/02/2012 - 13:47

compliments! but still doesn't work for me too

u7angel 12/02/2012 - 13:50

on win7 it was the same problem, not the security lock. it does work now. thank you very much for your work.

i bet, if you release a dynamic plugin instead of binaries, people can help each other, finding errors and bugs.

cheers :)

mino 12/02/2012 - 15:50

oh, not solved yet...

true. this time writting plugin with c++/cli not c#.
first of all, please give me few days for upload VS project to github. (not vvvv-sdk)
also I'd like to try dynamic plugin version someday:-)

elliotwoods 12/02/2012 - 16:22

runs for me on 27.1
would be great for GUI's if we can get mouse events upstream in any Layer connected to the renderer

bo27 12/02/2012 - 16:32


m4d 12/02/2012 - 18:06

running here now! (beta 27, win7 x64) :)

edit: on changing the renderer to second monitor it poofs with logging this to the console:

00:06:15     : I am from DestroyDeviceData
00:06:15  -  : AsDesktop: 1600 x 1200
00:06:15     : I am from CreateDeviceData
00:06:15     : I am from UpdateDeviceData
androsyn 13/02/2012 - 10:41

yes, running fine on b27

u7angel 13/02/2012 - 15:23

can't wait to see renderer-size and fullscreen "bug" fixed. will give it a proper testing then. keep up the good work, mino.

mino 14/02/2012 - 12:44

uploaded v0.91.
support full-screen mode and fixed renderer re-size bug.

great! also I forgot commentout some log messages (I am from...). now hide them.

thanks, please try new version.

now, prepare for share code;-)

sunep 14/02/2012 - 13:09

perhaps it is me, but I can not get GetVariable to work not when I add GetVariable to the TweakBar helppatch and not in the GetVariable help patch.

the resize works fine now, I did however get some funky behavior with both help patches open

u7angel 15/02/2012 - 00:41

new version works well here.

androsyn 15/02/2012 - 15:40

i noticed that if i work windowed on 1st screen and drag to 2nd screen, the GUI disappears, leaving only the cursor (on b27), anyone else?

m4d 15/02/2012 - 18:17

@mino: really nice. thanks a bunch!

@androsyn: yeah, reported that in my 2nd post. you could always just reset the node by alt-rightclicking it, but it would ofcourse be better to fix this in the long run..

lasal 19/02/2012 - 19:19

It works now for me,
Version 0.91
Thanks mino, great contribution ;)

mino 20/02/2012 - 08:47

yes, using with multiple renderer will not stable. i think it is library limitation.

@androsyn & @m4d
i didn't test with multi-screen yet. thanks report!

androsyn 21/02/2012 - 14:10

ya great

tgd 02/06/2012 - 19:09

really helpful and easy to work with!

Is it possible to have a bang button?
Is it possible to get the current size and position of the tweakbar?

mino 04/06/2012 - 03:19

buttons and get status of bar not supported yet.

original tweakbar lib support buttons, so it's possible. toggle button should first, then i will try bang one.

get size and position is also available. for this i should create new node something like Info.

please wait till the next release!

tgd 04/06/2012 - 19:34

cool, looking forward..thanks
hope you can look into radio buttons too :)

bjoern 29/11/2012 - 16:37


doesn't work with vvvv_45alpha28.5.
Throws the following error when opening one of the help-patches and the nodes are red.

Exception class: EClrException
Exception message: Could not load type 'VVVV.PluginInterfaces.V2.ISpread' from assembly 'VVVV.PluginInterfaces, Version=2.0.4703.37104, Culture=neutral, PublicKeyToken=null'.
Exception address: 00000000.
robe 30/11/2012 - 12:33

doesn't work also on beta 28.1 for me...


Could not load type 'VVVV.PluginInterfaces.V2.ISpread' from assembly 'VVVV.PluginInterfaces, Version=2.0.4622.33795, Culture=neutral, PublicKeyToken=null'.

I cannot attach the .log, but i don't want to post it here and mess up the formatting of this page so...


mino 02/12/2012 - 09:25

thanks report. I'll check it.

Elias 02/12/2012 - 17:31

feel free to ask if you have any questions how to get your work into the addonpack and therefor automatically being built by our build server.

the error people report here comes from an interface renaming. the non generic ISpread interface was moved to VVVV.PluginInterfaces.V2.NonGeneric.ISpread as it conflicted with the generic ISpread in c++ if i remember right.

mino 25/12/2012 - 10:25

sorry for late update, now v0.92 works with beta28 or 29. (under 27 not working:(

thanks. I'm not familiar with git, but I will try...

Westbam 27/12/2012 - 15:17

Hoy smoke, missed this one, but this is a gamechanger for quick patching some GUI elements.

Thank you a million!!

In full screen mode the keyboard shortcuts dont seem to work. (beta29).
It seems like the Alpha value of the color is add at the end of the process, it 'jumps on'. but since I use coloralpha=false for my lights, I don't mind.

Minor Wishlist:
Use a texture (alpha enabled) as background.
Add a parameter to hide the colormode picker.
A way to scale the menu from within vvvv.
When disabled we still see the help and shortcuts menu.

catweasel 16/01/2014 - 16:03

This great, but how to set variables!

mino 18/01/2014 - 09:32

hi cat,

just bang Add pin after set type and name.
please check help patch!

catweasel 18/01/2014 - 12:04

I get that, but need to set what the variables values are when they get set too, otherwise your always starting from scratch and not tweaking!

mino 19/01/2014 - 14:50

that's not support yet. I recognize that I should re-write this plugin and support more useful features.

AndyC 15/04/2014 - 20:52

Hi Mino, this is a brilliant plugin, thanks for your effort, did you find any time to develop a way to save values?

mino 17/04/2014 - 02:40

coding new AntTweakBar plugin right now.
it has SetVariables, Writer, Reader node and written in C#!

but I need more time to release, so please waiting ;)

m4d 17/04/2014 - 17:02

@mino: sounding very nice!

metrowave 19/04/2014 - 14:02

Thanks mino, very useful and attractive plugin!

mino 08/06/2014 - 17:45

hi all,
please test & enjoy with plugin ver 1.0!
it has so many new features ;)

of course please submit additional requests.

anonymous user login


~13h ago

drehwurm: Nevermind... my fault.. had an old DX11 pack installed

~13h ago

drehwurm: Nevermind... my fault.. had an old DX11 pack installed

~13h ago

drehwurm: PointEditor (DX11 2d) help needs a checkup. Replace Renderstate with Rasterizer?

~1d ago

joreg: @mediadog: indeed, fixed that!

~1d ago

mediadog: @microdee @joreg Aha! I had glanced at that list, but assignment was lurking beyond the scrollbar. Athankew!

~1d ago

joreg: first-come-first-serve tickets are now sold out except the "delegate" ones. others are still available from here: https://nodeforum.org/journal/node17-tickets/

~1d ago

~1d ago

microdee: @mediadog: default is set via assignment (equal sign)

~2d ago

mediadog: No default for effect parameters, just min and max?

~2d ago

microdee: regular *fcfs tickets for #node17 are already sold out, and non lowered regular ticket isn't available straight from main page