CN113643418A - Method for efficiently rendering 3D (three-dimensional) graphics - Google Patents

Method for efficiently rendering 3D (three-dimensional) graphics Download PDF

Info

Publication number
CN113643418A
CN113643418A CN202111003944.0A CN202111003944A CN113643418A CN 113643418 A CN113643418 A CN 113643418A CN 202111003944 A CN202111003944 A CN 202111003944A CN 113643418 A CN113643418 A CN 113643418A
Authority
CN
China
Prior art keywords
rendering
graphics
real object
data
real
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111003944.0A
Other languages
Chinese (zh)
Inventor
张吉祥
宋达
蔡悦
李梁钰
黄伟鸿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shangdi Technology Co ltd
Original Assignee
Guangzhou Shangdi Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Shangdi Technology Co ltd filed Critical Guangzhou Shangdi Technology Co ltd
Priority to CN202111003944.0A priority Critical patent/CN113643418A/en
Publication of CN113643418A publication Critical patent/CN113643418A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/10Geometric effects
    • G06T15/20Perspective computation
    • G06T15/205Image-based rendering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • Computer Graphics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Software Systems (AREA)
  • Image Generation (AREA)

Abstract

The invention belongs to the technical field of graphic rendering, and particularly discloses a method for efficiently rendering 3D (three-dimensional) graphics, which comprises the following steps: receiving a rendering command for rendering an object and a corresponding real object graph of the rendering object; responding to a rendering command, and acquiring a rendering code of a rendering object based on the real object graph; acquiring corresponding rendering data in a rendering database according to the rendering codes; and sending the rendering data to a graphics processor, and rendering the rendering object through the graphics processor. By adopting the technical scheme of the invention, the corresponding rendering data can be directly obtained from the rendering database through the received corresponding object graphics, and the rendering object is rendered through the graphics processor, so that the rendering efficiency of the 3D graphics is greatly improved.

Description

