Title: tool to capture glsl shaders to video Post by: TruthSerum on May 30, 2015, 11:45:21 PM Does this already exist? If it does I won't bother work on it anymore. There is currently no support for textures or anti-aliasing.
https://www.youtube.com/watch?v=qooJLRNQE7I I have not yet compiled it for Windows. Please let me know if you would find this useful. ***** EDIT ***** Based on comments in this thread, I decided to build the tool for Windows and make it available (http://www.fractalforums.com/general-discussion/shadercap-1-0-release-for-windows/). Title: Re: tool to capture glsl shaders to video Post by: cKleinhuis on May 31, 2015, 12:02:11 AM ??? why not use fragmentarium/synthclipse for such task ?!?!?
they both feature easy rendering options, they both feature subframe rendering, multipart rendering e.g. 15 steps to render 1 frame (for global illumination shader implementations that collect light throughout several passes) , or render a huge image composed out of smaller parts (far larger than anything that a gpu could handle in one step) they are exactly the same as the one you showed, with far more additional features like automatic user interfaces for slider parameter generation .... ;) :D Title: Re: tool to capture glsl shaders to video Post by: TruthSerum on May 31, 2015, 12:07:38 AM Thanks, I'll look at these tools.
Title: Re: tool to capture glsl shaders to video Post by: cKleinhuis on May 31, 2015, 12:16:34 AM they both come along with example scripts, dont be confused from the many includes sometimes, this feature is provided by the programs
beside of that it is plain GLSL and needs just a main() method that fills the gl_FragColor and using the default glsl names for input params like texture coordinates and such Title: Re: tool to capture glsl shaders to video Post by: TruthSerum on May 31, 2015, 12:23:29 AM They are nice tools, but they are full IDE's for shader building, while this tool is just for generating videos of a specified resolution, framerate, duration, and bitrate, suitable for uploading to youtube.
Title: Re: tool to capture glsl shaders to video Post by: cKleinhuis on May 31, 2015, 12:43:29 AM yay, they both render single frame sequnces that need to be converted to an avi, i for myself still use good old "virtualdub" for doing such
Title: Re: tool to capture glsl shaders to video Post by: 3dickulus on May 31, 2015, 03:05:26 AM @TruthSerum I would find this very useful, in particular, as a feature for Fragmentarium so I can avoid generating folders full of thousands of images and record straight to a single file :D
after rendering 3000 frames I use a command like... Code: ffmpeg -f image2 -s 640x360 -i investigate.%05d.png -r 60000/1001 -c:v libx264 -preset veryslow -crf 25 investigate.mkv && mplayer -loop 0 investigate.mkv Title: Re: tool to capture glsl shaders to video Post by: TruthSerum on May 31, 2015, 05:41:24 PM OK, because you said it might be useful I made a Windows build and posted the info and download link here (http://www.fractalforums.com/general-discussion/shadercap-1-0-release-for-windows/).
Please let me know if you get around to trying it and have any success or problems with it! Title: Re: tool to capture glsl shaders to video Post by: 3dickulus on May 31, 2015, 05:56:49 PM Any chance of posting a source zip for us linux users? ;)
Title: Re: tool to capture glsl shaders to video Post by: TruthSerum on May 31, 2015, 06:09:06 PM Hi, I've been told it runs under Wine. The code is bad, so until I've had a chance to clean it up, I'd rather not post it just yet :'(
Title: Re: tool to capture glsl shaders to video Post by: TruthSerum on June 01, 2015, 02:03:01 AM I made a few sample captures of ShaderToy shaders: Emerging by Kali (https://www.shadertoy.com/view/XlfGWl) https://www.youtube.com/watch?v=3BsrFMqnv-k Tokyo by reinder (https://www.shadertoy.com/view/Xtf3zn) https://www.youtube.com/watch?v=McpL1w-IvHs SoftShadowTest by me (https://www.shadertoy.com/view/4l23zy) https://www.youtube.com/watch?v=wut5bZ9zE6c |