Closed hamza-hajji closed 7 months ago
Fixed by modifying the behaviour of the backfaces
option:
backfaces
option true
by default @xeolabs Hello, I used the backfaces option set to false on a glb. In glt-viewer (https://gltf-viewer.donmccurdy.com/), it works :
On xeokit using the gltfloader with backfaces to false :
Seems like backfaces was true.
Thanks for your help
Hi could you please provide the glb model so we can debug?
Seems like backfaces was true.
Could you please clarify here - do you mean in the code or in the model?
thanks
Please find an example here (glb zipped) : 02_07_2024.zip
Basically we would like the backfaces to be transparent :
@xeolabs Does it clarify the issue ?
Describe the bug Setting backfaces=false/true in GLTFLoaderPlugin#load makes no difference whether the backfaces are shown or not
To Reproduce Steps to reproduce the behavior:
Expected behavior Loading it into a GLTF viewer and zooming into the upper room, you can see the backfaces are transparent (see screenshot)
I'm not sure if this is the param to do this, because that's how it's described in the docs:
Screencasts