Back component removing method and system based on off-screen rendering and storage medium

An off-screen rendering and component technology, applied in image data processing, instrumentation, computing, etc., can solve problems such as large fluctuations in the ratio of invisible sets to total components, poor query effect of invisible components, unstable rendering frame rate, etc. , to achieve the effect of self-contained detail elimination, remarkable query effect, and graphics rendering performance

Active Publication Date: 2020-11-17
CCTEG CHONGQING ENG CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The other is to use the WebGl API interface (WebGl API is a JavaScript API that can render high-performance interactive 3D and 2D graphics in any compatible web browser without using plug-ins) to do occlusion query and culling , this method needs to build a bounding box, and do an occlusion test based on the bounding box. However, the construction of the bounding box in most of our application scenarios is irregular, and the use of rules to build the bounding box will cause culling errors, resulting in inaccurate culling.
Therefore, when the above two methods are used to perform occlusion query and removal of back components in a large-volume model (such as hundreds of thousands of components), it cannot be 100% guaranteed to distinguish whether components are occluded, and the query effect of invisible components is poor. And after the occlusion query and culling, the ratio of the determined invisible set to the total components fluctuates greatly, which leads to a very unstable frame rate of the rendered frame

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
  • Back component removing method and system based on off-screen rendering and storage medium
  • Back component removing method and system based on off-screen rendering and storage medium
  • Back component removing method and system based on off-screen rendering and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] Embodiment one, as figure 1 As shown, a back component culling method based on off-screen rendering includes the following steps:

[0029] S1: Obtain the rendering data of all the components in the model to be rendered, load all the components and all the rendering data into a preset initial component container, initialize the initial component container, and obtain the rendering component container;

[0030] S2: Calculate the visible set diffusion array set according to the rendering component container, obtain multiple target adjacent components according to the rendering component container and the visible set diffusion array set, and obtain a potential visible set according to all the target adjacent components container;

[0031] S3: Perform off-screen rendering according to all the target adjacent components in the potentially visible set container to obtain multiple rendering query frame data, and update the rendering component container according to all the ren...

Embodiment 2

[0067]Embodiment two, such as Figure 7 As shown, a system for removing rear components based on off-screen rendering is applied to the method for removing rear components based on off-screen rendering in Embodiment 1, including an initialization module, a calculation module, an off-screen rendering module, and an update module;

[0068] The initialization module is used to obtain the rendering data of all components in the model to be rendered, and after loading all the components and all the rendering data into a preset initial component container, initialize the initial component container, Get the rendering component container;

[0069] The calculation module is configured to calculate the visible set diffusion array set according to the rendering component container, acquire multiple target adjacent components according to the rendering component container and the visible set diffusion array set, and obtain a plurality of target adjacent components according to all the ta...

Embodiment 3

[0091] Embodiment 3. Based on Embodiment 1 and Embodiment 2, this embodiment also discloses a system for removing rear components based on off-screen rendering, including a processor, a memory, and a A computer program on the computer, the specific steps of S1 to S3 are implemented when the computer program runs.

[0092] Through the computer program stored in the memory and running on the processor, it is possible to eliminate the unrendered component geometry on the back of the model to be rendered or the component geometry that is not obvious from a distance, effectively improve the graphics rendering effect, and realize graphics rendering The performance optimization can query the potential visible set more accurately. When performing occlusion query and elimination of the back components of a large-scale model, it can distinguish whether the components are occluded with a higher recognition rate, and the query effect of invisible components is better. Notably, at the same...

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 relates to a back component removing method and system based on off-screen rendering and a storage medium, and the method comprises the steps: obtaining rendering data of all componentsin a to-be-rendered model, loading all the components and all rendering data into a preset initial component container, and initializing the initial component container to obtain a rendering componentcontainer; obtaining a visible set diffusion array set according to the rendering component container, obtaining a plurality of target adjacent components according to the rendering component container and the visible set diffusion array set, and obtaining a potential visible set container according to all the target adjacent components; and performing off-screen rendering according to all targetadjacent components in the potential visible set container to obtain a plurality of rendering query frame data, updating the rendering component container according to all the rendering query frame data to obtain a target rendering component container, and completing back component elimination. When occlusion query and elimination are carried out, whether the componentsare occluded or not can bedistinguished at a higher recognition rate, the recognition effect is more remarkable, and the elimination effect is stable.

Description

technical field [0001] The present invention relates to the technical field of graphics rendering optimization, and in particular to a method, system and storage medium for removing rear components based on off-screen rendering. Background technique [0002] The elimination of back components means that in the process of rendering a large-volume 3D model, since the rendered volume greatly exceeds the rendering limit of current mainstream GPU rendering, a series of methods are used to eliminate the back of the rendered model at the software level. On-screen component geometry or component geometry that is not obvious from a distance is an optimization method for graphics rendering performance. [0003] At present, there are two mainstream solutions, one is based on the depth buffer (ie z-buffer) to do occlusion backside culling, the culling effect of this method is not very ideal, and when the transparent component is in front of the opaque component The problem of removing ...

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): G06T7/90G06T19/20
CPCG06T7/90G06T19/20Y02D10/00
Inventor 马骁郝方位陶海波叶宇飞陈雷行廖灿灿
Owner CCTEG CHONGQING ENG CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products