bangnoise / ofxHapPlayer

A Hap player for OpenFrameworks
Other
147 stars 46 forks source link

Hap Alpha video can look through #55

Closed ghost closed 4 years ago

ghost commented 4 years ago

I use a hap alpha video with transparency, but on not transparent parts i can look throug it. It looks like it has 5% global transparency. Do you have any ideas? Thanks

bangnoise commented 4 years ago

The currently set color applies to drawing - try ofSetColor(255, 255, 255) before you draw?

ghost commented 4 years ago

Yes, i have ofSetColor(255) before the player drawing command. But i can see the image i draw before the ofSetColor. I dont think that there is a difference in ofSetColor(255) vs ofSetColor(255,255,255)

bangnoise commented 4 years ago

Do you see the problem if you play the same file using the example app in ofxHapPlayer/example?

ghost commented 4 years ago

Yes i tested it now with the example app and still the same. But it is solved. The designer made a mistake with the alpha channel, he used 250 instead of 255. Sorry for this troubble. :( But big thanks for your patience. :)