Post

Replies

Boosts

Views

Activity

How to change camera orientation of SCNRenderer
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 Landscapehttps://photos.app.goo.gl/jKBrmWSredoK4iuR6record result, it's wrong.https://photos.app.goo.gl/2vhSQyTgarmzxuXe7
2
0
948
Jul ’19