Quantcast
Channel: openFrameworks - Latest posts
Viewing all articles
Browse latest Browse all 40524

Combining 2 applications in just 1 window ie live + static video side by side

$
0
0

Something like that should work:

ofVideoGrabber vid;
vid.getTextureReference().drawSubsection(0, 0, vid.getWidth(), vid.getHeight(), vid.getWidth()*0.5, vid.getHeight()*0.5)

(obviously you need to configure the video grabber and for the sx and sy parameter it's up to you to find what values work for you)


Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>