xeokit-sdk
xeokit-sdk copied to clipboard
Some сolors not relevant
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
2. Programs like BimVision, Trimble Connect and IFC.js live example
Desktop (please complete the following information):
- OS: Windows
- Browser Chrome
- Version 116
Additional context Model_Full_wrong_color.zip Example details ids: 2QtixrV35ClxZwwX2HIYjo, 2PO4udnUH8P84Bns3dnRsc
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