Method for efficiently rendering 3D (three-dimensional) graphics
Technical Field
The invention relates to the technical field of graphic rendering, in particular to a method for efficiently rendering 3D (three-dimensional) graphics.
Background
With the development of scientific technology, software technology and hardware technology of computers and mobile terminals have advanced greatly. Nowadays, the user can not be enough under the condition of staying at home, carries out high interactive experience through the online exhibition room of VR, not only provides help for user's work and study, has also richened user's daily life. The graph rendering is an important step for realizing the function of an exhibition hall on a VR line, and the existing graph rendering method is low in efficiency.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a method for efficiently rendering 3D graphics.
In order to solve the technical problems, the technical scheme of the invention is as follows: a method of efficient rendering of 3D graphics, comprising:
receiving a rendering command for rendering an object and a corresponding real object graph of the rendering object;
responding to a rendering command, and acquiring a rendering code of a rendering object based on the real object graph;
acquiring corresponding rendering data in a rendering database according to the rendering codes;
and sending the rendering data to a graphics processor, and rendering the rendering object through the graphics processor.
Specifically, when the method for efficiently rendering the 3D graphics is used, the corresponding rendering data can be directly obtained from the rendering database through the received corresponding object graphics, and the rendering object is rendered through the graphics processor, so that the rendering efficiency of the 3D graphics is greatly improved.
Optionally, obtaining a rendering code of the rendering object based on the real object graph includes: and calculating the real object reflection degree of each pixel point in the real object photo, and determining the rendering code of the rendering object according to the comparison between the real object reflection degree and a plurality of preset reflection degrees.
Optionally, calculating the real object reflectivity of each pixel point in the real object photo includes: and calculating the difference of the brightness values of all the pixels of the object graph shot in the two brightnesses to serve as the light reflection degree of the pixel at the position.
Optionally, rendering the rendering object by the graphics processor includes: parameters of a model of the rendered object are modified based on the rendering data.
Optionally, the rendering data includes rendering material parameters of the rendering object.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flow chart of a method for efficient rendering of 3D graphics in accordance with the present invention.
Detailed Description
The following further describes embodiments of the present invention with reference to the drawings. It should be noted that the description of the embodiments is provided to help understanding of the present invention, but the present invention is not limited thereto. In addition, the technical features involved in the embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "thickness", "up-down, front-back, left-right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise" indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience of description and simplicity of description, and do not indicate or imply that the elements referred to must have a particular orientation, be constructed in a particular orientation, and be operated, and therefore, should not be taken as limiting the present invention. Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a defined feature of "first", "second" may explicitly or implicitly include one or more features. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise. It should be noted that unless expressly stated or limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly and include, for example, fixed or removable connections or integral connections; may be mechanically connected, may be electrically connected or may be in communication with each other; either directly or indirectly through intervening media profiles, either internally or in any combination thereof. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
As shown in FIG. 1, in one embodiment of the invention, a method for efficient rendering of 3D graphics is provided, comprising: receiving a rendering command for rendering an object and a corresponding real object graph of the rendering object; responding to a rendering command, and acquiring a rendering code of a rendering object based on the real object graph; acquiring corresponding rendering data in a rendering database according to the rendering codes; and sending the rendering data to a graphics processor, and rendering the rendering object through the graphics processor.
Specifically, when the method for efficiently rendering the 3D graphics is used, the corresponding rendering data can be directly obtained from the rendering database through the received corresponding object graphics, and the rendering object is rendered through the graphics processor, so that the rendering efficiency of the 3D graphics is greatly improved.
In this embodiment, obtaining a rendering code of a rendering object based on a real object graph includes: and calculating the real object reflection degree of each pixel point in the real object photo, and determining the rendering code of the rendering object according to the comparison between the real object reflection degree and a plurality of preset reflection degrees. Specifically, the number of the preset reflectances is set according to the number of the rendering codes, and each preset reflectances corresponds to one rendering code. And after the real object reflectivity is obtained, comparing the real object reflectivity with a preset reflectivity, and when the real object reflectivity falls into a certain preset reflectivity range, determining the rendering code of the rendering object as the rendering code corresponding to the preset reflectivity.
In this embodiment, calculating the real object reflectivity of each pixel point in the real object photo includes: and calculating the difference of the brightness values of all the pixels of the object graph shot in the two brightnesses to serve as the light reflection degree of the pixel at the position.
In this embodiment, rendering the rendering object by the graphics processor includes: parameters of a model of the rendered object are modified based on the rendering data.
In this embodiment, the rendering data includes rendering material parameters of the rendering object.
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the embodiments described above. It will be apparent to those skilled in the art that various changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, and the scope of protection is still within the scope of the invention.

Claims (5)

1. A method for efficient rendering of 3D graphics, comprising:
receiving a rendering command for a rendering object and a corresponding real object graph of the rendering object;
in response to the rendering command, acquiring rendering codes of the rendering objects based on the real object graphs;
acquiring corresponding rendering data in a rendering database according to the rendering codes;
and sending the rendering data to a graphic processor, and rendering the rendering object through the graphic processor.
2. The method of claim 1, wherein obtaining rendering codes of the rendering objects based on the physical graphics comprises:
and calculating the real object reflection degree of each pixel point in the real object photo, and determining the rendering code of the rendering object according to the comparison between the real object reflection degree and a plurality of preset reflection degrees.
3. The method of claim 2, wherein calculating the real object reflectivity of each pixel point in the real object photo comprises:
and calculating the difference of the brightness values of all the pixels of the object graph shot in the two brightnesses, and taking the difference as the light reflection degree of the pixel at the position.
4. The method of claim 1, wherein rendering the render object by the graphics processor comprises:
modifying parameters of a model of the rendered object based on the rendering data.
5. The method of efficient rendering of 3D graphics of claim 1, wherein; the rendering data includes rendering material parameters of the rendering object.
CN202111003944.0A 2021-08-30 2021-08-30 Method for efficiently rendering 3D (three-dimensional) graphics Pending CN113643418A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111003944.0A CN113643418A (en) 2021-08-30 2021-08-30 Method for efficiently rendering 3D (three-dimensional) graphics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111003944.0A CN113643418A (en) 2021-08-30 2021-08-30 Method for efficiently rendering 3D (three-dimensional) graphics

