Unlock instant, AI-driven research and patent intelligence for your innovation.

H5-based 3D model loading optimization method and system

A model and 3D technology, applied in the computer field, can solve problems such as affecting the operation experience, blocking browser UI interaction, etc., to achieve the effect of improving efficiency, optimizing loading experience, and improving loading speed

Pending Publication Date: 2021-10-15
FUJIAN TQ DIGITAL
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] When traditionally using WebGL (full-written Web Graphics Library, which is a 3D drawing protocol) to display 3D models, because the loading of the model requires a lot of calculations, it will seriously block the UI interaction of the browser and affect the operating experience.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • H5-based 3D model loading optimization method and system
  • H5-based 3D model loading optimization method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The present invention will be further described below in conjunction with the accompanying drawings.

[0020] see figure 1 Shown, a kind of H5-based 3D model loading optimization method of the present invention, described method comprises the following steps:

[0021] Step S1, load the model list, and encapsulate different loaders into different script files;

[0022] Step S2, matching different loaders according to the model type;

[0023] Step S3, calling the JS multi-thread module, and sharing data between the main and secondary threads through the data interaction monitoring function of the main and secondary threads;

[0024] Step S4, insert the result calculated according to the JS multi-thread module into the H5 homepage, and present an effect diagram.

[0025] The present invention will be further described below by a specific embodiment:

[0026] A method and device for loading and releasing a 3D model based on H5 comprises the following steps (combined wit...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a H5-based 3D model loading optimization method, and the method comprises the following steps: S1, loading a model list, and packaging different loaders into different script files; s2, matching different loaders according to model types; s3, calling a JS multi-thread module, and sharing data between a main thread and an auxiliary thread through a data interaction monitoring function of the main thread and the auxiliary thread; s4, calculating according to the JS multi-thread module to obtain a result, inserting the result into an H5 homepage, and presenting an effect picture; according to the invention, JS multiple threads can be adopted, a large amount of calculation is transferred into the threads to be processed and then returned to the main thread, and loading of the 3D model is optimized.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method and system for H5-based 3D model loading optimization. Background technique [0002] When traditionally using WebGL (full-written Web Graphics Library, which is a 3D drawing protocol) to display 3D models, because the loading of the model requires a lot of calculations, it will seriously block the UI interaction of the browser and affect the operating experience. Contents of the invention [0003] In order to overcome the above problems, the purpose of the present invention is to provide a method that can adopt JS multi-threading, move a large amount of calculations to the thread for processing and then return to the main thread, and optimize the loading of 3D models. [0004] The present invention adopts following scheme to realize: a kind of method based on H5 3D model loading optimization, described method comprises the following steps: [0005] Step S1, ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/957
CPCG06F16/9574
Inventor 刘德建郑彬岳万恕陈宏展
Owner FUJIAN TQ DIGITAL