ofxHapPlayer icon indicating copy to clipboard operation
ofxHapPlayer copied to clipboard

HapPlayer works fine in the ofApp.cpp but not in other class

Open arnoldyuhin opened this issue 8 years ago • 1 comments

I'm working to display several videos overlay each other. I draw the background and the front mask in ofApp.cpp and they goes smooth. Between them, I draw some videos which is called by another class, they are correctly drawn between the background and the mask. However, those video are just black boxes but not an video with alpha. It worked before I try to apply an shader which I added ofSetCurrentRenderer(ofGLProgrammableRenderer::TYPE); into main.cpp. I have also tried to draw the video in ofApp.cpp, and it works. Anyone have idea how to fix it? Thanks!

(I'm working on OF 0.8.4 with OSX El Capitan)

arnoldyuhin avatar Mar 07 '16 10:03 arnoldyuhin

Can you provide a minimal project to demonstrate your problem?

bangnoise avatar Jul 12 '16 17:07 bangnoise