-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Faces missing when importing #58
Comments
Does the console log say anything when importing? |
No, there is no error in the console when importing. I also imported the gltf to online gltf viewers, and they look ok. |
I think your importer may not be importing correctly the double sided option, from what I see your doubleSided property on GltfMaterial is never used. The correct use is setting the Culling property in the material according to this property |
Nice find! Yes that could very well be it. I will have a look at that asap |
Any updates on this ? Getting the same issue as well |
Can you check if maybe the face is there when you look at it from its backside? |
Seems that #118 will fix this issue. Didn't go through the whole PR but seems the change did mention In the meantime I am adding solidify modifier to my blender model before export to gltf as a workaround described here: KhronosGroup/glTF-Blender-IO#154 (comment) |
Hi,
I made a model in Sketchup and exported it to gltf using the Khronos plugin. When I import the gltf in Unity, some faces are missing, while everything looks good in the Windows 3D viewer (and sketchup, obviously).
I'm not sure if I'm doing something wrong or if there is a bug in the importer.
Edit : seems there is something wrong with the Khronos gltf exporter itself : I opened the gltf directly in Unity without using your GLTFUtility, and I have the same issue. I also redesigned the missing face without success. Now I don't understand why it looks good in the windows 3d viewer...
Here is the gltf file :
house_2.zip
The missing face is the top floor upper face. It should look like this (screenshot from windows 3d viewer) :
But in unity, the top face is missing :
while the bottom face looks ok :
The text was updated successfully, but these errors were encountered: