I am new to Blender and scripting and looking for your help:
The problem: In my scene are many blue objects (e.g. spheres) and multiple cameras. I want to color every surface of the blue objects red, if the surface is visible from at least one camera.
The desired result:
- All objects, that are completely hidden from all camera field of visions, stay completely blue.
- Some blue objects are only partially visible to the cameras and only these visible surfaces turn red (the all other surfaces of the objects remain blue).
- Blue objects, whose whole surfaces are covered from the cameras, turn fully red.
How could you easily implement that?
camera
space, and from OSL's POV, there's only one camera. $\endgroup$