Skip to content

FragmentCuller stops working with FragmentHighlighter #149

@vulevukusej

Description

@vulevukusej

Describe the bug 📝

In my testing it appears that the fragmentCuller doesn't work for meshes created by the fragmentHighlighter. In the example below, I've called the highlightById function on the FragmentIdMap associated with each storey in the model. While this works, the performance takes quite a hit and I noticed that none of the objects were being culled when out of view.

After calling the function I set needsUpdate on the culler to true. Any tips on how to circumvent this?

image

Reproduction ▶️

No response

Steps to reproduce 🔢

No response

System Info 💻

version: 1.1.4

Used Package Manager 📦

npm

Error Trace/Logs 📃

No response

Validations ✅

  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Make sure this is a IFC.js components issue and not a framework-specific issue. For example, if it's a THREE.js related bug, it should likely be reported to mrdoob/threejs instead.
  • Check that this is a concrete bug. For Q&A join our Community.
  • The provided reproduction is a minimal reproducible example of the bug.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions