
yves@garagecube wrote:As far as I know I don't think it is possible to share VRAM buffers between two different processes in OS X.
The final frame in Modul8 is in VRAM so it would require first to copy it to RAM. Then the frame should be transfered to the other application using an inter-process mechanism. There are various ways to do that... Cocoa has a very easy API for this purpose. It allows an application to call a function from another process in order to share functions and datas. This is something I could implement pretty easily. It would allow any application to grab frame or send keywords to Modul8. Could be interesting.
Now I don't know welll Max, so I don't know if it is possible to access this kind of API from it.
Yves.
I wouldn't really bother with trying to compile a meta-app or plugins to do what you were talking about (sharing video betwen apps).
Instead, I would use something like OSC, UDP, whatever. Just stream the data to a socket and read that socket in the other app. I know nothing about module8, but if it's a live video app worth its salt, it will have some kind of socket access implementation.
Users browsing this forum: No registered users and 29 guests
Copyright 2017 © garageCube. All Rights Reserved. Powered by phpBB® Forum Software © phpBB Limited.