US 12,450,816 B2
Appearance editing method and apparatus for virtual pet, terminal, and storage medium
Yingting Zhu, Shenzhen (CN)
Assigned to TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED, Shenzhen (CN)
Filed by Tencent Technology (Shenzhen) Company Limited, Guangdong (CN)
Filed on May 30, 2023, as Appl. No. 18/325,617.
Application 18/325,617 is a continuation of application No. PCT/CN2022/118479, filed on Sep. 13, 2022.
Claims priority of application No. 202111308492 (CN), filed on Nov. 5, 2021.
Prior Publication US 2023/0298253 A1, Sep. 21, 2023
Int. Cl. G06T 15/04 (2011.01); G06T 3/40 (2024.01); G06V 10/56 (2022.01)
CPC G06T 15/04 (2013.01) [G06T 3/40 (2013.01); G06V 10/56 (2022.01)] 19 Claims
OG exemplary drawing
 
1. A method for editing an appearance of a virtual pet, the method being performed by a processor in a terminal, the method comprising:
obtaining a first layer mapping of the virtual pet, the first layer mapping comprising a base appearance feature of the virtual pet;
generating a target texture mapping corresponding to the a target appearance feature in response to an editing operation on the target appearance feature, wherein the target appearance feature is different than the base appearance of the virtual pet;
obtaining a target texture mapping of the virtual pet by overlaying the first layer mapping of the virtual pet with at least one layer of target masked texture mapping, wherein each layer of the target masked texture mapping corresponds to a different target appearance feature;
based on the target texture mapping and the first layer mapping being different in size, scaling the target texture mapping in accordance with a size of the first layer mapping such that a size of the scaled target texture mapping matches the size of the first layer mapping; and
applying the target texture mapping to a preset three-dimensional model of the virtual pet.