Closed thisnickwasfree closed 4 years ago
Feature in todo, together with LODs. I expected a lower FPS yield, thanks for the benchmark.
Implemented. Not perfectly but it works. Dream.frustumCheck (default true) can toggle it. Manual usage is not necessary, but the function would be:
--cam (e.g. the default cam dream.cam)
--pos is the center of the object to check
--size is the radius
dream:inFrustum(cam, pos, size)
Any chances to get fast "in frustum" function to draw only those meshes which in camera's fow? I can check it in love.draw, but it slows down the scene (25 vs ~115 fps). But! The same mechanism gives 165 Vs 140 fps while watching to the area where no meshes placed.