{"id":605,"date":"2013-09-10T21:11:50","date_gmt":"2013-09-10T13:11:50","guid":{"rendered":"http:\/\/konsolscript.sf.net\/web\/?p=605"},"modified":"2013-09-11T13:46:08","modified_gmt":"2013-09-11T05:46:08","slug":"scripting-visual-effects","status":"publish","type":"post","link":"http:\/\/konsolscript.sourceforge.net\/web\/2013\/09\/10\/scripting-visual-effects\/","title":{"rendered":"Scripting Visual Effects"},"content":{"rendered":"<p>Found another use case for KonsolScript!  Scripting Visual FX for videos. \ud83d\ude00<\/p>\n<p>Yes, is some ways it still is game-related &#8212; kind of like scripting an explosion when the player throws a bomb or something.  But this use case is basically pre-rendering FX then saving it as frames to be used as a clip on a video.<\/p>\n<p>No, KonsolScript doesn&#8217;t have the capability to create an image file on your disk.  Yet.  But with a few modifications, it does now. \ud83d\ude00<\/p>\n<p>Introducing <strong><code>Screen:Capture(filename)<\/code><\/strong> command!<\/p>\n<p>I figured, this function can also be used when you want your players help you debug your game.<\/p>\n<p>Visual FX does sound like an exaggeration to describe my experiment.  It&#8217;s actually more of automating my task of doing a simple animation for a skateboarding video ad.  But still, any one can always script a particle system and use it as a Visual FX of a fire, smoke, or explosion for a clip &#8212; and I believe KonsolScript can do that as well.<\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.facebook.com\/video\/embed?video_id=10202039466929842\" width=\"720\" height=\"480\" frameborder=\"0\"><a href=\"https:\/\/www.facebook.com\/photo.php?v=10202039466929842\">https:\/\/www.facebook.com\/photo.php?v=10202039466929842<\/a><\/iframe><\/p>\n<p>You may not know this but I&#8217;ve long been restraining myself from using proprietary tools (except for Windows so I could make sure Quixie does run on Windows as it does on GNU\/Linux, and except for Windows Movie Maker &#8212; let&#8217;s face it, there really is no other good Free and Open Source video editing software that runs right out of the box and is easy to use).<\/p>\n<p>So I&#8217;ve created a 30-second video using only Free and Open Source software namely GIMP, Inkscape, Audacity, FFMPEG, and KonsolScript &#8212; with Windows Movie Maker being the only non-FOSS software involved (and Windows, of course).<\/p>\n<p>So where did KonsolScript came in to the view?  It was when I needed a transition of the following photo below.<\/p>\n<p>I&#8217;m pretty sure that no other ready-made open source video editing tool (not even Movie Maker) could do this simple animation.<br \/>\n<img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/konsolscript.sf.net\/web\/wp-content\/uploads\/2013\/09\/edit_zoom.png\" alt=\"\" title=\"edit_zoom\" width=\"559\" height=\"341\" class=\"aligncenter size-full wp-image-610\" srcset=\"http:\/\/konsolscript.sourceforge.net\/web\/wp-content\/uploads\/2013\/09\/edit_zoom.png 559w, http:\/\/konsolscript.sourceforge.net\/web\/wp-content\/uploads\/2013\/09\/edit_zoom-300x183.png 300w\" sizes=\"(max-width: 559px) 100vw, 559px\" \/><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/konsolscript.sf.net\/web\/wp-content\/uploads\/2013\/09\/edit_slide.png\" alt=\"\" title=\"edit_slide\" width=\"559\" height=\"341\" class=\"aligncenter size-full wp-image-609\" srcset=\"http:\/\/konsolscript.sourceforge.net\/web\/wp-content\/uploads\/2013\/09\/edit_slide.png 559w, http:\/\/konsolscript.sourceforge.net\/web\/wp-content\/uploads\/2013\/09\/edit_slide-300x183.png 300w\" sizes=\"(max-width: 559px) 100vw, 559px\" \/><\/p>\n<p>With time running out, there&#8217;s no way I could learn Blender&#8217;s Video Sequence editor and do this simple less-than-two-seconds animation.  In less than 5 minutes, I updated Quixie, wrote the script for the animation and I&#8217;m done!<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/konsolscript.sf.net\/web\/wp-content\/uploads\/2013\/09\/edit_ks.gif\" alt=\"\" title=\"edit_ks\" width=\"360\" height=\"240\" class=\"aligncenter size-full wp-image-614\" srcset=\"http:\/\/konsolscript.sourceforge.net\/web\/wp-content\/uploads\/2013\/09\/edit_ks.gif 360w, http:\/\/konsolscript.sourceforge.net\/web\/wp-content\/uploads\/2013\/09\/edit_ks-300x200.gif 300w\" sizes=\"(max-width: 360px) 100vw, 360px\" \/><\/p>\n<p>It&#8217;s not officially out yet &#8212; I&#8217;m still working on the release-process like committing it on SVN, updating the installer, etc.<\/p>\n<p>Just a side note, we currently have a company activity that includes video editing &#8212; I&#8217;m excited to see how KonsolScript will help in generating some of the effects\/animation.<\/p>\n<p>~creek23<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Found another use case for KonsolScript! Scripting Visual FX for videos. \ud83d\ude00 Yes, is some ways it still is game-related &#8212; kind of like scripting an explosion when the player throws a bomb or something. But this use case is basically pre-rendering FX then saving it as frames to be used as a clip on [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[10,13,9,19,27],"_links":{"self":[{"href":"http:\/\/konsolscript.sourceforge.net\/web\/wp-json\/wp\/v2\/posts\/605"}],"collection":[{"href":"http:\/\/konsolscript.sourceforge.net\/web\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/konsolscript.sourceforge.net\/web\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/konsolscript.sourceforge.net\/web\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/konsolscript.sourceforge.net\/web\/wp-json\/wp\/v2\/comments?post=605"}],"version-history":[{"count":11,"href":"http:\/\/konsolscript.sourceforge.net\/web\/wp-json\/wp\/v2\/posts\/605\/revisions"}],"predecessor-version":[{"id":617,"href":"http:\/\/konsolscript.sourceforge.net\/web\/wp-json\/wp\/v2\/posts\/605\/revisions\/617"}],"wp:attachment":[{"href":"http:\/\/konsolscript.sourceforge.net\/web\/wp-json\/wp\/v2\/media?parent=605"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/konsolscript.sourceforge.net\/web\/wp-json\/wp\/v2\/categories?post=605"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/konsolscript.sourceforge.net\/web\/wp-json\/wp\/v2\/tags?post=605"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}