{"id":26,"date":"2016-06-03T12:27:28","date_gmt":"2016-06-03T10:27:28","guid":{"rendered":"https:\/\/blogs.scummvm.org\/iskrich\/?p=26"},"modified":"2022-04-17T12:30:36","modified_gmt":"2022-04-17T10:30:36","slug":"director-first-official-gsoc-days","status":"publish","type":"post","link":"https:\/\/blogs.scummvm.org\/iskrich\/2016\/06\/03\/director-first-official-gsoc-days\/","title":{"rendered":"Director: First official GSOC days"},"content":{"rendered":"<p>In previous post I promised to implement frame by frame system and deal with transparent objects.<\/p>\n<p>At the beginning, I have written tempo channel handler. And depending on the frame tempo value (FPS\/Delay) , it can determine time for next frame. Some examples:<!--more--><br \/>\n<a href=\"https:\/\/blogs.scummvm.org\/iskrich\/wp-content\/uploads\/sites\/20\/2016\/06\/zwwxaiq.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-28\" src=\"https:\/\/blogs.scummvm.org\/iskrich\/wp-content\/uploads\/sites\/20\/2016\/06\/zwwxaiq.gif\" alt=\"\" width=\"250\" height=\"250\" \/><\/a><a href=\"https:\/\/blogs.scummvm.org\/iskrich\/wp-content\/uploads\/sites\/20\/2016\/06\/on4ggoo.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-29\" src=\"https:\/\/blogs.scummvm.org\/iskrich\/wp-content\/uploads\/sites\/20\/2016\/06\/on4ggoo.gif\" alt=\"\" width=\"450\" height=\"250\" \/><\/a>In fact, movie frames also can be on a loop by simple Lingo script.<\/p>\n<p>Works was also done:<\/p>\n<ul>\n<li>Reading movie configuration<\/li>\n<li>Movie labels data<\/li>\n<li>Reading (and only reading) scripts on frames.<\/li>\n<\/ul>\n<p>\u2026 some work with transparence was done. Sprites have Ink flag, this value have many things to tell.<\/p>\n<p><a href=\"https:\/\/github.com\/iskrich\/director\/commit\/de091c5c349aa2db44bc687512db8d43e98ade60#diff-8da28a5f47239b5c921121ad166958eeR73\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/iskrich\/director\/commit\/de091c5c349aa2db44bc687512db8d43e98ade60#diff-8da28a5f47239b5c921121ad166958eeR73<\/a><\/p>\n<p>Little was achieved: <span class=\"blob-code-inner\"><span class=\"pl-c1\">BackgndTrans<\/span> (all white pixels must be removed) and more complex Matte (all white pixels out of object must be removed). Of course, future targets: cover all Ink\u2019s. <\/span><\/p>\n<p><span class=\"blob-code-inner\">To achieve that objective, I\u2019ll start testing more powerful movie examples then catching new sprite types. <\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In previous post I promised to implement frame by frame system and deal with transparent objects. At the beginning, I have written tempo channel handler. And depending on the frame tempo value (FPS\/Delay) , it can determine time for next frame. Some examples:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-26","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.scummvm.org\/iskrich\/wp-json\/wp\/v2\/posts\/26","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.scummvm.org\/iskrich\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.scummvm.org\/iskrich\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/iskrich\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/iskrich\/wp-json\/wp\/v2\/comments?post=26"}],"version-history":[{"count":2,"href":"https:\/\/blogs.scummvm.org\/iskrich\/wp-json\/wp\/v2\/posts\/26\/revisions"}],"predecessor-version":[{"id":30,"href":"https:\/\/blogs.scummvm.org\/iskrich\/wp-json\/wp\/v2\/posts\/26\/revisions\/30"}],"wp:attachment":[{"href":"https:\/\/blogs.scummvm.org\/iskrich\/wp-json\/wp\/v2\/media?parent=26"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/iskrich\/wp-json\/wp\/v2\/categories?post=26"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/iskrich\/wp-json\/wp\/v2\/tags?post=26"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}