# US 2025/0085984 A1 · Data processing method and apparatus, and electronic device and readable medium

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

- Number: US 2025/0085984 A1
- Document ID: US20250085984A1
- Status: Published application
- Kind: A1
- Application number: 18/726,840
- Filed: 2022-06-20
- Published: 2025-03-13
- Earliest claimed: 2022-01-29
- Assignees: Netease (Hangzhou) Network Co., Ltd.
- Applicants: Netease (Hangzhou) Network Co., Ltd.
- Inventors: Jian WANG
- Web page: https://patentgrep.com/patent/US20250085984A1

## CPC

- G06F 9/451: Execution arrangements for user interfaces
- G06F 3/04845: for image manipulation, e.g. dragging, rotation, expansion or change of colour
- G06F 3/04883: for inputting data by handwriting, e.g. gesture or text
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A data processing method includes obtaining, in response to a touch control operation on a virtual model, a first grid position of the touch control operation in a model grid of the virtual model at a (n+1)-th timepoint, where n≥1; determining, based on the first grid position, a first texture position of a texture map of the virtual model; obtaining information, in a render texture corresponding to the touch control operation at an n-th timepoint, of a color of a historical touch control region of the touch control operation; obtaining, a target color of the first texture position by mixing the color of the historical touch control region with a color of the first texture position; updating the color of the first texture position of the texture map as the target color; and rendering, based on the texture map as updated, the virtual model at the (n+1)-th timepoint.

## Claims

### Claim 1

A data processing method, comprising:
obtaining, by an electronic device in response to a touch control operation on a virtual model, a first grid position of the touch control operation in a model grid of the virtual model at a (n+1)-th timepoint, wherein n≥1;
determining, by the electronic device based on the first grid position, a first texture position of a texture map of the virtual model;
obtaining, by the electronic device, in a render texture corresponding to the touch control operation at an n-th timepoint, information of a color of a historical touch control region of the touch control operation, wherein the render texture is a texture generated based on a color of a historical position of the touch control operation in the texture map;
obtaining, by the electronic device, a target color of the first texture position by mixing the color of the historical touch control region with a color of the first texture position;
updating, by the electronic device, the color of the first texture position of the texture map as the target color; and
rendering, by the electronic device based on the texture map as updated, the virtual model at the (n+1)-th timepoint.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the determining the first texture position comprises:
determining whether an overlap is present between a preset region mask and the first grid position;
determining, in response to determining that the overlap is present, a region in the first grid position outside the overlap between the first grid position and the region mask as a target grid position; and
determining, based on the target grid position, the first texture position of the texture map of the virtual model.

### Claim 3 (depends on 1)

The method according to claim 1, further comprising:
obtaining the render texture corresponding to the n-th timepoint by capturing, based on a virtual camera, the historical touch control region corresponding to the touch control operation at the n-th timepoint.

### Claim 4 (depends on 1)

The method according to claim 1, further comprising:
determining whether an overlap is present between a preset region mask and the historical touch control region; and
obtaining, in response to determining that the overlap is present, the render texture corresponding to the n-th timepoint by capturing, based on a virtual camera, a region in the historical touch control region outside the overlap.

### Claim 5 (depends on 1)

The method according to claim 1, further comprising:
obtaining an initial grid position of the touch control operation in the model grid of the virtual model at a first timepoint;
determining, based on the initial grid position, an initial texture position of the texture map of the virtual model;
updating a color of the initial texture position of the texture map as a preset initial color; and
rendering, based on the texture map as updated through the preset initial color, the virtual model at the first timepoint.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the obtaining the target color of the first texture position comprises:
determining a first mixing proportion corresponding to the historical touch control region, and a second mixing proportion corresponding to the first texture position; and
obtaining the target color of the first texture position by mixing, based on the first mixing proportion and the second mixing proportion, the color of the historical touch control region with the color of the first texture position.

### Claim at position 7

7-8. (canceled)

### Claim 9

An electronic device, comprising a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;
the memory is configured to store a computer program; and
the processor, through executing the program stored in the memory, is configured to:
obtain, in response to a touch control operation on a virtual model, a first grid position of the touch control operation in a model grid of the virtual model at a (n+1)-th timepoint, wherein n≥1;
determine, based on the first grid position, a first texture position of a texture map of the virtual model;
obtain information, in a render texture corresponding to the touch control operation at an n-th timepoint, of a color of a historical touch control region of the touch control operation, wherein the render texture is a texture generated based on a color of a historical position of the touch control operation in the texture map;
obtain, a target color of the first texture position by mixing the color of the historical touch control region with a color of the first texture position;
update the color of the first texture position of the texture map as the target color; and
render, based on the texture map as updated, the virtual model at the (n+1)-th timepoint.

