US12530846B2ActiveUtilityA1

Batch rendering method and apparatus, device, and storage medium

54
Assignee: BEIJING ZITIAO NETWORK TECHNOLOGY CO LTDPriority: Apr 22, 2022Filed: Oct 27, 2022Granted: Jan 20, 2026
Est. expiryApr 22, 2042(~15.8 yrs left)· nominal 20-yr term from priority
Inventors:DU JING
G06T 15/205G06T 15/005G06T 13/40G06V 10/54G06V 10/80G06T 17/20
54
PatentIndex Score
0
Cited by
23
References
3
Claims

Abstract

A batch rendering method includes: acquiring a model list corresponding to a to-be-rendered role, wherein the model list includes at least one to-be-rendered three-dimensional model; searching the at least one to-be-rendered three-dimensional model according to a preset batch rendering condition to determine to-be-merged models, where each of the to-be-merged models is a to-be-rendered three-dimensional model satisfying the preset batch rendering condition; performing model data merging in set different merging properties according to model data sets corresponding to the searched to-be-merged models to obtain merged data in each of the merging properties; and acquiring the merged data in each of the merging properties based on a generated batch rendering instruction to perform a rendering presentation of images corresponding to the searched to-be-merged models.

Claims

exact text as granted — not AI-modified
What is claimed is: 
     
         1 . A batch rendering method, comprising:
 acquiring a model list corresponding to a to-be-rendered character, wherein the model list comprises a plurality of to-be-rendered three-dimensional models;   searching the plurality of to-be-rendered three-dimensional models for to-be-rendered three-dimensional models which are associated with identical configuration information of a rendering pipeline, and taking the to-be-rendered three-dimensional models which are associated with the identical configuration information of the rendering pipeline as a plurality of to-be-merged models;   acquiring a plurality of model data sets which are in one-to-one correspondence with the plurality of to-be-merged models, wherein each of the plurality of model data sets comprises a texture belonging to a texture property;   extracting the texture from each of the plurality of model data sets and performing texture sorting in a descending order of texture dimensions of extracted textures to form a texture list;   determining a target texture dimension according to a maximum texture dimension in the texture list, and constructing a texture array comprising a plurality of array levels; wherein each of the plurality of array levels has a size identical to the target texture dimension;   filling the plurality of array levels with the extracted textures in a sequence of the texture list to merge the extracted textures, so as to obtain merged texture data; and   acquiring the merged texture data based on a generated batch rendering instruction, and performing a rendering presentation of images corresponding to the plurality of to-be-merged models through the rendering pipeline.   
     
     
         2 . An electronic device, comprising:
 at least one processor; and   a storage apparatus configured to store at least one program;   wherein the at least one program, when executed by the at least one processor, causes the at least one processor to perform a batch rendering method,   wherein the batch rendering method comprises:   acquiring a model list corresponding to a to-be-rendered character, wherein the model list comprises a plurality of to-be-rendered three-dimensional models;   searching the plurality of to-be-rendered three-dimensional models for to-be-rendered three-dimensional models which are associated with identical configuration information of a rendering pipeline, and taking the to-be-rendered three-dimensional models which are associated with the identical configuration information of the rendering pipeline as a plurality of to-be-merged models;   acquiring a plurality of model data sets which are in one-to-one correspondence with the plurality of to-be-merged models, wherein each of the plurality of model data sets comprises a texture belonging to a texture property;   extracting the texture from each of the plurality of model data sets and performing texture sorting in a descending order of texture dimensions of extracted textures to form a texture list;   determining a target texture dimension according to a maximum texture dimension in the texture list, and constructing a texture array comprising a plurality of array levels; wherein each of the plurality of array levels has a size identical to the target texture dimension;   filling the plurality of array levels with the extracted textures in a sequence of the texture list to merge the extracted textures, so as to obtain merged texture data; and   acquiring the merged texture data based on a generated batch rendering instruction, and performing a rendering presentation of images corresponding to the plurality of to-be-merged models through the rendering pipeline.   
     
     
         3 . A non-transitory storage medium including computer-executable instructions which, when executed by a computer processor, cause the computer processor to perform a batch rendering method,
 wherein the batch rendering method comprises:   acquiring a model list corresponding to a to-be-rendered character, wherein the model list comprises a plurality of to-be-rendered three-dimensional models;   searching the plurality of to-be-rendered three-dimensional models for to-be-rendered three-dimensional models which are associated with identical configuration information of a rendering pipeline, and taking the to-be-rendered three-dimensional models which are associated with the identical configuration information of the rendering pipeline as a plurality of to-be-merged models;   acquiring a plurality of model data sets which are in one-to-one correspondence with the plurality of to-be-merged models, wherein each of the plurality of model data sets comprises a texture belonging to a texture property;   extracting the texture from each of the plurality of model data sets and performing texture sorting in a descending order of texture dimensions of extracted textures to form a texture list;   determining a target texture dimension according to a maximum texture dimension in the texture list, and constructing a texture array comprising a plurality of array levels; wherein each of the plurality of array levels has a size identical to the target texture dimension;   filling the plurality of array levels with the extracted textures in a sequence of the texture list to merge the extracted textures, so as to obtain merged texture data; and   acquiring the merged texture data based on a generated batch rendering instruction, and performing a rendering presentation of images corresponding to the plurality of to-be-merged models through the rendering pipeline.

Cited by (0)

No later patents cite this yet.

References (0)

No backward citations on record.