发明名称 Dynamic Generation Of Texture Atlases
摘要 Systems, methods and program storage devices are disclosed, which comprise instructions to cause one or more processing units to analyze input images to a texture atlas and determine how each texture should be modified before being stored in the texture atlas to prevent undesirable drawing artifacts. For example, “tileable” images may be identified on a per-edge basis (e.g., by determining whether each edge pixel is above a certain opacity threshold). The tileable images may then be modified, e.g., by extruding a 1-pixel border identical to the outer row of pixels, before being stored in the texture atlas. “Character”-type sprites may also be identified on a per-edge basis (e.g., by determining whether each edge pixel is below the opacity threshold). The character-type sprites may then by modified by adding a single pixel transparent border around the outer rows of pixels before being stored in the texture atlas.
申请公布号 US2015348280(A1) 申请公布日期 2015.12.03
申请号 US201414292742 申请日期 2014.05.30
申请人 Apple Inc. 发明人 Oriol Timothy R.;Porcino Domenico P.;Gasselin de Richebourg Jacques P.;Wang Norman N.
分类号 G06T7/40;G06T7/00 主分类号 G06T7/40
代理机构 代理人
主权项 1. A non-transitory program storage device, readable by a programmable control device and comprising instructions stored thereon to cause one or more processing units to: obtain a first plurality of input images; generate a texture atlas comprising the first plurality of input images; determine a type of interpolation mode for each edge of each image in the first plurality of input images, wherein the instructions to determine the type of interpolation mode for each edge of an image further comprise instructions to: identify tileable edges based, at least in part, on determining that greater than or equal to a first number of edge pixels in the edge have opacity values above a first threshold, andidentify non-tileable edges based, at least in part, on determining that less than the first number of edge pixels in the edge have opacity values above the first threshold; and for each edge of each image in the first plurality of images: if the edge has been identified as tileable, extrude a one or more pixel border identical to the edge pixels around the edge; andif the edge has been identified as non-tileable, extrude a one or more pixel transparent border around the edge.
地址 Cupertino CA US