Q's about ofxSimpleGUItoo

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

I don’t know if it still helps, but I found this on msalibs github issues https://github.com/memo/msalibs/issues/5

Just noticed that the GUIQuadWarp can occasionally draw a filled quad dependent on the current draw state. To fix it I simply switched the lines 117 and 118 from :

ofBeginShape();
ofNoFill();

to
ofNoFill();
ofBeginShape();

:wink: