Listing all objects in Camera view


I am new to Panda3D development, I am looking for a way to list all the objects that are currently in the camera’s view (taking occlusion into account). What would be an efficient way to achieve this?


I think you may have to iterate over all the nodes and do a bounding volume test to check whether they are in view.

Perhaps you could explain what you are trying to achieve? There may be easier ways.

My solution for this. - GeomDrawCallbackData - the getObject () method is not available

If you are OK with receiving all the Geom objects (instead of the nodes) you can also use CullResult.make_result_graph(), but this is only intended for debugging.