YCAMInterlab / ProCamToolkit

Research and development of a new toolkit for projector-camera calibration at YCAM.
Other
349 stars 81 forks source link

Mapamok Midimapping #13

Open petergriffinn opened 12 years ago

petergriffinn commented 12 years ago

Hey I just downloaded Mapamok and its amazing, but lifecoding is very uncomfortable if you have to do it live.

Is it possible to control the shader and speed with a Midicontroller like the Akai MPK49? In the Documentation just the Novation Launchpad was mentioned, so it should be possible for other Midi devices too.

Thanks in advance!

kylemcdonald commented 12 years ago

there is no midi support in the downloadable mapamok application.

if you're comfortable compiling code, you can check out the library branch, and that supports the novation launchpad. you would have to manually add support for generic midi input.

if you want to describe how you imagine using your controller with mapamok, then i can take it into account next time i'm working on the application -- but i can't make any promises :)

petergriffinn commented 12 years ago

thanks for the fast reply! I´m not really in to compiling but i will try.

In this picture you see how you could set it up: http://www.freiraum-portfolio.de/wordpress/wp-content/uploads/2012/07/mapamok-mpk.jpg Would be much faster and easier than coding. The midi channels aren´t important you could make it fix so everyone can map their controller to it. Would be awesome if you would implement it!

kylemcdonald commented 12 years ago

ok, that's great to know -- so you would have some kind of midi note events for switching between scenes, and midi cc events connected to the uniform values in the shader. that's kind of what i was imagining.

if i get some gig doing live projection mapping at some point, i would probably want the same thing... in which case i'll implement it and update this issue :)

thanks!