3

I'm trying to render objects further away than 1000.

let box = SCNBox(width: 500, height: 500, length: 500, chamferRadius: 0)
let boxNode = SCNNode(geometry: box)
boxNode.position = SCNVector3(0, 0, -2000)
sceneView.scene.rootNode.addChildNode(boxNode)

From this this answer I know that ARKit directly sets SCNCamera's projectionTransform. So is there anyway I change this projectionTransform in order to render objects further away?

Andy Jazz
  • 49,178
  • 17
  • 136
  • 220
Nilsymbol
  • 515
  • 1
  • 9
  • 25

1 Answers1

0

In ARKit | SceneKit app, if a distance from ARCamera to 3D model is greater than 1000 meters SceneKit's shader violently begins flickering, and approximately at 1600 meters model disappears completely.

enter image description here

ARCamera doesn't render application's 3D content. This shader's artifact is SceneKit's rendering engine issue. So, you have nothing to do with that at the moment.

Andy Jazz
  • 49,178
  • 17
  • 136
  • 220