Camera Geometric Culling for Blender 3.6.x and 4.x
Content:
An exemple Blender scene with a geometry node group to delete points outside the camera field of view.
This geometric computation method is much faster than raycast. It helps greatly to manage haeavy scenes with intsances or particules.
Optimization:
*Limitation: *-It won't delete points occluded by objects within the field of view. (typical case where raycast is usefull)
How to use it:
The node need to be driven by the actual camera focal length and image ratio (is width divided by height, this can be calculated with drivers either).
The scale factor is usefull to adjust the culling effect outside the camera's edges to avoid instances popping on screen edge during animations.
Note:
The math and geometry node setup comes from Claudio Piciarelli's youtube tutorial: https://www.youtube.com/watch?v=dxIni7l1ZVs
Special thanks to him.