0

Does anyone know how to get these value from the pixel information bar below and have them save in text file using blender python?

enter image description here

NabilaM
  • 41
  • 2
  • The information are the X and Y coordinates of the pixel, Z is the depth at the pixel. The RGBA are the color and alpha of the pixel, followed by the display transformed values in RGB and HSV and the Luminance. You can't directly access the output produce by ED_image_draw_info(), but you could get the information from the render image and its passes. – Robert Gützkow Nov 09 '19 at 13:27
  • @RobertGützkow thank you for the explanation. Do you know how to get the information from the render image using blender python? And what do you mean by "passes"? – NabilaM Nov 12 '19 at 07:43
  • 1
    It's not straight forward: https://blender.stackexchange.com/questions/2170/how-to-access-render-result-pixels-from-python-script – Robert Gützkow Nov 12 '19 at 10:57
  • @RobertGützkow Thank you! This link is really helping. I also found other script that gives similar output. You can find it here: https://blender.stackexchange.com/questions/35191/how-to-get-color-and-z-depth-from-viewer-node/71264 – NabilaM Dec 19 '19 at 01:36

0 Answers0