VIDVOX Forums Forum Index
Author Message
<  Quartz Composer  ~  QC VDMX mouse macro
goto10
PostPosted: Mon Jul 26, 2010 10:57 pm  Reply with quote
Video Architect


Joined: 01 Jun 2008
Posts: 317
Location: Amsterdam, The Netherlands

I'd like to share this little macro with you all. It's for use with a structure input, published with 'xy' in front of it, which will show up as a 2d point picker interface element inside VDMX.



The macro takes care of splitting the structure and scaling the values to the correct qc dimensions. It's saved me a lot of time, and I hope it will for you as well Very Happy

More info and download here: http://www.hybridvisuals.nl/downloads/vdmx-mouse-macro/

Joris

_________________
if it moves, sync it!
http://www.hybridvisuals.nl/
Quartz Composer and VDMX video tutorials at http://www.hybridvisuals.nl/tutorials
Back to top
View user's profile Send private message Visit poster's website
rybotron
PostPosted: Wed Jul 28, 2010 8:28 pm  Reply with quote



Joined: 14 Apr 2010
Posts: 6
Location: San Francisco, CA

I used your math interpolation equation a while back to make something just like this for an effect I've been working on for VDMX. I never thought to publish outputs and stick it in the patches folder. That makes it so much easier than copy and pasting that thing in from one quartz comp to another. You learn something everyday. Thanks!
Back to top
View user's profile Send private message Visit poster's website
goto10
PostPosted: Thu Jul 29, 2010 4:17 pm  Reply with quote
Video Architect


Joined: 01 Jun 2008
Posts: 317
Location: Amsterdam, The Netherlands

Very Happy

Glad you like it!

Quote:
I never thought to publish outputs and stick it in the patches folder.

These days if I find myself doing the same thing more than twice, I usually make a macro for it. Now if only I could make a macro for washing the dishes...

_________________
if it moves, sync it!
http://www.hybridvisuals.nl/
Quartz Composer and VDMX video tutorials at http://www.hybridvisuals.nl/tutorials
Back to top
View user's profile Send private message Visit poster's website
Dub Prack
PostPosted: Thu Jul 29, 2010 7:20 pm  Reply with quote
Video Architect


Joined: 05 Jul 2006
Posts: 72

hi joris! here marcos [Prack!]. nice plugin, thanks. now i (we) can use the xy pad of touchOSC with quartz and vdmx. great. very usefull with your "awesomelinedrawer" qtz comp. Very Happy
cheers!

ps just a question... why is the data inverted? top left on the touchOSC is bottom left in QC
Back to top
View user's profile Send private message
goto10
PostPosted: Thu Jul 29, 2010 9:44 pm  Reply with quote
Video Architect


Joined: 01 Jun 2008
Posts: 317
Location: Amsterdam, The Netherlands

Hey Marcos, good to hear from you!

The coordinate system works correctly for the VDMX 2d point picker. I guess TouchOSC assumes (0,0) is at the top left of the screen, which is common for most graphic programs. And VDMX assumes it's at the bottom left, which is more like how it's taught in math class. And then QC assumes (0,0) is in the middle of the screen. Sigh. Go figure. That's where macros come in so useful. Figure it out once, and then don't worry about it anymore Wink

How are you connecting to touschOSC? I have a custom qcplugin for VDMX that receives the OSC data, and also handles the conversion if you're interested.

Quote:
very usefull with your "awesomelinedrawer" qtz comp.

hehe, figured that name would haunt me. glad you're enjoying it though!

Joris

_________________
if it moves, sync it!
http://www.hybridvisuals.nl/
Quartz Composer and VDMX video tutorials at http://www.hybridvisuals.nl/tutorials
Back to top
View user's profile Send private message Visit poster's website
Dub Prack
PostPosted: Thu Jul 29, 2010 10:12 pm  Reply with quote
Video Architect


Joined: 05 Jul 2006
Posts: 72

hey joris. I used some qcOSC plugin, made by hexler, the guy behind touchOSC.

http://hexler.net/qcosc-v0-5-released

works really well! (your plugin is better?)

hey, i have a (i supossed) easy question for you: i have some 3D patch in QC, with an input splittler with the range -30 > 0, but the sliders in touchOSC goes from 0 to 1 only. I found a way to do that with a math patch, but i supossed could be better with some simple JS... no? anyway, thanks, in advance.

ps. i forgot to tell you in berlin about my love for your modul8 VDMX plugin. Very Happy
is one of my top 5 plugins!

ok, i need to cook a meal....
cheers from madrid, at 29 ÂșC!
Back to top
View user's profile Send private message
Dub Prack
PostPosted: Thu Jul 29, 2010 10:16 pm  Reply with quote
Video Architect


Joined: 05 Jul 2006
Posts: 72

Dub Prack wrote:

hey, i have a (i supossed) easy question for you: i have some 3D patch in QC, with an input splittler with the range -30 > 0, but the sliders in touchOSC goes from 0 to 1 only. I found a way to do that with a math patch, but i supossed could be better with some simple JS... no? anyway, thanks, in advance.


