THREE.Frustum uses intersectsBox to acquire components in the field of vision. How to avoid obtaining invisible components through perspective?

I want to use THREE.Frustum to use intersectsBox to get the components in the field of view
the result is perspective, and the following components (such as the components behind the wall are also obtained)
is there any way to avoid obtaining such components?

Jul.15,2022
Menu