Dear OF’ers
Can someone please point me out how to use gui.addQuadWarper to warp live cam?
Am I using it right? because I cannot get the warp video to display
.h
ofPoint warpPts[4];
.cpp
void testApp::setup(){
warpPts[0].x = 0;
warpPts[0].y = 0;
warpPts[1].x = 320;
warpPts[1].y = 0;
warpPts[2].x = 320;
warpPts[2].y = 240;
warpPts[3].x = 0;
warpPts[3].y = 240;
gui.addQuadWarper("Inverted wrap", videoTexture, warpPts);
}
In addition, I wonder how can I add the warped video to display on the background?
Cheers
Kev