IP Library › Granted Patent US 12,646,180
Granted Patent B2
US 12,646,180 · App. 18/329,897 · Granted Jun 2, 2026

Method and apparatus for capturing motion trajectory of to-be-rendered virtual object and electronic device

Inventor: Zheng Huang (Shenzhen, CN)
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
G06T7/20G06T17/20G06V10/764G06T2207/30241
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,646,180
App. No.
18/329,897
Granted
Jun 2, 2026
Kind
B2
Abstract

Disclosed is a method for capturing a motion trajectory of a to-be-rendered virtual object, rendering a virtual object, and drawing a tracking primitive, including. determining at least one tracking primitive corresponding to a to-be-rendered virtual object in a virtual scene based on the to-be-rendered virtual object, the tracking primitive corresponding to the to-be-rendered virtual object covering a movable part of the to-be-rendered virtual object; drawing the tracking primitive corresponding to the to-be-rendered virtual object in the virtual scene; and capturing the motion trajectory of the to-be-rendered virtual object in the virtual scene based on a motion trajectory corresponding to the drawn tracking primitive.

Claims (64)

1 . A method for capturing a motion trajectory of a to-be-rendered virtual object, comprising:

determining at least one tracking primitive corresponding to a to-be-rendered virtual object in a virtual scene based on the to-be-rendered virtual object, wherein the at least one tracking primitive covers a movable part of the to-be-rendered virtual object, and wherein the at least one tracking primitive does not cover a whole of the to-be-rendered virtual object;

drawing the at least one tracking primitive in the virtual scene based on following a motion or an attitude of a respective mesh model corresponding to a respective movable part of the to-be-rendered virtual object;

capturing a motion trajectory of the to-be-rendered virtual object in the virtual scene based on a motion of the at least one tracking primitive; and

rendering the to-be-rendered virtual object in the virtual scene based on the motion trajectory.

2 . The method according to claim 1 , wherein the at least one tracking primitive comprises a first tracking primitive and a second tracking primitive, the first tracking primitive following a first mesh model associated with a first moving part of the to-be-rendered virtual object, and the second tracking primitive following a second mesh model associated with a second moving part of the to-be-rendered virtual object.

3 . The method according to claim 1 , wherein the drawing comprises:

classifying the at least one tracking primitive according to primitive types of the at least one tracking primitive, in order to obtain a tracking primitive set corresponding to each of the primitive types; and

submitting, for the tracking primitive set, a draw call for drawing all tracking primitives in the tracking primitive set at a time.

4 . The method according to claim 1 , wherein the drawing comprises:

determining an attribute change of the at least one tracking primitive based on interaction data of each virtual object in the virtual scene and operation data of a controlled virtual object; and

drawing the at least one tracking primitive based on the attribute change corresponding to the at least one tracking primitive.

5 . The method according to claim 1 , further comprising:

determining interaction data corresponding to the at least one tracking primitive based on the drawn tracking primitive; and

determining motion trajectories corresponding to the at least one tracking primitive based on the interaction data.

6 . The method according to claim 1 , wherein the determining comprises:

acquiring a motion state of a to-be-rendered virtual object in the virtual scene;

determining at least one primitive identifier corresponding to the to-be-rendered virtual object based on the motion state of the to-be-rendered virtual object; and

determining the at least one tracking primitive based on the at least one primitive identifier.

7 . The method according to claim 6 , wherein the determining the at least one tracking primitive based on the at least one primitive identifier comprises:

determining, based on the at least one primitive identifier, whether the at least one tracking primitive has been created;

updating a corresponding tracking primitive in a list of to-be-drawn primitives based on determining that the at least one tracking primitive has been created; and

creating the corresponding tracking primitive and adding the corresponding tracking primitive to the list of to-be-drawn primitives in based on determining that the at least one tracking primitive has not been created.

8 . The method according to claim 1 , further comprising:

displaying the to-be-rendered virtual object on a display screen based on the motion trajectory of the to-be-rendered virtual object in the virtual scene.

9 . An apparatus for capturing a motion trajectory of a to-be-rendered virtual object, the apparatus comprising:

at least one non-transitory memory configured to store instructions; and

at least one processor configured to execute the instructions, wherein the instructions, when executed by the at least one processor, cause the at least one processor to:

determine at least one tracking primitive corresponding to a to-be-rendered virtual object in a virtual scene based on the to-be-rendered virtual object, wherein the at least one tracking primitive covers a movable part of the to-be-rendered virtual object, and wherein the at least one tracking primitive does not cover a whole of the to-be-rendered virtual object;

draw the at least one tracking primitive in the virtual scene based on following a motion or an attitude of a respective mesh model corresponding to a respective movable part of the to-be-rendered virtual object;

capture a motion trajectory of the to-be-rendered virtual object in the virtual scene based on a motion of the at least one tracking primitive; and

render the to-be-rendered virtual object in the virtual scene based on the motion trajectory.

10 . The apparatus according to claim 9 , wherein the at least one tracking primitive comprises a first tracking primitive and a second tracking primitive, the first tracking primitive following a first mesh model associated with a first moving part of the to-be-rendered virtual object, and and the second tracking primitive following a second mesh model associated with a second moving part of the to-be-rendered virtual object.

