{"id":13,"date":"2016-05-21T12:18:09","date_gmt":"2016-05-21T10:18:09","guid":{"rendered":"https:\/\/blogs.scummvm.org\/iskrich\/?p=13"},"modified":"2022-04-17T12:25:20","modified_gmt":"2022-04-17T10:25:20","slug":"director-the-first-resource-is-ready","status":"publish","type":"post","link":"https:\/\/blogs.scummvm.org\/iskrich\/2016\/05\/21\/director-the-first-resource-is-ready\/","title":{"rendered":"Director: The first resource is ready"},"content":{"rendered":"<p>One of the main resources of the Director is DIB pictures, we will often meet it in our bookshelf animations. In map of objects\u00a0 DIB has FourCC <strong>\u2018DIB \u2018<\/strong> and color palette is\u00a0 \u2018<strong>CLUT<\/strong>\u2018.<\/p>\n<p>We have faced with example with 4bpp pictures (16 colours).\u00a0 Decoding colour table had been no big problem, but at the decoding picture stage\u00a0was seen <span class=\"gt-baf-word-clickable\">absence<\/span> of 4bpp decoder.<\/p>\n<p><!--more--><\/p>\n<p>This has been fixed by adding new codec MSRLE4.<\/p>\n<p><a href=\"https:\/\/github.com\/scummvm\/scummvm\/commit\/d35cdf5009698b74a2d444dea508755a9f5e3cbc\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/scummvm\/scummvm\/commit\/d35cdf5009698b74a2d444dea508755a9f5e3cbc<\/a><\/p>\n<p>Some planets from animation:<\/p>\n<p><a href=\"https:\/\/blogs.scummvm.org\/iskrich\/wp-content\/uploads\/sites\/20\/2016\/05\/2016-05-20-233503_27x26_scrot.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-15\" src=\"https:\/\/blogs.scummvm.org\/iskrich\/wp-content\/uploads\/sites\/20\/2016\/05\/2016-05-20-233503_27x26_scrot.png\" alt=\"\" width=\"27\" height=\"26\" \/><\/a> <a href=\"https:\/\/blogs.scummvm.org\/iskrich\/wp-content\/uploads\/sites\/20\/2016\/05\/2016-05-21-160003_48x48_scrot.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-16\" src=\"https:\/\/blogs.scummvm.org\/iskrich\/wp-content\/uploads\/sites\/20\/2016\/05\/2016-05-21-160003_48x48_scrot.png\" alt=\"\" width=\"48\" height=\"48\" \/><\/a> <a href=\"https:\/\/blogs.scummvm.org\/iskrich\/wp-content\/uploads\/sites\/20\/2016\/05\/2016-05-21-160142_49x91_scrot.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-17\" src=\"https:\/\/blogs.scummvm.org\/iskrich\/wp-content\/uploads\/sites\/20\/2016\/05\/2016-05-21-160142_49x91_scrot.png\" alt=\"\" width=\"49\" height=\"91\" \/><\/a><\/p>\n<p>At the moment we are working with simple examples, where pictures constitute the bulk of casts. So I decided to start working on problems such loading score data (timeline structure) and addition of tempo channel. In the end we will get our first simple movie.<\/p>\n<p>The engine is still available on\u00a0<a href=\"https:\/\/github.com\/iskrich\/director\">https:\/\/github.com\/iskrich\/director<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the main resources of the Director is DIB pictures, we will often meet it in our bookshelf animations. In map of objects\u00a0 DIB has FourCC \u2018DIB \u2018 and color palette is\u00a0 \u2018CLUT\u2018. We have faced with example with 4bpp pictures (16 colours).\u00a0 Decoding colour table had been no big problem, but at the [&hellip;]<\/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-13","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.scummvm.org\/iskrich\/wp-json\/wp\/v2\/posts\/13","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=13"}],"version-history":[{"count":5,"href":"https:\/\/blogs.scummvm.org\/iskrich\/wp-json\/wp\/v2\/posts\/13\/revisions"}],"predecessor-version":[{"id":21,"href":"https:\/\/blogs.scummvm.org\/iskrich\/wp-json\/wp\/v2\/posts\/13\/revisions\/21"}],"wp:attachment":[{"href":"https:\/\/blogs.scummvm.org\/iskrich\/wp-json\/wp\/v2\/media?parent=13"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/iskrich\/wp-json\/wp\/v2\/categories?post=13"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/iskrich\/wp-json\/wp\/v2\/tags?post=13"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}