ShaderEditor icon indicating copy to clipboard operation
ShaderEditor copied to clipboard

Rendering to file

Open fekga opened this issue 9 years ago • 5 comments

It would be a nice feature to render the shader output to a file (only an image, or even a video). It is possible to capture the output with screenshot or screen recording but with low-fps shaders the video will be lagging.

fekga avatar Feb 18 '16 07:02 fekga

Good idea. Images are probably simple because the thumbnails are generated from shader output already. Have a look at ShaderRenderer::saveThumbnail(). So that would require only some UI.

To capture video output, an additional library would be required (like jcodec). And it probably will have an impact on performance too. But it's still a nice idea.

markusfisch avatar Feb 18 '16 13:02 markusfisch

Oh, I just learned MediaMuxer is available from API level 18. That may be an interesting option too.

markusfisch avatar Feb 18 '16 13:02 markusfisch

That's great news! It would be nice to set a length for the rendering too (seconds or frames).

fekga avatar Feb 29 '16 09:02 fekga

How is this issue going? Will there be any news on this?It would be a really nice feature!

fekga avatar Aug 07 '16 14:08 fekga

Yes, I know, but unfortunately I didn't had the time yet. It's still on the list.

markusfisch avatar Aug 07 '16 18:08 markusfisch