11 . The apparatus according to claim 9 , wherein the drawing comprises:

classifying the at least one tracking primitive according to primitive types of the at least one tracking primitive, in order to obtain a tracking primitive set corresponding to each of the primitive types; and

submitting, for the tracking primitive set, a draw call for drawing all tracking primitives in the tracking primitive set at a time.

12 . The apparatus according to claim 9 , wherein the drawing comprises:

determining an attribute change of the at least one tracking primitive based on interaction data of each virtual object in the virtual scene and operation data of a controlled virtual object; and

drawing the at least one tracking primitive based on the attribute change corresponding to the at least one tracking primitive.

13 . The apparatus according to claim 9 , wherein the instructions when executed by the at least one processor, further cause the at least one processor to:

determine interaction data corresponding to the at least one tracking primitive based on the at least one tracking primitive; and

determine motion trajectories corresponding to the at least one tracking primitive based on the interaction data.

14 . The apparatus according to claim 9 , wherein the determining comprises:

acquiring a motion state of a to-be-rendered virtual object in the virtual scene;

determining at least one primitive identifier corresponding to the to-be-rendered virtual object based on the motion state of the to-be-rendered virtual object; and

determining the at least one tracking primitive based on the at least one primitive identifier.

15 . The apparatus according to claim 14 , wherein the determining the at least one tracking primitive based on the at least one primitive identifier comprises:

determining, based on the at least one primitive identifier, whether the at least one tracking primitive has been created;

updating a corresponding tracking primitive in a list of to-be-drawn primitives based on determining that the at least one tracking primitive has been created; and

creating the corresponding tracking primitive and adding the corresponding tracking primitive to the list of to-be-drawn primitives in based on determining that the at least one tracking primitive has not been created.

16 . The apparatus according to claim 9 , wherein the instructions when executed by the at least one processor, further cause the at least one processor to:

displaying the to-be-rendered virtual object on a display screen based on the motion trajectory of the to-be-rendered virtual object in the virtual scene.

17 . A non-transitory computer-readable medium containing program code which, when executed by at least one processor of a device for capturing a motion trajectory of a to-be-rendered virtual object, causes the at least one processor to:

determine at least one tracking primitive corresponding to a to-be-rendered virtual object in a virtual scene based on the to-be-rendered virtual object, wherein the at least one tracking primitive covers a movable part of the to-be-rendered virtual object, and wherein the at least one tracking primitive does not cover a whole of the to-be-rendered virtual object;

draw the at least one tracking primitive in the virtual scene based on following a motion or an attitude of a respective mesh model corresponding to a respective movable part of the to-be-rendered virtual object;

capture a motion trajectory of the to-be-rendered virtual object in the virtual scene based on a motion of the at least one tracking primitive; and

render the to-be-rendered virtual object in the virtual scene based on the motion trajectory.

18 . The non-transitory computer-readable medium according to claim 17 , wherein the at least one tracking primitive comprises a first tracking primitive and a second tracking primitive, the first tracking primitive following a first mesh model associated with a first moving part of the to-be-rendered virtual object, and the second tracking primitive following a second mesh model associated with a second moving part of the to-be-rendered virtual object.

19 . The non-transitory computer-readable medium of claim 17 , wherein to draw the at least one tracking primitive, the program code is further configured to cause the at least one processor to:

classify the at least one tracking primitive according to primitive types of the at least one tracking primitive, in order to obtain a tracking primitive set corresponding to each of the primitive types; and

submit, for the tracking primitive set, a draw call for drawing all tracking primitives in the tracking primitive set at a time.

20 . The non-transitory computer-readable medium of claim 17 , wherein to draw the at least one tracking primitive, the program code is further configured to cause the at least one processor to:

determine an attribute change of the at least one tracking primitive based on interaction data of each virtual object in the virtual scene and operation data of a controlled virtual object; and

draw the at least one tracking primitive based on the attribute change corresponding to the at least one tracking primitive.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 6, 2023
From: HUANG, ZHENG
To: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Reel/Frame 063869/0035 →
Priority Claims (1)
CN 202210056206.0 · Jan 18, 2022 · national
Continuity (2)
Continuation PCTCN2022130798 · Nov 9, 2022
Related Publication 20230316541A1 · Oct 5, 2023
References Cited (13)
US 10699490B2 · Kinstner · 2020 [cited by examiner]
US 11636568B2 · Hagland · 2023 [cited by examiner]
US 12169877B2 · Hagland · 2024 [cited by examiner]
US 20020133264A1 · Maiteh · 2002 [cited by examiner]
CN 101315703A · 2008 [cited by applicant]
CN 101819684A · 2010 [cited by applicant]
CN 108961376A · 2018 [cited by applicant]
CN 111383313A · 2020 [cited by applicant]
CN 113064540A · 2021 [cited by applicant]
CN 114419099A · 2022 [cited by applicant]
JP 2017188041A · 2017 [cited by applicant]
International Search Report for PCT/CN2022/130798, dated Jan. 20, 2023. [cited by applicant]
Written Opinion for PCT/CN2022/130798, dated Jan. 20, 2023. [cited by applicant]