LOD Calculations?

Blitz3D Forums/Blitz3D Beginners Area/LOD Calculations?

Maybe calculations is the wrong word, but:

I know the basics of how LOD works, the further a mesh is away from view, the less polygonal detail it should have.

But how do you do this is blitz? Use an EntityDistance() check for the object to the camera entity and change the mesh based on that? But I wouldn't want to do that for every entity right, just the ones that are within the cameras view. So I'd loop through all the entities to check if they are EntityInView to the camera?

I've used inview and entitydistance before and I know they aren't exactly fast.

Surely doing all that would slow the game down much more than simply drawing all the meshes at full detail would?

What's the most efficient method for checking for LOD changes in Blitz3d?