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

  • $\begingroup$ 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. $\endgroup$ – Robert Gützkow Nov 9 '19 at 13:27
  • $\begingroup$ @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"? $\endgroup$ – NabilaM Nov 12 '19 at 7:43
  • 1
    $\begingroup$ It's not straight forward: blender.stackexchange.com/questions/2170/… $\endgroup$ – Robert Gützkow Nov 12 '19 at 10:57
  • $\begingroup$ @RobertGützkow Thank you! This link is really helping. I also found other script that gives similar output. You can find it here: blender.stackexchange.com/questions/35191/… $\endgroup$ – NabilaM Dec 19 '19 at 1:36

Your Answer

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

Browse other questions tagged or ask your own question.