AFathi / ARVideoKit

Capture & record ARKit videos 📹, photos 🌄, Live Photos 🎇, and GIFs 🎆.
Apache License 2.0
1.63k stars 225 forks source link

Using custom scncamera issues while recording video deformation occurs #80

Open vikeshj opened 5 years ago

vikeshj commented 5 years ago

Hi, Let me explain you clearly the issue. Create a custom camera and set it to a node. Let cameraNode = SCNNode() cameraNode.camera = SCNCamera() cameraNode.camera.useOrthographic =true zfar= 30 / zNear = 1 For the orthographicScale =3.8 //add the cameraNode to the scene root Node then make the position it to x0,y0,z17 sceneView pointOfView = cameraNode

When you record the video it cut when ur Animoji is in front your face.

Swift 4.2 / If you need more precision let me know thanks

SceneView.pointOfView = cameraNode When you using ARFaceTracking as config, set the background to any color you place a character with blendshapes to mimic.

pptlabs commented 5 years ago

Which iOS device are you using?

SimmaAulakh commented 5 years ago

issue is coming on iPhone 7 but working good on iPhone X