How to export Viewport GL visualizer PyroFX output into PNG?

   249   2   2
User Avatar
Member
1 posts
Joined: 7月 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
4 posts
Joined: 11月 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.
User Avatar
Member
119 posts
Joined: 12月 2019
Offline
Looks like a use case for the OpenGL ROP node [www.sidefx.com].

Just needs to setup a camera with the orientation you are looking for, then render scene using OpenGL node to PNG sequence.
Houdini Pipeline Supervisor @ TAT Studio
  • Quick Links