metersPerUnit

I am trying to load dynamic 3d assets, so I don't have a clue about the scale upfront. Loading them via SceneKit doesn't give me any information on the metersPerUnit metadata property that is now set. However in AR Quick Look it seems that this logic is applied in eg the Files app.


What is the best way to get this information inside an app like eg the ARKitInteraction demo app from Apple? If you load the wheelbarrow or any other 3D object from the gallery, it shows way too big in this demo.


Source:

https://graphics.pixar.com/usd/docs/api/group___usd_geom_linear_units__group.html#gae2a143e28507a6ccf045a453faa60e7d

  • I'd also like to know how QuickLook gets this metadata. You can set it via RealityConverter but I have yet to find any public iOS API that will let me read it.

Add a Comment