- edited description
Material property IsTwoSided not work
When I export a WPF 3D model to GLB format, and to open it later in a viewer like Babylon.JS/glTF Viewer some sides are hidden it when rotate camera. The Assimp library has a property for enable double side, IsTwoSided property, however, is not work when I set true value.
Code snippet:
Follows the evidence of the problem:
Original model
Model opened in Babylon.JS viewer
Would appreciate if you can help me.
Comments (7)
-
reporter -
reporter - edited description
-
reporter - edited description
-
reporter - edited description
-
repo owner Most likely the exporter is not honoring that material property. I’d also verify that the viewer you’re using honors the property, it’s importer may ignore it.
Please file your defect on the native Assimp issue tracker:
-
repo owner - changed status to resolved
I see this was reported on assimp's tracker. It looks like the problem is due to them using c++ bool rather than aiBool (4 bytes) in the gltf importer.
-
repo owner - changed status to closed
- Log in to comment