Forums
the importance of culling - Printable Version

+- Forums (http://www.scratchpadgames.net/forums)
+-- Forum: Main Forums (http://www.scratchpadgames.net/forums/forumdisplay.php?fid=1)
+--- Forum: Assets, Tools, Libraries and other useful things (http://www.scratchpadgames.net/forums/forumdisplay.php?fid=21)
+--- Thread: the importance of culling (/showthread.php?tid=171)



the importance of culling - Brian Beuken - 11-28-2018

Its so much more important than people realise. I cover it a little in my book, but here's a really great video to see it in action, this shows how you can make a small amount of gpu go a long way





RE: the importance of culling - Brian Beuken - 12-05-2019

aww the video is gone, I'll try to find it


RE: the importance of culling - Brian Beuken - 12-09-2019

not the same as the original video, which was awesome, but here's the principle again in a shorter video

https://www.youtube.com/watch?v=BgQZo-_282g

There are several methods for culling things, frustrum and occlusion being the most widely used. The basic principle is that while the GPU is much much faster at drawing things than the CPU, so you can often let it waste time drawing things not seen, a little time spent by the CPU or GPU to determine if an object should be drawn while not visible, can spare a massive number of GPU cycles. Doing a thousand (even hundreds of thousands) tests before attempting to draw a model or terrain section, can make a massive difference to performance and have no effect at all on the visible result. This is especially true in terrain or environment based games where you are in a 360x360x360 world populated by much more than you can see at any given time.