the question is: do you have something like that? a kind of macro, i can imagine
Back to top
View user's profile Send private message
goto10
PostPosted: Fri Jul 30, 2010 1:25 pm  Reply with quote
Video Architect


Joined: 01 Jun 2008
Posts: 317
Location: Amsterdam, The Netherlands

Quote:
the question is: do you have something like that? a kind of macro, i can imagine


This one should work for that I reckon: http://www.hybridvisuals.nl/downloads/linear-value-translation-qcclip/. Takes any value as input, and translates it from the old min and max to the new min and max (0...1 and 30...0 respectively in your case).

Quote:
http://hexler.net/qcosc-v0-5-released

works really well! (your plugin is better?)

I use the built-in OSC receiver from QC. The Hexler one was a bit buggy for me. Don't know if it's any better than what you're doing, but I have one instance of it running as a qcplugin in VDMX, so I can forward the xy and pressed information to multiple patches at the same time. I don't have my laptop handy right now, but drop me a mail if you want to have a look!

_________________
if it moves, sync it!
http://www.hybridvisuals.nl/
Quartz Composer and VDMX video tutorials at http://www.hybridvisuals.nl/tutorials
Back to top
View user's profile Send private message Visit poster's website
thomase
PostPosted: Fri Jul 30, 2010 7:03 pm  Reply with quote
Video Architect


Joined: 03 May 2004
Posts: 467
Location: Germany

awesomelinedrawer sounds interesting - couldn't find it anywhere though...
Back to top
View user's profile Send private message Visit poster's website AIM Address
Dub Prack
PostPosted: Fri Jul 30, 2010 8:35 pm  Reply with quote
Video Architect


Joined: 05 Jul 2006
Posts: 72

Thanks Joris! the linear value translation is what I need, it works perfectly. the funny think -or not so funny, i dont know- is I dowloaded this QC twice, i have the same QC doc in my downloads folder for -maybe- months, here in my face. I have to many things in my mac. puf.
About the hexler OSC plugin, I like it because when you touch some control in your ipod/ iphone automaticly appeears as an output in the qcOSC plugin, so you dont need to make almost nothing. is very fast to programate. anyway i'll send you an email, i like to see your plugin! Razz

hi Thomase, maybe you can't find the awesomelinedrawer, because is the name Joris choose to his qc comp in the workshop he made in visualberlin. I was there Very Happy Actually I made the qc in my laptop when he explain how to make it.... and he copy me some doc too, maybe the original awesomelinedrawer... i can't remember exactly. Joris, Maybe you have your next tutorial here, the awesomelinedrawer tuto.
cheers!
Back to top
View user's profile Send private message
riviera
PostPosted: Thu Aug 05, 2010 11:59 am  Reply with quote
Video Architect


Joined: 20 Mar 2009
Posts: 13
Location: Australia

[quote="Dub Prack"]hi joris! here marcos [Prack!]. nice plugin, thanks. now i (we) can use the xy pad of touchOSC with quartz and vdmx. great. very usefull with your "awesomelinedrawer" qtz comp. Very Happy
cheers!

- hmmm sorry I don't get it - still cant get separate x and y signal from touch osc!? - I'm trying to do so with goto10's vdmx mouse 'plugin' and hexler's osc 'plugin'

- could one of you please show me a QC example with it working?
Back to top
View user's profile Send private message
goto10
PostPosted: Fri Aug 06, 2010 12:05 pm  Reply with quote
Video Architect


Joined: 01 Jun 2008
Posts: 317
Location: Amsterdam, The Netherlands

Quote:
could one of you please show me a QC example with it working?


Well, the way I do this, is to load this qc patch (http://www.hybridvisuals.nl/uploads/touchOSC_xy.qtz) as a plugin in VDMX (put it in the 'plugins' folder of VDMX). It will take the TouchOSC data and separate it, and then make it available as a datasource for any slider in VDMX.

It uses the built-in OSC receiver patch, and assumes you're sending the following OSC data: /1/xy1 and /1/xy1/z

Hope that makes sense!

Joris

_________________
if it moves, sync it!
http://www.hybridvisuals.nl/
Quartz Composer and VDMX video tutorials at http://www.hybridvisuals.nl/tutorials
Back to top
View user's profile Send private message Visit poster's website
goto10
PostPosted: Fri Aug 06, 2010 12:09 pm  Reply with quote
Video Architect


Joined: 01 Jun 2008
Posts: 317
Location: Amsterdam, The Netherlands

Quote:
Joris, Maybe you have your next tutorial here, the awesomelinedrawer tuto.


Good idea. It's been a while since I did a tut, and that's a good introduction to the Kineme GL Tools. If only there were more hours in a day Wink

_________________
if it moves, sync it!
http://www.hybridvisuals.nl/
Quartz Composer and VDMX video tutorials at http://www.hybridvisuals.nl/tutorials
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
All times are GMT

View next topic
View previous topic
Page 1 of 1
VIDVOX Forums Forum Index  ~  Quartz Composer

Post new topic   Reply to topic


 
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Powered by phpBB and NoseBleed v1.09