Reputation: 322
I’m developing an AR app using ARKit in Xcode, and I’ve integrated a 3D model of Saturn including its rings and other planets. While testing on my iPhone, I noticed that the rings appear cut off in the AR view, but in Xcode’s SceneKit preview, the full model (including the rings) is rendered correctly. All other planets are showing up correctly. To add, the sphere of the planet is visible in the region where the ring is clipped.
bodyEntity = try! ModelEntity.loadModel(named: "saturn_model.usdz")
bodyEntity.scale = SIMD3<Float>(1.0, 1.0, 1.0)
I tried changing the orientation of the model, size, and axis (position) but everywhere the rings are cut. What should I try? Where I am going wrong?
Upvotes: 1
Views: 34