I am following this blog post for testing out rendering possibly without writing to a file: https://ammous88.wordpress.com/2015/01/16/blender-access-render-results-pixels-directly-from-python-2/
I've tried this procedure out on a custom scene, but noticed the lighting was significantly different. Trying it out on a public demo, the Race Spaceship, I also observe a difference between the image from the saved file from
img_file) and the file from the view data (
img_view), computed as
np.abs(img_file - img_view):
Any chance someone knows the root cause of this?
Here's the script I'm using to create this image (Blender 2.80, Ubuntu 18.04): https://github.com/EricCousineau-TRI/blender_server/blob/625f30f191d315fb741b88c817094ecd104eeaa6/view_rendering_test.py
is that the Viewer node data is using sRGB, whereas I want to see RGB?
Blender Cycles render-> Different result between screen image and saved jpg file (will see if I can tinker with settings to affect this)