BIMsurfer-before2019
BIMsurfer-before2019 copied to clipboard
Normalize model size when loading
Some models are so big that they are always clipped by the far clipping plane. Extending the clipping plane distance is not the solution because for some models it needs to be greater than 20000, which reduces rendering precision to the point where z-fighting occurs between surfaces that are close to each other.
Solution is to scale the geometry as it's loaded, eg. to fit within 1000x1000x1000.
If maintaining a sense of scale within the is an issue, then the scale ratio value can be tracked within the viewer (eg 0.001:1).