发明名称 Shadow generation
摘要 Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, for generating shadows. In one aspect, a method includes identifying a two-dimensional image representing an icon and a two-dimensional image representing a light source, applying an affine transformation to a transparency channel of the image representing the icon, the affine transformation projecting pixels of the transparency channel into three-dimensional space, and generating a field of pixels representing a shadow cast by the icon by computing a portion of the light source that is visible to pixels of the field by subtracting rows of a matrix that represents the affine transformation from rows of a matrix that represents the transparency channel of the light source image, and computing brightness of each of the generated pixels of the field based at least partly on the computed portion of the visible light source.
申请公布号 US8643678(B1) 申请公布日期 2014.02.04
申请号 US20100975690 申请日期 2010.12.22
申请人 JACOBS AARON;APPLETON BENJAMIN C.;GOOGLE INC. 发明人 JACOBS AARON;APPLETON BENJAMIN C.
分类号 G09G5/00;G06T15/50;G06T15/60;G09G5/02 主分类号 G09G5/00
代理机构 代理人
主权项
地址