0

I am trying to create a camera coverage simulation where I will put multiple cameras inside a room with some objects to block the coverage of some cameras. Now, My job is to change the number and position of cameras such that the room is under full coverage of the cameras I have placed in that room setting. My initial thoughts were, to fill all the empty space in the room with transparent small voxels and count all the voxels that are within the view of the cameras. How can I fill all the empty space of a room with transparent curve voxels and count the voxels that are in the coverage of the camera?

lucifer
  • 1
  • 1
  • i would try a python script and raycast from the cameras. Then you know what camera will hit which voxels. – Chris Aug 04 '22 at 06:11
  • I searched over google but couldn't find any ray cast tutorial for blender. If you know any online references to the tutorial for the raycast, It would be really helpful. – lucifer Aug 05 '22 at 08:24
  • maybe this helps you? https://blender.stackexchange.com/questions/115285/how-to-do-a-ray-cast-from-camera-originposition-to-object-in-scene-in-such-a-w – Chris Aug 05 '22 at 08:32
  • Thank you for the suggestions. – lucifer Aug 05 '22 at 08:49

0 Answers0