AR Quick Look renders USDZ rectangle as oval on newer iPhones

I’m using AR Quick Look via <a rel="ar"> (I dont know what this means) for a web-based art catalogue. (I generate usdz in a script on github and display

The same USDZ behaves differently:

iPhone 6 — iOS 12.5.8: renders correctly as a rectangular painting. iPhone 12 — current iOS: renders as an oval, with no visible thickness. The USDZ renders correctly as a rectangle with thickness in other web/USD viewers. Geometry is explicitly rectangular with two triangular faces, UVs, normals and physical dimensions.

Is there a known AR Quick Look / RealityKit compatibility issue with simple textured rectangular USDZ meshes on newer iOS versions?

// I have no background in coding but this seems to be a bug on the latest quicklook software?? github here if it helps: https://github.com/mrkritor-ui/KRITOR

Answered by in 901877022

Looking at the assets in your github repo, I believe the issue is that you are expecting them to render as polygons but they are actually rendering as subdivision surfaces.

This is because you're not specifying subdivisionScheme for the meshes in the asset.

By default, if no subdivisionScheme is authored on the mesh, it defaults to catmullClark, which would cause a rectangle to subdivide into an oval shape.

See https://openusd.org/release/api/class_usd_geom_mesh.html#details

To address this, add the following property to the Body and Artwork Mesh prims in your USD

uniform token subdivisionScheme = "none"
Accepted Answer

Looking at the assets in your github repo, I believe the issue is that you are expecting them to render as polygons but they are actually rendering as subdivision surfaces.

This is because you're not specifying subdivisionScheme for the meshes in the asset.

By default, if no subdivisionScheme is authored on the mesh, it defaults to catmullClark, which would cause a rectangle to subdivide into an oval shape.

See https://openusd.org/release/api/class_usd_geom_mesh.html#details

To address this, add the following property to the Body and Artwork Mesh prims in your USD

uniform token subdivisionScheme = "none"
AR Quick Look renders USDZ rectangle as oval on newer iPhones
 
 
Q