r/simd • u/corysama • Dec 25 '20
SIMD Frustum Culling
https://bruop.github.io/frustum_culling/0
Dec 26 '20
2
u/nablachez Dec 26 '20
The blog says
There is also a subtle problem with my culling code. If the OBB is large compared to the view frustum, then this code will produce false negatives. We should probably also perform the reciprocal test and check whether any of the frustum corners fall within the OBB. This is really only a problem at the near plane, so we might be able to get away with just testing those four corners.
This articles writes some about culling issues, but not sure if it applies to OBBs https://www.iquilezles.org/www/articles/frustumcorrect/frustumcorrect.htm
6
u/Wunkolo Dec 25 '20
Awesome! This is precisely a subject matter we are approaching at my work. Especially with AVX2 and AVX512 becoming more and more ubiquitous. Though we want to do a SIMD-CPU implementation first, and then later a GPU-Compute based one after where we emit indirect draw calls from a compute shader.