Posts

Post not yet marked as solved
2 Replies
1.7k Views
Hello, I was wondering if anyone knows how to change the orientation of the SCNRenderer's camera using ARKit, perferably using SCNRenderer's render function. I'm trying to render the ARSCNView into a MTLTexture using a second SCNRenderer.I am trying to get the same behavior as the ARSCNView, in which the 3D annotations are renderer correctly onto the screen. However, I have tried using both SCNRenderer's snapshot and render methods and they both produces images that has the camera feed (background) in the correct orientation but the annotations in the portrait orientation. Whenever I try to change the orientation of my point of view, the image is rendered in the incorrect orientation.I know that ARSCNView has its own snapshot function which gives a UIImage of the camera feed and annotations in the correct orientation, but it does not preform fast enough for what I need.Any help is appreciated.
Posted
by GR_.
Last updated
.