A view for displaying AR experiences that augment the camera view with 3D SceneKit content.
Questions tagged [arscnview]
83 questions
0
votes
1 answer
How to set preferredRenderingAPI for ARSCNView in Xcode IB
In my ARKit application ARSCNView is initialized and attached to ViewController internally based on storyboard file structure. So in function viewDidLoad I have already initialized view.
But the problem is it uses default rendering API metal. But I…

Andrey Honich
- 41
- 1
- 4
0
votes
1 answer
Getting the world x, y, and z of placed SCNNode - Swift
My objective is to generate a SCNNode in the middle of another SCNNode that contains a SCNPlane.
The SCNPlane is generated in a renderer function like this:
func renderer(_ renderer: SCNSceneRenderer, didAdd node: SCNNode, for anchor: ARAnchor) {
…

user287474
- 325
- 1
- 5
- 19
0
votes
1 answer
Scaling 3D objects to same size and placing them at exactly 1m away from iphone/ipad camera using Arkit
I need to scale a set of 3D objects to same size and place them at a distance of 1m from the iPad. I am having an transparent image on the screen just above the ARSCNView and I am trying to overlap the 3d object exactly in behind the transparent…

ManjunathK
- 377
- 3
- 13
0
votes
0 answers
ARSCNView.delegate is nil even i set to self
I have a sceneview in my controller and i set its delegate to self but its delegate methods are not getting called. While debugging, i set delegate to self but its not working. Please help. Here is my code
override func viewDidLoad() {
…

Ghulam Rasool
- 3,996
- 2
- 27
- 40
0
votes
1 answer
How to Zoom .DAE 3D model using ARKit iOS
I have a 3D model with .scn extension. How to zoom it with pinch gesture without virtualobject file from iOS sample Placing Objects application.
Pinch gesture works well with .scn's if its converted from .obj file. But its not working with .dae…

user6685121
- 11
- 1
0
votes
2 answers
Use an ARSCNView on devices that don't support ARKit
Is it possible to use an ARSCNView, configure it with an ARWorldTrackingConfiguration for device that support it, and configure it another way for devices that don't support it (with A8 chip and lower) and still have the video render in the…

Marie Dm
- 2,637
- 3
- 24
- 43
0
votes
1 answer
ARSCNView's root node's "heading" doesn't match the device heading
I want a node which I add to my scene to point north. I get the heading data from Core Location, so that represents the direction the device is currently facing at the point my scene was created (and thus the direction my root node faces), and then…

Andrew
- 7,693
- 11
- 43
- 81
-1
votes
1 answer
Scale down SCNNode based on its SCNView size or phone screen size
I have a big SCNNode and I want to scale it down. Currently node is scaled down based on a magic number. However the node should be scaled down based on the phone's screen size or node's SCNView size.
To make things easier I thought of having a…

ddeger
- 1