• Home
  • Documentation
  • Forum
  • Blog
  • Users
    • Map
    • Userlist
    • Businesses
    • Userpages
    • Connections
  • Contributions
    • All
    • Store
  • Downloads
    • vvvv beta
    • vvvv beta previews
  • Store
Show / Hide Table of Contents

AntTweakBar

Author: mino
Date: 10 Feb, 2012
Category: plugin
Credits:

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

Download

64bit

3-AntTweakBar_1.0.zip
08 Jun, 2014 - 15:07
added new features, build for beta32
2-AntTweakBar_0.92.zip
25 Dec, 2012 - 08:18
fixed error >beta28
1-AntTweakBar_0.91.zip
14 Feb, 2012 - 10:27
renderer re-size bug fixed and support full-screen mode
0-AntTweakBar_0.9_fixed.zip
12 Feb, 2012 - 06:35
compile with Release mode

Description

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.

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

Hints

  • 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

source code available on github. (ver1.0 will coming soon!) https://github.com/mino218/vvvvPlugins

Comments

Comments are no longer accepted.
Please create a new topic in the vvvv beta forum to discuss this contribution.
guest
10 Feb, 2012 - 17:42

cool:)

lasal
10 Feb, 2012 - 18:28

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

u7angel
10 Feb, 2012 - 23:02

same here, red nodes

lightizm
10 Feb, 2012 - 23:42

Thanks! mmm... Looked red node.

mino
11 Feb, 2012 - 00:35

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

everyoneishappy
11 Feb, 2012 - 01: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 Feb, 2012 - 01:23

sorry for the slaughter house formatting :P

u7angel
11 Feb, 2012 - 01:28

same here

mino
11 Feb, 2012 - 02:00

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

quote:jonferran: 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 Feb, 2012 - 02: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 Feb, 2012 - 09:30

not helping here either :/

joreg
11 Feb, 2012 - 13: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 Feb, 2012 - 14: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 Feb, 2012 - 14:59

everyone,

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

mino
12 Feb, 2012 - 06: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 Feb, 2012 - 11:47

compliments! but still doesn't work for me too

u7angel
12 Feb, 2012 - 11: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 Feb, 2012 - 13:50

oh, not solved yet...

@u7angel 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 Feb, 2012 - 14:22

great! 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 Feb, 2012 - 14:32

+5

m4d
12 Feb, 2012 - 16: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 Feb, 2012 - 08:41

yes, running fine on b27 :)

u7angel
13 Feb, 2012 - 13: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 Feb, 2012 - 10:44

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

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

@u7angel thanks, please try new version.

now, prepare for share code;-)

sunep
14 Feb, 2012 - 11: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
14 Feb, 2012 - 22:41

new version works well here.

androsyn
15 Feb, 2012 - 13: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 Feb, 2012 - 16: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 Feb, 2012 - 17:19

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

mino
20 Feb, 2012 - 06:47

@sunep 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 Feb, 2012 - 12:10

ya great

tgd
02 Jun, 2012 - 17: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 Jun, 2012 - 01:19

@tgd 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 Jun, 2012 - 17:34

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

bjoern
29 Nov, 2012 - 14:37

hello,

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 Nov, 2012 - 10:33

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

/showexceptions

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...

bye

mino
02 Dec, 2012 - 07:25

hi, thanks report. I'll check it.

Elias
02 Dec, 2012 - 15:31

@mino 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 Dec, 2012 - 08:25

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

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

Westbam
27 Dec, 2012 - 13: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 Jan, 2014 - 14:03

This great, but how to set variables!

mino
18 Jan, 2014 - 07:32

hi cat,

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

catweasel
18 Jan, 2014 - 10: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 Jan, 2014 - 12:50

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

AndyC
15 Apr, 2014 - 18: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 Apr, 2014 - 00:40

@AndyC 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 Apr, 2014 - 15:02

@mino: sounding very nice!

metrowave
19 Apr, 2014 - 12:02

Thanks mino, very useful and attractive plugin!

mino
08 Jun, 2014 - 15:45

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

of course please submit additional requests.

seltzdesign
18 May, 2017 - 12:10

mino - are you still developing this? I tried getting it to work with 35.2, but keep getting this error:


Exception occurred during creation of plugin: Could not load file or assembly 'file:///C:\Program Files\vvvv_50beta35.2_x64 SP 1.1\vvvvContributions\plugins\AntTweakBar_1.0\AntTweakBarNode.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format.

Any idea why that might be? Have done all the unblocking and files are in the location it is looking for.

guest
21 May, 2017 - 01:46

Try it with a x86 version of vvvv

mino
22 May, 2017 - 14:28

@seltzdesign not update recently. i'll check it

  • Improve this Doc

© 2020 by vvvv group. Imprint | Privacy Policy.
Thanks to DocFX for building this website. Analytics by Plausible.

Back to top