0 Replies
      Latest reply on Jul 10, 2019 12:07 PM by Juerry
      Juerry Level 1 Level 1 (0 points)

        I am showing AR in Landscape. And I used the SCNRenderer to record the AR interface, but the camera's orientation is wrong.

         

        self.renderer = [SCNRenderer rendererWithDevice:nil options:nil];
        self.renderer.scene = [self.delegate currentScene];
        UIImage *image = [self.renderer snapshotAtTime:time withSize:CGSizeMake(SCREEN_WIDTH, SCREEN_HEIGHT) antialiasingMode:SCNAntialiasingModeMultisampling4X];
        

         

        Is there any better way to record the scene?

        show in Landscape

        https://photos.app.goo.gl/jKBrmWSredoK4iuR6

         

        record result, it's wrong.

        https://photos.app.goo.gl/2vhSQyTgarmzxuXe7