# US 2023/0267664 A1 · Animation processing method and apparatus, electronic device and storage medium

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0267664 A1
- Document ID: US20230267664A1
- Status: Published application
- Kind: A1
- Application number: 18/005,547
- Filed: 2021-07-01
- Published: 2023-08-24
- Earliest claimed: 2020-07-16
- Assignees: Beijing Bytedance Network Technology Co., Ltd.; Bytedance Inc.
- Applicants: Beijing Bytedance Network Technology Co., Ltd.; Bytedance Inc.
- Inventors: Jingcong ZHANG; Beixin HU; Yuanlong CHEN; Zhili CHEN; Linjie LUO; Jing LIU; Xiao YANG; Guohui WANG; Jianchao YANG
- Web page: https://patentgrep.com/patent/US20230267664A1

## CPC

- G06T 13/00: Animation
- G06T 13/20: Three-dimensional [3D] animation
- G06T 19/006: {Mixed reality (object pose determination, tracking or camera calibration for mixed reality G06T7/00)}
- G06T 19/20: Editing of three-dimensional [3D] images, e.g. changing shapes or colours, aligning objects or positioning parts
- G06T 2219/2012: Colour editing, changing, or manipulating; Use of colour codes
- G06T 2219/2016: Rotation, translation, scaling
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

An animation processing method and apparatus, an electronic device and a storage medium, applied to a shader, the method including: acquiring an animation sample of a model unit; acquiring an external interaction parameter of an augmented reality model, where the augmented reality model includes a plurality of model units; and outputting the augmented reality model, and driving the animation sample of the model unit in the output augmented reality model according to the external interaction parameter. The animation sample of the model unit can be driven according to the external interaction parameter, so that animation of the model can be adjusted according to user operation, thereby improving usability.

## Claims

### Claim at position 1

1-18. (canceled)

### Claim 19

An animation processing method, applied to a shader, comprising:
acquiring an animation sample of a model unit;
acquiring an external interaction parameter of an augmented reality model, wherein the augmented reality model includes a plurality of model units; and
outputting the augmented reality model, and driving the animation sample of the model unit in the output augmented reality model according to the external interaction parameter.

### Claim 20 (depends on 19)

The method according to claim 19, wherein the acquiring the animation sample of the model unit comprises:
acquiring a first animation sample of the model unit, wherein the first animation sample represents an animation of rotating the model unit along a preset coordinate axis at a center point of the model unit;
acquiring a second animation sample of the model unit, wherein the second animation sample represents an animation of the model unit jumping on a preset coordinate axis.

### Claim 21 (depends on 20)

The method according to claim 20, wherein before outputting the augmented reality model, the method further comprises:
setting attribute information of the model unit, wherein the attribute information comprises one or more of: vertex coordinates, center point coordinates, a rotating start parameter or a jumping start parameter, the rotating start parameter represents whether the first animation sample is allowed to be driven, and the jumping start parameter represents whether the second animation sample is allowed to be driven.

### Claim 22 (depends on 21)

The method according to claim 21, wherein the acquiring the animation sample of the model unit comprises:
acquiring a third animation sample of the model unit, wherein the third animation sample represents that a surface texture or color of the model unit changes periodically.

### Claim 23 (depends on 22)

The method according to claim 22, wherein the acquiring the external interaction parameter of the augmented reality model comprises:
determining a preset coordinate axis of the first animation sample according to any of the following: a swiping direction of a swiping trajectory input by a user on a terminal screen; or a capturing direction of a terminal with respect to a captured object to which the augmented reality model is mapped; or a direction of movement of a camera of a terminal; and
determining a jumping amplitude of the model unit jumping on the preset coordinate axis in the second animation sample, according to a beat, a downbeat or music intensity of target audio; and
processing a surface pattern of the model unit in the third animation sample according to a Perlin noise algorithm.

### Claim 24 (depends on 23)

The method according to claim 23, wherein after driving the animation sample of the model unit in the output augmented reality model according to the external interaction parameter, the method further comprises:
determining an adjustment parameter according to bone detection or face detection, wherein the adjustment parameter is used to control a driving degree of the first animation sample, the second animation sample or the third animation sample; and
adjusting the model unit in the output augmented reality model according to the adjustment parameter.

### Claim 25 (depends on 19)

The method according to claim 19, wherein the model unit is a cubic unit; the augmented reality model is a building model; and the building model comprises a plurality of cubic units.

### Claim 26

An animation generating apparatus, applied to a shader, comprising:
at least one processor; and
a memory communicatively connected to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor is configured to:
acquire an animation sample of a model unit;
acquire an external interaction parameter of an augmented reality model, wherein the augmented reality model includes a plurality of model units;
output the augmented reality model, and drive the animation sample of the model unit in the output augmented reality model according to the external interaction parameter.

### Claim 27 (depends on 26)

