Open xeolabs opened 2 years ago
The LOD mechanism by @tmarti in https://github.com/xeokit/xeokit-sdk/pull/824 could work very well with this. Instead of always hiding objects, it hides objects only if FPS drops below a defined threshold. It feels better on high-end computers while being more performant on mobile/company laptops.
What is FastNavPlugin
FastNavPlugin is a xeokit Viewer plugin that makes interaction smoother with large models, by temporarily switching the Viewer to faster, lower-quality rendering modes whenever we interact.
New Feature
Extend FastNavPlugin with the options to:
I started this experiment a while back, which I'll resurrect: https://gist.github.com/xeolabs/f6a7d6292155b6b7d0e05f861b916849
Don't try to use that experimental code BTW, it's not supposed to work yet.
The code shows how these new options would look.
In this example, we're hiding objects that meet the following conditions:
4
units across and more than 14 trianglesare not IfcSlab or IfcWall