Are they any ways in swift to take high quality pictures with the sceneview camera session like snapchat does? Or at least without the scnnode objects in the picture?
Because I don't want to init a second camera frame to take pictures. I want it to be integrated like snapchat camera.
Best regards, moe
Yep
ARSCNViews have a built in snapshot method that returns a UIImage of the ARScene
So in Objective-C you could do:
UIImage *image = [sceneView snapshot];
and in Swift
var image = sceneView.snapshot()
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.