Frustum culling and transform update seem to be in conflict.
John-Nagle opened this issue · 5 comments
John-Nagle commented
Video:
https://video.hardlimit.com/w/23Rq8jeMgpaCVnxFkceMM4
(Transcoding in progress, may not be live yet)
What seems to be happening is that moving an object and rotating the camera can make an object disappear. Its shadow, however, does not disappear. Since there's no way to ask Rend3 to make an object disappear while keeping its shadow, this seems to be a culling bug.
Notes:
- This has been happening for some months; it's not been introduced by a recent version of Rend3.
- Moving and rotating the camera does not cause this problem for stationary objects.
- Moving objects while the camera remains stationary does not cause this problem.
- Video was made with Rend3 from commit 9eaa061 on branch fix-465.
John-Nagle commented
Video https://video.hardlimit.com/w/23Rq8jeMgpaCVnxFkceMM4 is now live.
John-Nagle commented
Problem still exists at commit "4d10795" on branch main.
cwfitzgerald commented
Give c2c2d32376ea4e3c77d5fbdbec385147f71c36ad
a try and see if that fixes it, the bounding sphere of the objects were never getting updated....
John-Nagle commented
It's working! Video:
cwfitzgerald commented
Nice! Will get that pr'd in