openGL based image warper add-on
Based on the openGL image warper example by Theo Watson.
- Quad-Warp anything that's being drawn in OF.
- begin() and end() methods to define the warpped elements.
- Easy quad manipulation by draging the quad corners with the mouse and arrow keys for fine control.
- Get screen-to-warpped-coordinates and warpped-to-screen-coordinates methods.
- Setup now requires the resolution of the screen to be passed making it much more flexible.
- Events triggered when warping changes, allowing complex interactions.
Contributors (many thanks!)
Thanks to Arturo and hv_francesco for their suggestions.
OpenCV is no longer needed. Switched to use ofxHomography, which is included in this addon.