Questions tagged [scnview]
7 questions
1
vote
0 answers
How to get the current width angle of the frustrum of the camera in scene kit, for the currently running device, screen etc?
using unprojectPoint simply doesn't work, it's broken or buggy
cam.fieldOfView just doesn't work, it returns strange values in all cases
xFov and yFov (deprecated) simply don't work now (and never did)
(Incredibly, I have to do this now, to…

Fattie
- 27,874
- 70
- 431
- 719
1
vote
2 answers
How to animate the background color of a scene view (SCNView). Note, not a scene (SCNScene), or conventional UIView
Is it possible to animate the .backgroundColor property of an SCNView?
Please note, it is easy to animate the background of an actual scene (SCNScene) and I know how to do that. It is also easy to animate the background of a conventional…

Fattie
- 27,874
- 70
- 431
- 719
1
vote
1 answer
Crash when instantiating ARSCNView for the second time
I have a problem in my iPhone app when trying to instantiate an ARSCNView again, after destroying it.
In my ViewController I programmatically create an ARSCNView for motion capture interaction:
func addARSceneView() {
arSceneView =…

Marc-André Weibezahn
- 619
- 8
- 15
1
vote
1 answer
How can I force full screen mode with SCNView on iOS?
If I am creating a SCNView its fullscreen on iPad simulator, but on iPhone its just a vertical centered frame. The width is correct, but the height is too small. I tried a lot, but nothing has an effect on the size of the SCNView.
What I…

Marc
- 11
- 1
0
votes
1 answer
Swift SceneView increase the thickness of a wireframe
In Swift using a SceneView how would i go about increasing the line thickness of a wireframe / line. Here's some example code of my SceneView etc
// Create an array of SCNVector3 representing the points
var points =…

JSW
- 3
- 2
0
votes
1 answer
SCNAction causing scene kit renderer to crash
I have a game made of several chessboards set up in an AR environment.
I need at some point to have some of the chessboards to blink.
I'm doing it with a SCNAction executed in the renderer loop of the scene as described below.
func renderer(_…

Jonah Begood
- 317
- 2
- 14
-2
votes
3 answers
SceneKit – Make higher resolution in SCNView
I am using SceneKit and I hate the resolution of the geometry. I read developer documentation and other websites. I found an article on the developer documentation. It gave me this image:
But couldn't find any information how to do that, only…

Michael
- 185
- 1
- 11