question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Please add remark about differing size units between glTF/glb and USDZ

See original GitHub issue

The README recommends to use meter as unit size. Note about units and model size in AR. Please add a note that USDZ exports should be in centimeter instead and may need scaling, or iOS users will see models 100 times smaller.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
pushmatrixcommented, Oct 9, 2019

FYI metersPerUnit is now working in iOS13. It also supports channel packing, so it will use the same ORM texture from the glb in the usdz.

The problem is that this will only work on iOS13. It will be ignored on iOS12 resulting in the model being way too big.

How we got around it at Shopify is to only show the AR badge on iOS13 and above.

2reactions
PixelPartnercommented, May 21, 2019

Please make sure, the usd file has a metersPerUnit setting for its UsdStage or Quicklook will default to centimeters and assets will look 100 times smaller than the gltf version.

Am 21.05.2019 um 06:59 schrieb Christopher Joel notifications@github.com:

@PixelPartner ultimately we are not in control of what a user decides to set as their metersPerUnit. I will propose that we change our documentation to remind users that while we recommend metersPerUnit should be set to 1, ultimately they must decide for themselves what the value should be.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

Read more comments on GitHub >

github_iconTop Results From Across the Web

glTF, GLB, and USDZ - Sketchfab Help Center
glTF is a 3D file format maintained by the Khronos Group. It is an all-purpose transmission format, but it has been adopted by...
Read more >
Export formats - Keyshot Manual
Export units lets you change the units for the STL file, note that size of the model is not converted, so changing the...
Read more >
Сan there be different "input" values in one "samplers" (glTF ...
I'm trying to understand the format of glTF, tell me please. Сan there be different "input" ...
Read more >
AR Model Editor - Kivicube Docs
Please click the below link to download the "Kivicube AR Model Editor" from ... FBX and exporting in USDZ, Apple's native conversion capability...
Read more >
@google/model-viewer - npm
Include both scripts below to support all browsers! ... that the models unit size be in meters, such that a 1.5 unit tall...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found