Skip to content

IFC model materials/colors not applied - all geometry renders white #745

@vovka236

Description

@vovka236

Describe the bug 📝

When loading IFC models (tested on IFC2x3 and IFC4), all geometry renders entirely white regardless of the materials defined in the IFC file. Colors and materials visible in BIMvision desktop 3.1.2 are completely absent in the web viewer.

scene.setup() is called and lights are present in the scene, so this is not a lighting configuration issue.

This appears to be a regression or unresolved issue in the fragments/web-ifc layer. Related issues #328 and #642 mention the same problem but were closed without a confirmed fix for @thatopen/components 3.x.

The file also has been checked here

Image Image Image Image Image

Reproduction ▶️

No response

Steps to reproduce 🔢

4M-BUILDING.zip

SPAHOTEL.zip

Villa island-1.zip

  1. Load any of attached IFC models
  2. Observe the 3D view - all geometry is rendered white
  3. Open the same model in BIMvision desktop 3.1.2 (or any other viewer) - colors displayed correctly

System Info 💻

System:
    OS: Windows 11 10.0.26200
    CPU: (24) x64 AMD Ryzen 9 7900X3D 12-Core Processor
    Memory: 10.47 GB / 31.12 GB
  Binaries:
    Node: 24.12.0 - C:\Program Files\nodejs\node.EXE
    npm: 11.12.1 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 148.0.7778.97
    Edge: Chromium (143.0.3650.75)
    Firefox: 145.0.2 - C:\Program Files\Mozilla Firefox\firefox.exe
    Internet Explorer: 11.0.26100.8115

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