Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Three-dimensional model graphics rendering method, electronic device and readable storage medium thereof

A technology of three-dimensional models and electronic equipment, applied in the direction of program control design, image data processing, 3D image processing, etc., can solve problems such as the inability to achieve smooth output, reduce computing performance requirements, ensure original accuracy, and ensure quality and accuracy Effect

Active Publication Date: 2022-01-11
深圳图为技术有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem mainly solved by the present invention is: in the graphics processing of the three-dimensional model of the electronic equipment, limited by the hardware configuration, it is impossible to realize the smooth output of the scene with high computing resource requirements

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
  • Three-dimensional model graphics rendering method, electronic device and readable storage medium thereof
  • Three-dimensional model graphics rendering method, electronic device and readable storage medium thereof
  • Three-dimensional model graphics rendering method, electronic device and readable storage medium thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] In this example, the scene object geometry is first weighted and sorted. Please refer to Figure 4 As shown, the steps of the object geometry weight calculation sorting algorithm include:

[0048] Get the first parameter A: Get the size value of the bounding box of the sub-model in the object geometry, including length, width and height; A=diagonal length of the bounding box=length 2 + wide 2 +high 2 ;

[0049] Assign the second parameter B: check whether the object geometry is within the viewing frustum, if so, assign the value 1, otherwise assign the value -1;

[0050] The above two steps are in no particular order;

[0051] Calculate the third parameter C: Calculate the distance from the center point of the above bounding box of the object geometry to the camera or the camera;

[0052] Calculate the object weight value D: D = B * C 3 / A;

[0053] Comparison: If the weight values ​​of the two objects have the same sign, the square operation is performed on ea...

Embodiment 2

[0061] The main difference from Embodiment 1 is that in this example, the model data is stored on the server. When the user terminal renders the model data, it needs to transmit the model data to the user terminal first. Due to the large amount of data transmission, the transmission time The cost will also increase exponentially, and the waiting time for loading scene data is too long, which will seriously affect the user experience in this case.

[0062] Please refer to Figure 6 As shown, when the user terminal is initialized, the user terminal receives the parameters required for weight calculation and transmitted from the server; according to the object geometry weight calculation and sorting method in Embodiment 1, the user terminal performs weight calculation and sorting of model data, and To call data from the server side, the first part of the model data is called first, and the model data sorted at the end is not transmitted or postponed for the time being. In this w...

Embodiment 3

[0068] Generally speaking, the hard disk capacity of electronic equipment will greatly exceed the memory capacity, but the read and write performance of the hard disk is not as good as that of the memory. In order to solve the problem of memory capacity limitation and break the limitation of system operating hardware to meet the requirements of low-configuration terminals, when the video memory data cannot be exchanged with the memory as in the method of embodiment 1, according to the object geometry weight calculation and sorting method of embodiment 1, please refer to Figure 7 As shown, this example first sorts the model data to be rendered, selects the number of offloads based on the current hardware performance, unloads the geometry of the objects at the end of the sort from the video memory, and saves them to the hard disk of the electronic device; at the same time, according to the current hardware performance Select the number of loads to load the object geometry of the...

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 discloses a graphics rendering method, electronic equipment and its readable storage medium, wherein the graphics rendering method includes the following steps: calculating the performance index required for object geometry rendering; if the required performance index exceeds the actual performance of the system index, then perform weight calculation and sorting on the object geometry; load the object geometry at the front end of the sorting into the video memory, and release the corresponding memory; render the objects in the video memory. According to the aforementioned graphics rendering method, when judging that the hardware performance of an electronic device has reached a bottleneck, the model data with a low weight value is first transferred from the video memory to the memory, and the total amount of CPU / GPU calculations and memory / video memory usage can be dynamically adjusted , to release video memory space for model rendering with high weight value, so as to ensure that computing resources are allocated to scene objects that users care about, without affecting the quality of scene roaming; under fixed hardware configuration conditions, the scene output of graphics rendering is more accurate. for fluency.

Description

technical field [0001] The invention relates to the field of data processing of electronic equipment, in particular to the field of graphics processing. Background technique [0002] During the graphics rendering process, the hardware performance of electronic devices such as computers and mobile phone terminals plays a decisive role in the rendering. Take a commonly used computer as an example, where the GPU is the graphics processor and the brain, which directly reflects the rendering speed and quality. As a data cache medium, video memory is like a highway leading to the destination (GPU), which will directly restrict the performance of the GPU. In order to experience the best performance, the client terminal needs to be equipped with a high-performance graphics card. If the user uses a general-performance terminal device to run an industrial scene rendering program with an ultra-million-level granularity, it usually faces the following performance bottlenecks: 1. CPU / GP...

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 Patents(China)
IPC IPC(8): G06T15/00G06T1/20G06F9/50
CPCG06T15/005G06T1/20G06F9/5027
Inventor 卜友竹
Owner 深圳图为技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products