Hi, I'm a beginner in MEL (and Maya also).
I'm trying to show live video on the image plane of a camera.
I think I can store the current video frame as an image file (outside Maya), and reload it every time.
But with my PC, it took about 0.3s to reload an image file whose size is a little less than 640x480.
what I did is:
setAttr -type "string" imagePlane1.imageName "D:/test/A.jpg";
refresh;
Maybe I can make it seem to "work" in this way, but 3 fps is too slow, and continuous reading of disk will also be a problem.
So I'd like to know if it is possible to share textures between Maya and OpenGL applications.
If it is possible, I think I can set the image plane type to 'texture', not 'image file', and set the texture name to the shared one.
Is it possible?