Hi
Anyone know if it's possible to use some sort of touchpad or kaos pad-type device to have control over X/Y position of a layer? Ideally, I could use a knob to scale the layer and the X/Y controller to move the layer left-right and up-down. The layers would also be locked within their own boundary, so you couldn't scroll them off the display. Think of it like a Google Map paradigm for layer control. There would be amazing creative possibilities with this sort of control!
Hopehope
Thanks
X/Y control over layer position
-
- Posts: 60
- Joined: Thu Aug 12, 2010 03:40
Re: X/Y control over layer position
any ideas on how to accomplish this?
thanks
thanks
- gpvillamil
- Posts: 550
- Joined: Mon Apr 04, 2005 03:33
- Location: San Francisco, California
Re: X/Y control over layer position
I did this years ago with a Korg Entrancer (similar to Kaoss pad but for video).
The X & Y axes, and the knob, on the Entrancer are just MIDI controllers.
You can assign the axes and the knob to layer x, y and scale attributes using MIDI learn. The only slightly tricky thing when doing this is that the touchpad on the Kaoss pad will send X AND Y values with every move, so you need to disable the axis that you are not learning: ie. turn off X axis sending, then MIDI learn the Y axis, turn on X axis again, turn off Y axis, learn the X axis, then re-enable the Y axis.
The X & Y axes, and the knob, on the Entrancer are just MIDI controllers.
You can assign the axes and the knob to layer x, y and scale attributes using MIDI learn. The only slightly tricky thing when doing this is that the touchpad on the Kaoss pad will send X AND Y values with every move, so you need to disable the axis that you are not learning: ie. turn off X axis sending, then MIDI learn the Y axis, turn on X axis again, turn off Y axis, learn the X axis, then re-enable the Y axis.
-
- Posts: 60
- Joined: Thu Aug 12, 2010 03:40
Re: X/Y control over layer position
Here's the thing:
The way Resolume seems to work is to allow you to scroll the layers right out of the display, and I'm hoping to fix this in one of these ways:
a. Layer can only be scrolled to the limits of it's bounding box, so you will always see imagery. Worst case, you hit the max X or Y and scrolling ceases for that axis. It's something I've done many times in Flash draggable apps, so I know the code is relatively simple.
b. The layer repeats itself seamlessly like a looping background, allowing you to just keep moving it along X/Y with endless MIDI knobs
I noticed that MIDI mapping these controls shows an option for "loop", and I'm curious if that means the MIDI value will roll back to 0 once you pass the max. In that case, the layer would snap back to the starting point, right? But you would still see nothing while the layer scrolled off the display and hadn't reached a max X/Y value yet.
Maybe there's a way to use Video Wall to have seamlessly looping, scrolling layers that are MIDI-controlled?
Hope this makes sense.
The way Resolume seems to work is to allow you to scroll the layers right out of the display, and I'm hoping to fix this in one of these ways:
a. Layer can only be scrolled to the limits of it's bounding box, so you will always see imagery. Worst case, you hit the max X or Y and scrolling ceases for that axis. It's something I've done many times in Flash draggable apps, so I know the code is relatively simple.
b. The layer repeats itself seamlessly like a looping background, allowing you to just keep moving it along X/Y with endless MIDI knobs
I noticed that MIDI mapping these controls shows an option for "loop", and I'm curious if that means the MIDI value will roll back to 0 once you pass the max. In that case, the layer would snap back to the starting point, right? But you would still see nothing while the layer scrolled off the display and hadn't reached a max X/Y value yet.
Maybe there's a way to use Video Wall to have seamlessly looping, scrolling layers that are MIDI-controlled?
Hope this makes sense.