Skip to content

Incorrectly rendered lines instead of geometry (LOD?) #639

@NiklasPor

Description

@NiklasPor

Describe the bug 📝

No matter how far I zoom in, the rendered lines (LOD?) aren't replaced by the real geometry:

IFC File: https://limewire.com/d/HQEWY#vsCI0VLzBZ (ping me to reupload it if the download link runs out)

Actual, Fragments:
Image

Expected (BIM Collab Zoom)
Image

Reproduction ▶️

No response

Steps to reproduce 🔢

Setup:

  const components = new OBC.Components();
  const renderer = new OBC.SimpleRenderer(components, container);
  const scene = new OBC.SimpleScene(components);
  const camera = new OBC.OrthoPerspectiveCamera(components);

  const worlds = components.get(OBC.Worlds);
  const world = worlds.create<OBC.SimpleScene, OBC.SimpleCamera, OBC.SimpleRenderer>();

  world.renderer = renderer;
  world.scene = scene;
  world.camera = camera;

  components.init();
  scene.setup();
  scene.three.background = null;

  // load the model and zoom

System Info 💻

System:
    OS: macOS 15.6.1
    CPU: (14) arm64 Apple M3 Max
    Memory: 637.20 MB / 36.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.16.0 - /Users/niklaspor/Library/pnpm/node
    npm: 10.8.1 - /Users/niklaspor/Library/pnpm/npm
    pnpm: 10.20.0 - /Users/niklaspor/Library/pnpm/pnpm
  Browsers:
    Brave Browser: 141.1.83.118
    Chrome: 141.0.7390.123
    Firefox: 138.0.1
    Safari: 18.6
  npmPackages:
    @thatopen/components: 3.2.2 => 3.2.2 
    @thatopen/components-front: 3.2.1 => 3.2.1 
    @thatopen/fragments: 3.2.0 => 3.2.0

Used Package Manager 📦

pnpm

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 repository 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

No one assigned

    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