Capture the rendered image


I’m using Panda3D for robot simulation, and in order to balance the computing load, I’m trying to separate physics, rendering, and output processing over different machines on a network.

To do that, I need to transmit the rendered images to a client somewhere over the network (through python multiprocessing syncmanager), so I need to “capture” each rendered frame as an object in the Panda3D instance (in order to give it to the syncmanager).

Is it possible ?
If so, how, and would it have a significant influence on performances ?

Thanks for your help :slight_smile:

It would certainly be possible (by attaching an image to the window in RTMCopyRam mode) though it would most certainly have a hit on your performance. You’d have to try it and see if the performance is acceptable.