{"id":4202,"date":"2013-09-18T13:02:06","date_gmt":"2013-09-18T04:02:06","guid":{"rendered":"http:\/\/www.webtech.co.jp\/help\/en\/spritestudio\/spriteanimation-2\/about-cautions-when-placing-respective-animation-parts-in-the-texture\/"},"modified":"2018-07-31T10:28:38","modified_gmt":"2018-07-31T01:28:38","slug":"animeparts_in_texture","status":"publish","type":"page","link":"https:\/\/www.webtech.co.jp\/help\/en\/spritestudio\/manual_document\/spriteanimation\/animeparts_in_texture\/","title":{"rendered":"About cautions when placing respective animation parts in the texture"},"content":{"rendered":"<p>When the Sprite animation is tried with the recent GPU (Graphic Processing Unit: graphic drawing function), it is a general technique that the pattern designs of parts used by plural Sprites are collectively placed in one texture. Generally, it will mean that the pattern designs used by the group of plural Sprites\u2019 parts used for Animation (pattern designs for parts, hereinafter) are collectively placed in one texture.<\/p>\n<p>There are some \u201crecommended matters to be observed\u201d when placing the parts\u2019 group for each Sprite into the single texture.<\/p>\n<div>\n<ul class=\"simple\">\n<li>The left-upper placement position of pattern designs for parts must be at the pixel position of the multiple of 8 or 16<\/li>\n<li>Both horizontal and vertical sizes of the pattern designs for parts must be the number of pixels of the multiple of 8 or 16, respectively.<\/li>\n<li>Never place pixels on the boundary of pattern designs for parts (Be sure to enclose parts with 1 to 2 transparent pixels).<\/li>\n<\/ul>\n<p>The above issue comes from the fact that, when the recent hardware specifies pixels to be drawn, it specifies the so-called \u201cUV coordinates\u201d i.e., \u201cthe proportional position when the horizontal and vertical sizes of texture are made to be 1.0\u201d.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" class=\"size-full wp-image-524 aligncenter\" height=\"312\" src=\"https:\/\/www.webtech.co.jp\/help\/wp-content\/uploads\/2013\/06\/PartsLimit.png\" style=\"\" title=\"\" width=\"320\" \/><\/p>\n<p>Generally, the UV coordinates are handled by the \u201cFloating-Point number\u201d method.<\/p>\n<p>But, in case of the decimals handled by this \u201cFloating-Point number\u201d, there happens to be \u201cerror\u201d.<\/p>\n<p>Therefore, the above-mentioned recommended matters are the measures to create the state to \u201cprevent those errors\u201d and \u201cprevent influences upon the screen even if erroneous\u201d.<\/p>\n<p>In such cases, on the hardware to operate, as \u201cTrash (Never drawn pixel\u2019s color) appears at the edge of Sprite\u2019s parts\u201d and \u201cThe Sprite\u2019s pattern design is displayed fuzzy.\u201d, please check the above recommended matters.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>When the Sprite animation is tried with the recent GPU (Graphic Processing Unit: graphic drawing function), it..<\/p>\n","protected":false},"author":33,"featured_media":0,"parent":4240,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page_eng_ss.php","meta":{"_acf_changed":false,"footnotes":""},"tags":[],"class_list":["post-4202","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.webtech.co.jp\/help\/wp-json\/wp\/v2\/pages\/4202","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webtech.co.jp\/help\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.webtech.co.jp\/help\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.webtech.co.jp\/help\/wp-json\/wp\/v2\/users\/33"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webtech.co.jp\/help\/wp-json\/wp\/v2\/comments?post=4202"}],"version-history":[{"count":0,"href":"https:\/\/www.webtech.co.jp\/help\/wp-json\/wp\/v2\/pages\/4202\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.webtech.co.jp\/help\/wp-json\/wp\/v2\/pages\/4240"}],"wp:attachment":[{"href":"https:\/\/www.webtech.co.jp\/help\/wp-json\/wp\/v2\/media?parent=4202"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webtech.co.jp\/help\/wp-json\/wp\/v2\/tags?post=4202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}