Post

Replies

Boosts

Views

Activity

Reply to SceneKits future
Were you ever able to get nonAR mode working? I created the following in Swift Playgrounds but no luck (view is black).import PlaygroundSupport import RealityKit let arView = ARView(frame: .zero, cameraMode: .nonAR, automaticallyConfigureSession: true) let light = PointLight() light.light.intensity = 10000 let lightAnchor = AnchorEntity(world: [0,0,0]) lightAnchor.addChild(light) arView.scene.addAnchor(lightAnchor) let plane = MeshResource.generatePlane(width: 10, depth: 10) let material = SimpleMaterial(color: .white, roughness: 0.5, isMetallic: true) let planeEntity = ModelEntity(mesh: plane, materials: [material]) let planeAnchor = AnchorEntity(world: [0,0,0]) planeAnchor.addChild(planeEntity) arView.scene.addAnchor(planeAnchor) PlaygroundPage.current.setLiveView(arView)
May ’20