Getting the size of an object in the viewport?

Blitz3D Forums/Blitz3D Programming/Getting the size of an object in the viewport?

Does anyone have any suggestions how one could determine how "large" an entity is in a camera view?

In order to do robust level of detail, one needs to take into account camera zoom when determining what level of detail to show at any particular location. I'm trying to think of a way to do this.

I suppose one could calculate distance from the camera the old fasioned way, and then modify it by zoom somehow, but I'm not sure what equations to use and that would require the user to pass the camera's current zoom value to the function since there's no command to get it any other way.