### Claim 10

A non-transitory computer-readable medium, storing an instruction that, when executed by one or more processors, causes the processor to perform a data processing method, wherein the method comprises:
obtaining, in response to a touch control operation on a virtual model, a first grid position of the touch control operation in a model grid of the virtual model at a (n+1)-th timepoint, wherein n≥1;
determining, based on the first grid position, a first texture position of a texture map of the virtual model;
obtaining information, in a render texture corresponding to the touch control operation at an n-th timepoint, of a color of a historical touch control region of the touch control operation, wherein the render texture is a texture generated based on a color of a historical position of the touch control operation in the texture map;
obtaining, a target color of the first texture position by mixing the color of the historical touch control region with a color of the first texture position;
updating the color of the first texture position of the texture map as the target color; and
rendering, based on the texture map as updated, the virtual model at the (n+1)-th timepoint.

### Claim 11 (depends on 3)

The method according to claim 3, wherein the obtaining the render texture comprises:
determining whether an overlap is present between a preset region mask and the historical touch control region; and
obtaining, in response to determining that the overlap is present, the render texture by capturing, based on the virtual camera, a region in the historical touch control region outside the overlap.

### Claim 12 (depends on 1)

The method according to claim 1, wherein the touch control operation is configured for controlling a brush mask, and the obtaining the first grid position comprises:
determining a position in the model grid of the virtual model covered by the brush mask at the (n+1)-th timepoint as the first grid position.

### Claim 13 (depends on 1)

The method according to claim 1, wherein the determining the first texture position comprises:
determining the first texture position based on a preset correspondence relationship between a grid position of the model grid in a three-dimensional space and a texture position of the texture map of the virtual model.

### Claim 14 (depends on 1)

The method according to claim 1, wherein the touch control operation is a continuous and uninterrupted movement.

### Claim 15 (depends on 6)

The method according to claim 6, wherein as a value of n+1 decreases, the first mixing proportion increases and the second mixing proportion decreases; and
as the value of n+1 increases, the first mixing proportion decreases and the second mixing proportion increases.

### Claim 16 (depends on 9)

The electronic device according to claim 9, wherein the processor is specifically configured to:
determine whether an overlap is present between a preset region mask and the first grid position;
determine, in response to determining that the overlap is present, a region in the first grid position outside the overlap between the first grid position and the region mask as a target grid position; and
determine, based on the target grid position, the first texture position of the texture map of the virtual mode.

### Claim 17 (depends on 9)

The electronic device according to claim 9, wherein the processor is further configured to:
obtain the render texture corresponding to the n-th timepoint by capturing, based on a virtual camera, the historical touch control region corresponding to the touch control operation at the n-th timepoint.

### Claim 18 (depends on 9)

The electronic device according to claim 9, wherein the processor is further configured to:
determine whether an overlap is present between a preset region mask and the historical touch control region; and
obtain, in response to determining that the overlap is present, the render texture by capturing, based on the virtual camera, a region in the historical touch control region outside the overlap.

### Claim 19 (depends on 9)

The electronic device according to claim 9, wherein the processor is further configured to:
obtain an initial grid position of the touch control operation in the model grid of the virtual model at a first timepoint;
determine, based on the initial grid position, an initial texture position of the texture map of the virtual model;
update a color of the initial texture position of the texture map as a preset initial color; and
render, based on the texture map as updated through the preset initial color, the virtual model at the first timepoint.

### Claim 20 (depends on 9)

The electronic device according to claim 9, wherein the processor is specifically configured to:
determine a first mixing proportion corresponding to the historical touch control region, and a second mixing proportion corresponding to the first texture position; and
obtain the target color of the first texture position by mixing, based on the first mixing proportion and the second mixing proportion, the color of the historical touch control region with the color of the first texture position.

### Claim 21 (depends on 10)

The non-transitory computer-readable medium according to claim 10, wherein the determining the first texture position comprises:
determining whether an overlap is present between a preset region mask and the first grid position;
determining, in response to determining that the overlap is present, a region in the first grid position outside the overlap between the first grid position and the region mask as a target grid position; and
determining, based on the target grid position, the first texture position of the texture map of the virtual model.

### Claim 22 (depends on 10)

The non-transitory computer-readable medium according to claim 10, wherein the method further comprises:
obtaining the render texture corresponding to the n-th timepoint by capturing, based on a virtual camera, the historical touch control region corresponding to the touch control operation at the n-th timepoint.