The animation generating apparatus according to claim 26, wherein the at least one processor is configured to:
acquire a first animation sample of the model unit, wherein the first animation sample represents an animation of rotating the model unit along a preset coordinate axis at a center point of the model unit;
acquire a second animation sample of the model unit, wherein the second animation sample represents an animation of the model unit jumping on a preset coordinate axis.

### Claim 28 (depends on 27)

The animation generating apparatus according to claim 27, wherein the at least one processor is configured to:
set attribute information of the model unit, wherein the attribute information comprises one or more of: vertex coordinates, center point coordinates, a rotating start parameter or a jumping start parameter, the rotating start parameter represents whether the first animation sample is allowed to be driven, and the jumping start parameter represents whether the second animation sample is allowed to be driven.

### Claim 29 (depends on 28)

The animation generating apparatus according to claim 28, wherein the at least one processor is configured to:
acquire a third animation sample of the model unit, wherein the third animation sample represents that a surface texture or color of the model unit changes periodically.

### Claim 30 (depends on 29)

The animation generating apparatus according to claim 29, wherein the at least one processor is configured to:
determine a preset coordinate axis of the first animation sample according to any of the following: a swiping direction of a swiping trajectory input by a user on a terminal screen; or a capturing direction of a terminal with respect to a captured object to which the augmented reality model is mapped; or a direction of movement of a camera of a terminal;
determine a jumping amplitude of the model unit jumping on the preset coordinate axis in the second animation sample, according to a beat, a downbeat or music intensity of target audio; and
process a surface pattern of the model unit in the third animation sample according to a Perlin noise algorithm.

### Claim 31 (depends on 30)

The animation generating apparatus according to claim 30, wherein the at least one processor is configured to:
determine an adjustment parameter according to bone detection or face detection, wherein the adjustment parameter is used to control a driving degree of the first animation sample, the second animation sample or the third animation sample; and
adjust the model unit in the output augmented reality model according to the adjustment parameter.

### Claim 32 (depends on 26)

The animation generating apparatus according to claim 26, wherein the model unit is a cubic unit; the augmented reality model is a building model; and the building model comprises a plurality of cubic units.

### Claim 33

A non-transitory storage medium, comprising a computer-executable instruction, wherein the computer-executable instruction, when executed by a computer, causes the computer to implement steps of:
acquiring an animation sample of a model unit;
acquiring an external interaction parameter of an augmented reality model, wherein the augmented reality model includes a plurality of model units; and
outputting the augmented reality model, and driving the animation sample of the model unit in the output augmented reality model according to the external interaction parameter.

### Claim 34 (depends on 33)

The non-transitory storage medium according to claim 33, wherein the computer-executable instruction, when executed by a computer, further causes the computer to implement the following steps:
acquiring a first animation sample of the model unit, wherein the first animation sample represents an animation of rotating the model unit along a preset coordinate axis at a center point of the model unit;
acquiring a second animation sample of the model unit, wherein the second animation sample represents an animation of the model unit jumping on a preset coordinate axis.

### Claim 35 (depends on 34)

The non-transitory storage medium according to claim 34, wherein the computer-executable instruction, when executed by a computer, further causes the computer to implement the following steps:
setting attribute information of the model unit, wherein the attribute information comprises one or more of: vertex coordinates, center point coordinates, a rotating start parameter or a jumping start parameter, the rotating start parameter represents whether the first animation sample is allowed to be driven, and the jumping start parameter represents whether the second animation sample is allowed to be driven.

### Claim 36 (depends on 35)

The non-transitory storage medium according to claim 35, wherein the computer-executable instruction, when executed by a computer, further causes the computer to implement the following steps:
acquiring a third animation sample of the model unit, wherein the third animation sample represents that a surface texture or color of the model unit changes periodically.

### Claim 37 (depends on 36)

The non-transitory storage medium according to claim 36, wherein the computer-executable instruction, when executed by a computer, further causes the computer to implement the following steps:
determining a preset coordinate axis of the first animation sample according to any of the following: a swiping direction of a swiping trajectory input by a user on a terminal screen; or a capturing direction of a terminal with respect to a captured object to which the augmented reality model is mapped; or a direction of movement of a camera of a terminal; and
determining a jumping amplitude of the model unit jumping on the preset coordinate axis in the second animation sample, according to a beat, a downbeat or music intensity of target audio; and
processing a surface pattern of the model unit in the third animation sample according to a Perlin noise algorithm.

### Claim 38 (depends on 37)

The non-transitory storage medium according to claim 37, wherein the computer-executable instruction, when executed by a computer, further causes the computer to implement the following steps:
determining an adjustment parameter according to bone detection or face detection, wherein the adjustment parameter is used to control a driving degree of the first animation sample, the second animation sample or the third animation sample; and
adjusting the model unit in the output augmented reality model according to the adjustment parameter.
