Capturing Perspective Camera View in RealityKit and Integrating SceneKit with RealityKit

Hello,

I am currently developing an application using RealityKit and I've encountered a couple of challenges that I need assistance with:

Capturing Perspective Camera View: I am trying to render or capture the view from a PerspectiveCamera in RealityKit/RealityView. My goal is to save this view of a 3D model as an image or video using a virtual camera. However, I'm unsure how to access or redirect the rendered output from a PerspectiveCamera within RealityKit. Is there an existing API or a recommended approach to achieve this?

Integrating SceneKit with RealityKit: I've also experimented with using SCNNode and SCNCamera to capture the camera's view, but I'm wondering if SceneKit is directly compatible within a RealityKit scene, specifically within a RealityView.

I would like to leverage the advanced features of RealityKit for managing 3D models. Is saving the virtual view of a camera supported, and if so, what are the best practices?

Any guidance, sample code, or references to documentation would be greatly appreciated.

Thank you in advance for your help!

[````language

  1. [[Jhghjfy [](](](https://www.example.com/)))

[Multiline BlockQuote](https://www.example.com/)

Capturing Perspective Camera View in RealityKit and Integrating SceneKit with RealityKit
 
 
Q