ThatOpen / web-ifc-viewer

Graphics engine and toolkit for client applications.
MIT License
947 stars 235 forks source link

Rendering Issue with Transparency for Certain Items (e.g., Windows) #234

Open bartlomiejwiejak opened 1 year ago

bartlomiejwiejak commented 1 year ago

Hello,

I'm currently using the web-ifc-viewer library and I've encountered a specific issue pertaining to the rendering of certain transparent items. Specifically, elements like windows, which should be transparent, aren't being rendered as such. This issue does not occur with the same IFC files when viewed in the BIMVision software.

Below are some screenshots demonstrating the issue:

image image

And here are screenshots from BIMVision software:

image image (1)

Additionally, you can reproduce this issue using the following IFC file: file.zip

Steps to reproduce the issue:

Load the provided IFC file into the web-ifc-viewer Navigate to the section containing the windows Observe that the windows aren't being rendered as transparent Expected behavior:

The windows (and other transparent elements) should render as transparent in the web-ifc-viewer just like they do in the BIMVision software.

Actual behavior:

The windows (and other transparent elements) are not being rendered as transparent in the web-ifc-viewer.

This issue is impeding the correct visualization of my architectural models, so I appreciate any help or guidance you could provide to address this problem.

Thank you in advance for your assistance!

agviegas commented 1 year ago

Hey! We are now focusing all our efforts in the components repository, which will likely take over web-ifc-viewer and web-ifc-three very soon. It will include a full documentation with live examples and tutorials. The API is similar to web-ifc-viewer (but more flexible and modular), so the transition should be quite easy.

Maybe you should check it out! You can check the big-restructure branch (or the alpha versions in npm) to see the latest changes as we build them.