I am struggling a bit with the ImageRender. I want to built up a simulation using the Blender Game Engine in combination with ROS.

The plan is to record an image using the virtual camera in Blender (the selected one in the screenshot).

Virtual Camera

This is already working, but with a horrible resolution. The resolution of the image is currently 512x512:

Output image

My question: How can I improve the resolution of this output image? I am getting the image using the ImageRender functionality with a plane object as a proxy where the virtual camera is rendering on.

Thank you in advance.

  • $\begingroup$ additional info: if I increase the capsize, the image gets really messed up $\endgroup$ Jun 25, 2017 at 10:59

1 Answer 1


Ok. I figured it out. Capsize is limited to the window size of the BGE rasterizer.

I implemented something like:

import Rasterizer

windowSize = (Rasterizer.getWindowWidth(), Rasterizer.getWindowHeight())

imageRender.capSize = windowSize

Then I can start a standalone player with my desired resolution of 1600 x 1200 px and get the camera image in that very same resolution.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.