Dear Developers,
I am currently trying to compare color Vector values of rendered pixel against set color in the editor.
While this works fine for 8Bit RGB I am having trouble to get it to work in 32 Bit eg. 0.001 steps of color.
What are the gotchas I have to doublecheck ?
- My render settings are linear 32 bit
- My Project is set to Basic, Linear
- My Render storage image is set to 32 (96) Bit
My returned Values in Python are for a test all matching but not recognized for comparison.
if color in colorlist: # -> returns no matches
Color generated = Vector(0, 0, 0.001)
Color object applied and readout = Vector(0, 0, 0.001)
Color rendered pixel = Vector(0, 0, 0.001)
only the colopicker in C4D Pictureviewer gives me Vector(0, 0, 0.013) which should not be a problem hence the retrieved rendered pixel value is Vector(0, 0, 0.001)
Any tips on color ?
And if any on comparing c4d.Vectors in python hence the seem not to match.
kind regards mogh
ignore the output on line 3 in the console its just a reminder for me from different part of the code