Hi, I’m interested in finding the best way to programatically render a scene from a list of predefined camera positions/orientations, capturing the framebuffer at each position. I intend to do some processing on the framebuffer at each location in realtime so saving to a file/movie is undesirable.
I’m currently doing this by placing a custom Actor in the scene that on every Tick() moves the player camera and then calls FScreenshotRequest::RequestScreenshot(). When I’m done I then read the files back in.
This is obviously really slow, and the file writes are unnecessary. I would also prefer not to have to tick the game loop as well.
I’ve tried grabbing the Viewport directly and pumping it through a series of TakeHighResScreenShot() / Draw() commands–and this works but I can’t seem to move the camera in between draws. The camera doesn’t move until the game loop ticks.
Any thoughts or ideas? Thanks!