This video is for demonstrating ofxQuartzComposition, an addon for openFrameworks to load, control and render Quartz Compositions (.qtz files) inside openFrameworks.
Here there are two quartzcompositions (rotating cube + grid of morphing shapes) being loaded and mixed with openframeworks graphics in an openframeworks app. The slider on the bottom adjusts the width of the rectangle drawn by openframeworks (ofRect), the 6 sliders on the floating panel send their values directly to the rotating cube composition while it's running in openframeworks.
Currently there is support for:
- loading multiple QTZ files inside an openframeworks application.
- rendering to screen (use FBO to render offscreen)
- passing input parameters (float, int, string, bool, NSDictionary etc) to the QTZ input ports
- reading ports (input and output) from the QTZ (float, int, string, bool, NSDictionary etc)
Todo:
- passing ofTextures to and from the composition.
How is this different to Vades ofxQCPlugin (code.google.com/p/ofxqcplugin/) ?
ofxQuartzComposition is the opposite of ofxQCPlugin. ofxQCPlugin allows you to build your openframeworks application as a QCPlugin to run inside QC.
ofxQuartzComposition allows you to run and control your Quartz Composition (.qtz) inside an openframeworks application.
This demo also uses (and requires) ofxCocoa
github.com/memo/msalibs/tree/master/ofxQuartzComposition/
github.com/memo/msalibs/tree/master/ofxCocoa/