xeokit-sdk icon indicating copy to clipboard operation
xeokit-sdk copied to clipboard

Some сolors not relevant

Open g-rodigy opened this issue 1 year ago • 1 comments

Describe the bug Green parts with some transparency look more like gray and almost completely transparent.

To Reproduce

const viewer = new Viewer({
    canvasId: "model-canvas",
})
const ifcLoader = new XKTLoaderPlugin(viewer, {})
const sceneModel = ifcLoader.load({
    id: "myModel",
    src: '...',
    loadMetadata: true,
    excludeTypes: ["IfcSpace"],
    edges: true,
});

Ifc and xkt loaders give the same result.

Screenshots 1 Xeokit viewer image 2. Programs like BimVision, Trimble Connect and IFC.js live example image image image

Desktop (please complete the following information):

  • OS: Windows
  • Browser Chrome
  • Version 116

Additional context Model_Full_wrong_color.zip Example details ids: 2QtixrV35ClxZwwX2HIYjo, 2PO4udnUH8P84Bns3dnRsc

g-rodigy avatar Aug 19 '23 21:08 g-rodigy

This is likely to be fixed by https://github.com/xeokit/xeokit-sdk/issues/1154 - we were applying color+opacity overrides to certain IFC element types by default (including IfcWindow, IfcSpace and IfcPlate) and have now removed those overrides.

Try again with the latest version of @xeokit/xeokit-sdk

xeolabs avatar Oct 03 '23 00:10 xeolabs