Interactive graphic rendering method and apparatus, and computer storage medium
AssigneeTencent Technology (Shenzhen) Company Limited
InventorsCheng Luo, Bin Li
Life of this patent
Estimating the term…
Abstract
An apparatus may obtain, by a processor, target object data formatted based on a first format. The target object data may include a plurality of element resources for a three dimensional model. The first format comprising a file format for transmission of three-dimensional model data. The apparatus may obtain, by the processor, configuration information associated with the target object data. The apparatus may generate, by the processor, a data packet of a second format based on the target object data and the configuration information. The apparatus may provide, by the processor, the data packet to a terminal device.
Claims17
A method comprising:
- obtaining, by a processor, target object data of a target object, the target object data formatted based on a first format, the target object data comprising a plurality of element resources for a three dimensional model, the first format for transmission of three-dimensional model data;
- obtaining, by the processor, configuration information associated with the target object data;
- generating, by the processor, a data packet of a second format based on the target object data and the configuration information;
- encapsulating rendering instructions in the data packet, wherein the rendering instructions are configured to cause a terminal device to:
- in response to a call instruction for the data packet,
- obtain a rendering parameter from the call instruction,
- render an image layer comprising the target object, and
- set an attribute value of the target object in the image layer to a value in the rendering parameter;
- and
- providing, by the processor, the data packet to the terminal device.
A non-transitory computer readable storage medium comprising:
- a plurality of instructions, the plurality of instructions executable by a processor to:
- obtain target object data of a target object, the target object data formatted based on a first format, the target object data comprising a plurality of element resources for a three dimensional model, the first format for transmission of three-dimensional model data;
- obtain configuration information associated with the target object data;
- generate a data packet of a second format based on the target object data and the configuration information;
- include interaction instructions in the data packet, wherein the interaction instructions are configured to cause a terminal device to:
- detect an operation event for the target object rendered in an image layer;
- in response to detection of the operation event, obtain an operation parameter of the operation event, the operation parameter indicative of movement of the target object, and
- cause the target object to move in the image layer based on the operation parameter;
- and
- provide the data packet to the terminal device.
An apparatus comprising:
- a memory;
- a processor configured to execute a plurality of computer readable instructions stored in the memory to:
- obtain target object data of a target object, the target object data formatted based on a first format, the target object data comprising a plurality of element resources for a three dimensional model, the first format for transmission of three-dimensional model data;
- obtain configuration information associated with the target object data;
- generate a data packet of a second format based on the target object data and the configuration information;
- encapsulate rendering instructions in the data packet, wherein the rendering instructions are configured to cause a terminal device to:
- in response to a call instruction for the data packet,
- obtain a rendering parameter from the call instruction,
- render an image layer comprising the target object, and
- set an attribute value of the target object in the image layer to a value in the rendering parameter;
- and
- provide the data packet to the terminal device.
Dependencies are inferred from the claim text.