d3cod3 / ofxVisualProgramming

A visual programming patching environment for OF
MIT License
153 stars 19 forks source link

not an issue, not much related but... #3

Closed moebiussurfing closed 5 years ago

moebiussurfing commented 5 years ago

What are you using or what can you recommends me to use to very simple node wire patching variables/to/targets? Something like 4 gui sliders that I what to choice as control/input for another 4 sliders. The tiny object I can use to this... 1---...........1 2.....\ ....... 2 3.......---- 3 4............. 4 Not searched too much yet, so I am sorry If it's a lazy question...

moebiussurfing commented 5 years ago

could be some class on your datgui fork maybe?

d3cod3 commented 5 years ago

Hi, are you asking for c++ code or doing that with Mosaic?

moebiussurfing commented 5 years ago

I mean outside, in OF/c++. But a tiny patching module only without much add-ons or block. I am looking into ofxdarknigth too

d3cod3 commented 5 years ago

Ok, well you can take a look at the base class for object i've written for ofxVisualProgramming, https://github.com/d3cod3/ofxVisualProgramming/blob/master/src/PatchObject.h & https://github.com/d3cod3/ofxVisualProgramming/blob/master/src/PatchObject.cpp

In that class there is the core code for the patching modules But i'm not going to lie, it's not an easy topic, if is too complicated maybe you can take a look at the addon i look up to in the beginning of the developing of ofxVisualProgramming:

https://github.com/patriciogonzalezvivo/ofxComposer

Is a little bit outdated, but the code is simpler.

Hope this will help you!

d3cod3 commented 5 years ago

And by the way, you can always include ofxVisualProgramming in your project, and just load the specific objects you'll need, i mean hardcoding the calls and have a static preloaded objects environment.