WebGPU-based rendering method, electronic equipment and storage medium

An electronic terminal and sub-model technology, applied in the Internet field, can solve the problems of reducing rendering quality, interface flicker or jitter, etc., and achieve the effect of improving rendering quality

Active Publication Date: 2022-05-13
BEIJING CHENGSHI WANGLIN INFORMATION TECH CO LTD
View PDF15 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When OpenGL or WebGL renders some objects that are far away from the viewpoint based on the perspective projection matrix, depth conflict (z-fighting) phenomenon may occur. The z-fighting phenomenon means that two triangles between the same object or different objects are relatively cl...

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
  • WebGPU-based rendering method, electronic equipment and storage medium
  • WebGPU-based rendering method, electronic equipment and storage medium
  • WebGPU-based rendering method, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The present application provides the following embodiments to solve or partially solve the problems existing in the above-mentioned solutions. In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0036] Some processes described in the specification, claims, and above-mentioned drawings of the present application contain multiple operations appearing in a specific order, and these operations may not be executed in the order in which they appear herein or executed in parallel. The serial numbers of the operations, such as 101, 102, etc., are only used to distinguish different operations, and the serial numbers themselves do not represent any execution order. Additionally, these processes can include more or fewer operations...

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 rendering method based on a WebGPU, an electronic terminal and a storage medium. According to the technical scheme provided by the embodiment of the invention, in the perspective projection rendering process, for at least one object model to be rendered within the current visual angle visible range, the depth values are allocated to the triangular surfaces on the object model according to the sequence of the relative distances between the triangular surfaces on the object model and the current roaming point location from far to near; therefore, reasonable depth values can be allocated to both the near triangular surface and the far triangular surface, the z-bridging phenomenon caused by the fact that the proper depth value cannot be allocated is avoided, then the object model can be efficiently and clearly rendered to the graphical user interface by utilizing the WebGPU according to the texture data and the depth value of each triangular surface on the object model, and the user experience is improved. And the model rendering quality is improved.

Description

technical field [0001] The present application relates to the technical field of the Internet, in particular to a rendering method based on WebGPU, an electronic terminal and a storage medium. Background technique [0002] At present, the perspective projection technology has been applied in the home decoration simulation scene based on the three-dimensional space of the house. Through the perspective projection technology, the three-dimensional view coordinates of the walls, furniture, home appliances and other objects in the home decoration simulation scene can be transformed into images that can be drawn on the screen. The two-dimensional screen coordinates are used to obtain the perspective projection matrix, and then OpenGL or WebGL renders these objects to the home decoration interface based on the perspective projection matrix. When OpenGL or WebGL renders some objects that are far away from the viewpoint based on the perspective projection matrix, depth conflict (z-f...

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
IPC IPC(8): G06T15/00G06T15/04G06T17/10G06T17/20
CPCG06T15/005G06T15/04G06T17/10G06T17/20G06T2210/04G06T2210/61
Inventor 不公告发明人
Owner BEIJING CHENGSHI WANGLIN INFORMATION TECH 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