This is very likely impossible, but I would like to show what is going on in a window from another application in my OF app. Specifically, I want to take a Photoshop window and map it to a texture. I suspect there might be a way to do this in OS X, but I don’t even know where to begin looking.
But I’m not quite sure how (yet), I’d poke around the Cocoa API, it’s bound to be there somewhere.
In relation to that, sometimes when you create textures on the Mac and you don’t give it data to initialise with (you reserve a chunck of memory to draw on basically) you get whatever was there before in graphics memory. Usually it’s chunks of windows you’ve had open and the like. Very glitch art.
I’ve been meaning to make an app that lets you explore whatever you mgiht have lying around in memory on the graphics card.
Haven’t seen it happen on my PC (using the same code), strange, must be a driver thing.
Not at all what I would have expected random memory to look like to quicktime, it’ll have to do with the method he used to make quicktime interpret it I suppose, must read up on this a little bit, very interesting!
not sure how it would integrate with openframeworks… but Vade (from the QC / VDMX world) is working on a Quartz Composer plugin which does this (grabbing the buffer from a opengl contexts), more info on this thread: http://www.vidvox.com/phpBB2/viewtopic.-…-2233#12233
As QTZ files can be wrapped in standard .mov, perhaps the wrapped quicktime movie could be opened in an of app… but you will not have the interactivity for sure…