Same .glb model, but shown differently in iOS and Android. #4551
Unanswered
streetcodec
asked this question in
Q&A
Replies: 1 comment
-
Best guess is you're using double-sided or back-sided materials. I'd recommend using only front-sided and then fix your triangle winding until the correct surfaces are shown. There are incompatibilities between glTF and USDZ in how double-sided is handled, so best to avoid relying on it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have create a 3D model. A painting and it's frame. While it is working perfectly well in Android, there is strange error in iOS.
![WhatsApp Image 2023-11-01 at 12 22 23 PM](https://cdn.statically.io/img/private-user-images.githubusercontent.com/92046906/279598338-89503455-3236-487f-a89d-79aeec5d1d98.jpeg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE0MTQxOTIsIm5iZiI6MTcyMTQxMzg5MiwicGF0aCI6Ii85MjA0NjkwNi8yNzk1OTgzMzgtODk1MDM0NTUtMzIzNi00ODdmLWE4OWQtNzlhZWVjNWQxZDk4LmpwZWc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzE5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxOVQxODMxMzJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kMDgzZjc5MmZmYmM0YTUyZjI1OTI0ZDVmMjNkMGM0ZDg5MDhmNGYyNmZkNTM0ZDM2YjBlMDU0MThlYzJlYTQ4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.HOMm4V0SEn2um7RrYHxNs1qIkwzwuOeyNDiKrd4gTHE)
![WhatsApp Image 2023-11-01 at 12 22 23 PM(1)](https://cdn.statically.io/img/private-user-images.githubusercontent.com/92046906/279598649-1e3954ae-8e0c-4958-a9a7-8ef747663f90.jpeg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE0MTQxOTIsIm5iZiI6MTcyMTQxMzg5MiwicGF0aCI6Ii85MjA0NjkwNi8yNzk1OTg2NDktMWUzOTU0YWUtOGUwYy00OTU4LWE5YTctOGVmNzQ3NjYzZjkwLmpwZWc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzE5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxOVQxODMxMzJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01NzcyZDBjZmQwMzg1NzhjNzgwZTNiN2VkM2UxOWVmYzY5M2Q3N2U0ZjI2Y2ViYWQwMzY4OWUwMTQ2MGQxOTMxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.tItTiTr4JYmP8-OL-YM7usKUsb5H3G7elC8TLHj_PfQ)
![WhatsApp Image 2023-11-01 at 12 22 23 PM(2)](https://cdn.statically.io/img/private-user-images.githubusercontent.com/92046906/279598833-cfc2f723-09d9-460c-9a02-b10ac93d0efa.jpeg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE0MTQxOTIsIm5iZiI6MTcyMTQxMzg5MiwicGF0aCI6Ii85MjA0NjkwNi8yNzk1OTg4MzMtY2ZjMmY3MjMtMDlkOS00NjBjLTlhMDItYjEwYWM5M2QwZWZhLmpwZWc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzE5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxOVQxODMxMzJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wYmQyZjM5YmQ1NmUzYzEyY2IwOTAwY2JlZTZlNGRjYmI0MjA3MzJjZTYxYzU0OGI1MDEzYmFjM2ZiMzdmYWJiJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.v-rl2wNxADcNwMxy1tuevRWe8B-N2pXJVh3QHkQfp4g)
The iOS just doesn't show the back side of the frame, when viewing the frame upfront, but rotating the frame shows it. How to rectify it? I am adding examples to make the question more clear.
This is the Android Version, working perfectly fine :
Now this is the iOS version. You can see space between outer frame and the painting.
Now even stranger, if I rotate the object, the back side of the frame reveals itself.
I have made the object inside blender, and used a single cube to make the frame. So how come this happens?
Beta Was this translation helpful? Give feedback.
All reactions