Is there a way to list/print all objects in camera FOV that not occluded objects? prefer without iterating all verts like here

        for obj in bpy.data.objects:
            if obj.type == 'MESH':
                 # detect object appear in camera view (not occluded by other object) 
                 # also visible_get() is not the function i need
  • $\begingroup$ You would need to calculate the viewing frustum of the camera; determine what objects are in it by comparing at least bounding boxes; and then figure out which are behind others. If you want any sort of accuracy you would need to calculate based on the vertices in at least some cases. $\endgroup$ Jun 19, 2022 at 0:02
  • $\begingroup$ @MartyFouts thanks for that! $\endgroup$
    – greenrod
    Jun 22, 2022 at 13:17


You must log in to answer this question.

Browse other questions tagged .