Previous topicNext topic

Processing for Magic

Questions, comments, feedback, etc.
Post Reply
leadedge
Posts: 33
Joined: Fri Mar 06, 2015 6:47 am

Processing for Magic

Post by leadedge »

Hi everybody..

I have been working for a while on a freeframe plugin that will load a Processing sketch, so that the sketch itself effectively becomes a plugin. The idea is that you can then make any number of Processing sketches and they can all be used as if they were freeframe plugins.

Eric Medine has taken this on with enthusiasm and has just made an excellent tutorial.

http://ericmedine.com/spout-controller-for-resolume/

This is based around Resolume, but I have also now extended that to Magic.

The concept depends on the host program finding subfolders in the freeframe plugin folder and, without going into detail, there are differences in the way the host programs find freeframe plugins and their names and identification. The difference with Magic is that if there are plugins of the same name in subfolders, only one of them will be found. Anyway - no problem. You just have to rename the dll file to use it in Magic.

So - say you have your basic Processing sketch already.

First you make it a Spout sender and get that working - pretty easy.
Then you make it a controlled sender with SpoutControls - not too hard either.
Then you put a copy of spoutcontroller.dll in the sketch folder.
Then you copy the entire sketch folder to the freeframe plugin folder.
Importantly for Magic you rename spoutcontroller.dll to the same name as the sketch folder itself.

Easy.

Back in Magic you will find your sketch folder listed and the plugin within it will have the same name. Just add it to Magic and the sketch will start up and there you are. All the module controls are set up as you have arranged it within the sketch. So you can have the controls exactly as you want them. It's like the ISF shader idea but a Processing sketch instead.

So if you are keen on using Processing inside Magic this could be of interest to you. If so, look at the tutorial and download the SpoutControls installer and try it.

https://github.com/leadedge/SpoutControls/releases

Cheers to all.
Lynn Jarvis
Magic
Site Admin
Posts: 3441
Joined: Wed Apr 09, 2014 9:28 pm

Re: Processing for Magic

Post by Magic »

This is pretty cool! Many thanks!
visuality
Posts: 116
Joined: Sat Dec 20, 2014 9:04 pm

Re: Processing for Magic

Post by visuality »

Excellent!
damstraversaz
Posts: 176
Joined: Tue Aug 26, 2014 11:22 am

Re: Processing for Magic

Post by damstraversaz »

A great idea , thanks a lot !
Post Reply