Publications (1)

Publication Number Publication Date
CN113643418A true CN113643418A (en) 2021-11-12

Family

ID=78424356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111003944.0A Pending CN113643418A (en) 2021-08-30 2021-08-30 Method for efficiently rendering 3D (three-dimensional) graphics

Country Status (1)

Country Link
CN (1) CN113643418A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080317347A1 (en) * 2007-06-20 2008-12-25 Chee Boon Lim Rendering engine test system
CN110825467A (en) * 2018-08-09 2020-02-21 北京微播视界科技有限公司 Rendering method, rendering apparatus, hardware apparatus, and computer-readable storage medium
CN111681167A (en) * 2020-06-03 2020-09-18 腾讯科技(深圳)有限公司 Image quality adjusting method and device, storage medium and electronic equipment
CN111833407A (en) * 2020-06-15 2020-10-27 珠海格力电器股份有限公司 Product rendering method and device
CN113041617A (en) * 2021-03-18 2021-06-29 深圳市腾讯网域计算机网络有限公司 Game picture rendering method, device, equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080317347A1 (en) * 2007-06-20 2008-12-25 Chee Boon Lim Rendering engine test system
CN110825467A (en) * 2018-08-09 2020-02-21 北京微播视界科技有限公司 Rendering method, rendering apparatus, hardware apparatus, and computer-readable storage medium
CN111681167A (en) * 2020-06-03 2020-09-18 腾讯科技(深圳)有限公司 Image quality adjusting method and device, storage medium and electronic equipment
CN111833407A (en) * 2020-06-15 2020-10-27 珠海格力电器股份有限公司 Product rendering method and device
CN113041617A (en) * 2021-03-18 2021-06-29 深圳市腾讯网域计算机网络有限公司 Game picture rendering method, device, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
程龙等: "基于光场渲染的多视点视频编解码方法研究", 中国科学技术大学学报, vol. 40, no. 8, pages 812 - 817 *

Similar Documents

Publication Publication Date Title
US10692274B2 (en) Image processing apparatus and method
US8976179B2 (en) Determining 3D model information from stored images
US10930056B2 (en) Electronic device for generating images having rendering qualities differing by view vector
US20200058165A1 (en) Image processing apparatus and image processing method therefor
US10848669B2 (en) Electronic device and method for displaying 360-degree image in the electronic device
WO2014101435A1 (en) Augmented reality method, system, and terminal based on two-dimensional code
US9509905B2 (en) Extraction and representation of three-dimensional (3D) and bidirectional reflectance distribution function (BRDF) parameters from lighted image sequences
CN115797535B (en) Texture mapping method and related device for three-dimensional model
CN112116655A (en) Method and device for determining position information of image of target object
EP4283441A1 (en) Control method, device, equipment and storage medium for interactive reproduction of target object
CN102298783A (en) View generation using interpolated values
CN114449243B (en) White balance method and terminal equipment
CN113643418A (en) Method for efficiently rendering 3D (three-dimensional) graphics
US11094087B2 (en) Dual serving scheme for LOD sequences
CN113077524A (en) Automatic calibration method, device and equipment for binocular fisheye camera and storage medium
CN111045051B (en) VRS information generation method, positioning service providing method and positioning service device
CN112100712A (en) Road lofting conversion method based on CAD and storage medium
CN111405126A (en) Method, system, device, equipment and storage medium for dialing in dispatching link
US20240153128A1 (en) Method of detecting collision of objects, device, and storage medium
US11616935B2 (en) Information generation method, information generation system, and non-transitory computer-readable storage medium storing program
CN115187821A (en) Method for verifying correctness before and after model conversion, related device and program product
CN114170366A (en) Three-dimensional reconstruction method based on dotted line feature fusion and electronic equipment
US8755819B1 (en) Device location determination using images
CN108062793A (en) Processing method, device, equipment and storage medium at the top of object based on elevation
CN115131813B (en) Method and device for confirming numbering position, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination