I'm trying to find out what is the correct value for field of view in scene kit on ipad and iphone. the default value of 60 degree
has bad effect on a sphere at edge of screen. the sphere gets elliptical shape. A value of 34 degree
causes the skybox to get pixelated. what are the correct values for iPad & iPhone?
_cameraNode = [SCNNode node];
_cameraNode.position = SCNVector3Make(0, 0, 500);
[scene.rootNode addChildNode:_cameraNode];
_cameraNode.camera = [SCNCamera camera];
_cameraNode.camera.automaticallyAdjustsZRange = YES;
#if TARGET_OS_IPHONE
if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPhone) {
_cameraNode.camera.yFov = 55;
} else #endif {
_cameraNode.camera.xFov = 34;
}
scnView.pointOfView = _cameraNode;