But this is not the problem.
If I am not using sphere() and P3D, and instead for instance write a circle with the default render (in setup: size(1500, 800)), everything works well, i.e. the circles will be on top of the background image. You will still have the background image visible, except for the areas where the circles are.
When I am using the posted code the background image just disappears and turn gray.
It obvously works for you.
I am using Processing 4.0b.1, and there it does not work!?
Strange - a bug - different image files (quality/definition)?
I attach the file.
Kylle
I am running Processing on Windows.
Thanks for your efforts.
I solved the problem by masking a picture receving a “pure” ball image that I could paste on the background picture in numbers.
K