How to export Viewport GL visualizer PyroFX output into PNG?

   99   1   1
User Avatar
Member
1 posts
Joined: July 2018
Offline
Anybody knows how to write out into PNG the animation frames the OpenGL viewport visualizer shows me?
This out into PNG:



I have pyrobakevolume1. It plays a beautiful animation and I don't need renderer, because it looks already perfect for pixel art.

Where ever I roll the camera and play my 200 frames of PyroFX fire, it should write out that exact GL viewport angle into PNG. Or some image format I can convert into PNG.

Is it possible?

Or should I use a third party software like ScreenRecorder?
I'm going to export the animation into OpenVDB for 3ds Max to render this fire in Arnold, because at least that I know, how.

But rotating the GL Viewport into an arbitrary exact angle and saving out everything from that - designated AREA? - like 'Area-render' in Maya/Max framebuffer, would be very excellent! Because it would be instant and the GL visualizer fireball already looks exactly the quality I need.

Attachments:
pyrobakevolume1-to-PNG-how[1].png (120.7 KB)

User Avatar
Member
2 posts
Joined: Nov. 2024
Offline
You can capture OpenGL viewport frames using `glReadPixels` and save them as PNGs with Pillow. Just read the pixel data, flip it vertically, and save it as an image. This method gives better quality than screen recording and allows full control over the frames.
  • Quick Links