KR20120062542A - Image processing apparatus and method - Google Patents
Image processing apparatus and method Download PDFInfo
- Publication number
- KR20120062542A KR20120062542A KR1020100123843A KR20100123843A KR20120062542A KR 20120062542 A KR20120062542 A KR 20120062542A KR 1020100123843 A KR1020100123843 A KR 1020100123843A KR 20100123843 A KR20100123843 A KR 20100123843A KR 20120062542 A KR20120062542 A KR 20120062542A
- Authority
- KR
- South Korea
- Prior art keywords
- triangles
- model
- vpl
- importance
- shape information
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T15/00—3D [Three Dimensional] image rendering
- G06T15/04—Texture mapping
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T15/00—3D [Three Dimensional] image rendering
- G06T15/50—Lighting effects
- G06T15/55—Radiosity
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2215/00—Indexing scheme for image rendering
- G06T2215/12—Shadow map, environment map
Abstract
Description
Related to global illumination-based rendering of objects made up of 3D models, and more specifically to how to sample Virtual Point Light (VPL) on 3D models for 3D rendering by Radiosity techniques. do.
As hardware and software evolve, real-time rendering of 3D models in various fields, such as 3-Dimensional (hereinafter simply referred to as "3D") gaming, virtual world animation, and cinema There is a growing interest in.
Among these 3D rendering techniques, the Radiosity technique considering global illumination includes not only direct lighting by a direct light source existing in a 3D model, but also indirect lighting by reflected light or diffuse reflection phenomenon reflected by an object. It is a rendering method that improves rendering quality in consideration of.
In this case, VPL sampling is required to properly position VPLs representing indirect lighting effects at arbitrary locations in the 3D model. In the case where there are a plurality of direct light sources, the amount of computation for VPL sampling is very large, Since redundancy is large because no associations such as spatial proximity between direct light sources are taken into account.
When sampling a VPL for rendering a 3D model including a plurality of direct light sources, an image processing apparatus and a method capable of reducing an operation amount of the VPL sampling are provided.
In 3D rendering of the radiosity technique, an image processing apparatus and method are provided that greatly reduce the amount of computation in a VPL sampling process and greatly improve the possibility of real-time rendering due to an improvement in rendering speed relative to computational resources.
According to one aspect of the invention, the texture generation unit for generating a texture for the shape information of the 3D model using a 3D model, by applying a plurality of direct light sources to the texture, the first to calculate the roughness of the shape information A second calculation unit that calculates a cumulative distribution function (CDF) that accumulates a distribution curve of importance for the shape information using the illuminance, and randomly selects the cumulative distribution function value And a VPL sampling unit for sampling at least one VPL in the 3D model.
The shape information may include a 3D coordinate value of a vertex for each of the plurality of triangles constituting the 3D model.
In this case, the first calculator may calculate illuminance of the plurality of direct light sources with respect to vertices of each of the plurality of triangles.
According to an embodiment of the present invention, the second calculator calculates, for each of the triangles, the importance of each of the triangles in proportion to at least one of the calculated illuminance, triangle width, and triangle color.
In this case, when calculating the importance of each of the triangles, the second calculation unit may calculate the importance of each of the triangles in consideration of the visibility at the camera viewpoint to render the 3D model for each of the triangles. have.
The image processing apparatus may further include a rendering unit generating a shadow map for each of the at least one VPL, and rendering a 3D model using a radiosity technique.
According to another aspect of the invention, generating a texture for the shape information of the 3D model using a 3D model, applying a plurality of direct light sources to the texture, calculating the roughness for the shape information, the Computing a cumulative distribution function (CDF) by accumulating the distribution curve of importance for the shape information using the roughness, and randomly selecting the cumulative distribution function value, sampling at least one VPL in the 3D model Provided is an image processing method comprising the steps of.
Since the redundancy is greatly reduced when calculating the scene illumination for each of the plurality of direct light sources, the amount of computation when sampling the VPL is greatly reduced.
In 3D rendering of the Radiosity technique, since the amount of computation in the VPL sampling process is greatly reduced, the rendering speed is increased compared to the computational resources, and the possibility of real-time rendering is greatly increased.
1 illustrates an image processing apparatus according to an embodiment of the present invention.
2 illustrates an exemplary 3D model rendered by an image processing apparatus and method according to an embodiment of the present invention.
3 is a plan view illustrating an object and a light of the 3D model of FIG. 2.
4 is a conceptual diagram illustrating a process of generating a texture for triangles of a 3D model according to an embodiment of the present invention.
5 is a conceptual diagram illustrating a process of calculating illumination of triangles in consideration of a plurality of direct light sources according to an embodiment of the present invention.
6 is a graph illustrating a process of performing VPL sampling after generating a CDF of importance calculated for triangles according to an embodiment of the present invention.
7 illustrates VPLs sampled according to an embodiment of the present invention.
8 illustrates an image processing method according to an embodiment of the present invention.
Hereinafter, some embodiments of the present invention will be described in detail with reference to the accompanying drawings. However, the present invention is not limited or limited by the embodiments. Like reference numerals in the drawings denote like elements.
1 illustrates an
According to an embodiment of the present invention, the
The texture is data including three-dimensional coordinate values of vertices for each of the plurality of triangles constituting the 3D model, and is shape information data for calculating scene illumination by direct light sources.
The texture generation process and the generated texture of the
The
The illuminance calculation process of the
According to the conventional method, when calculating scene illumination for each of each direct light source, and sampling the virtual point light (VPL) for the indirect lighting effect for each direct light source, the amount of calculation for VPL sampling is large.
For example, there is a big problem in redundancy in the VPL sampling operation when the position of each direct light source is close.
According to an embodiment of the present invention, the
The
In this case, the
Meanwhile, according to an embodiment of the present invention, when the
That is, in the present embodiment, the
The
The calculation of this cumulative distribution function will be described later in more detail with reference to FIG. 6.
Then, the
Through this process, one VPL sampling is performed in consideration of a plurality of direct light sources.
The result of the VPL sampling will be described later with reference to FIG. 7.
The
2 illustrates an
The
Within the
Of course, the
The state of the
The plan view of the
FIG. 3 is a plan
In this
The
The range in which the light of the
Direct light from the
In this case, the direct light of both the
If, according to the conventional method, sampling the VPLs on the
According to an embodiment of the present invention, the
Then, the
4 is a conceptual diagram illustrating a process of generating a texture for triangles of a 3D model according to an embodiment of the present invention.
The
In this process, the X-, Y-, and Z-axis coordinate values of each vertex of each triangle 411-413 are generated as data elements 421-423 in the texture.
Of course, the
In the present embodiment, the
5 is a conceptual diagram illustrating a process of calculating illumination of triangles in consideration of a plurality of direct light sources according to an embodiment of the present invention.
The
Through this process, the total scene illumination calculation considering the plurality of direct light sources is performed.
In addition, the
In calculating the importance, according to an embodiment of the present invention, the
6 is a
According to an embodiment of the present invention, the
The
Then, the triangle indexes corresponding to the sampled S1 to S4 and the like are identified to sample the triangles.
The
7 illustrates VPLs sampled according to an embodiment of the present invention.
Referring to the
Through this VPL sampling process, redundancy is greatly reduced as compared with the case of performing VPL sampling for each direct light source.
When the VPLs to be used for rendering are determined, the
8 illustrates an image processing method according to an embodiment of the present invention.
In
The texture generation process and an exemplary conceptual diagram are as described above with reference to FIG. 4.
In
The illuminance calculation process of the
In
In this case, the importance is calculated that the greater the calculated illuminance for each triangle, the wider the triangular width, and / or the larger the value of the triangular color, the higher the value. As described above.
Furthermore, according to an embodiment of the present invention, when the
In addition, in this step, the
Such CDF is as described above with reference to FIG. 6.
Then, in
The results of the VPL sampling have been described above with reference to FIG. 7.
In
Method according to an embodiment of the present invention is implemented in the form of program instructions that can be executed by various computer means may be recorded on a computer readable medium. The computer readable medium may include program instructions, data files, data structures, etc. alone or in combination. The program instructions recorded on the medium may be those specially designed and constructed for the present invention or may be available to those skilled in the art of computer software. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tape, optical media such as CD-ROMs, DVDs, and magnetic disks, such as floppy disks. Magneto-optical media, and hardware devices specifically configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like. Examples of program instructions include not only machine code generated by a compiler, but also high-level language code that can be executed by a computer using an interpreter or the like. The hardware device described above may be configured to operate as one or more software modules to perform the operations of the present invention, and vice versa.
As described above, the present invention has been described by way of limited embodiments and drawings, but the present invention is not limited to the above embodiments, and those skilled in the art to which the present invention pertains various modifications and variations from such descriptions. This is possible.
Therefore, the scope of the present invention should not be limited to the described embodiments, but should be determined not only by the claims below but also by the equivalents of the claims.
100: image processing device
110: texture generator
120: first calculation unit
130: second calculation unit
140: VPL sampling unit
150: renderer
Claims (13)
A first calculator configured to apply a plurality of direct light sources to the texture to calculate roughness of the shape information;
A second calculator configured to calculate a cumulative distribution function (CDF) that accumulates a distribution curve of importance for the shape information using the illuminance; And
A VPL sampling unit for randomly selecting the cumulative distribution function value and sampling at least one VPL in the 3D model
Image processing apparatus comprising a.
The shape information includes a three-dimensional coordinate value of a vertex for each of the plurality of triangles constituting the 3D model.
The first calculation unit,
And for the vertices of each of the plurality of triangles, illuminance by the plurality of direct light sources.
The second calculation unit,
For each of the triangles, the importance of each of the triangles is calculated in proportion to at least one of the calculated illuminance, triangle width, and triangle color.
The second calculation unit,
When calculating the importance of each of the triangles, the importance of each of the triangles is calculated in consideration of the visibility at the camera viewpoint to render the 3D model for each of the triangles.
A rendering unit generating a shadow map for each of the at least one VPL and rendering a 3D model using a radiosity technique.
Further comprising, the image processing device.
Calculating a roughness of the shape information by applying a plurality of direct light sources to the texture;
Calculating a cumulative distribution function (CDF) in which a distribution curve of importance for the shape information is accumulated using the illuminance; And
Sampling at least one VPL in the 3D model by randomly selecting the cumulative distribution function value
Image processing method comprising a.
The shape information includes a three-dimensional coordinate value of a vertex for each of the plurality of triangles constituting the 3D model.
Calculating the roughness for the shape information,
Computing illuminance by the plurality of direct light sources for the vertices of each of the plurality of triangles.
Computing the cumulative distribution function (CDF),
For each of the triangles, the importance of each of the triangles is calculated in proportion to at least one of the calculated illuminance, triangle width, and triangle color.
Computing the cumulative distribution function (CDF),
When calculating the importance of each of the triangles, calculating the importance of each of the triangles in consideration of the visibility from the camera viewpoint to render the 3D model for each of the triangles.
Generating a shadow map for each of the at least one VPL and rendering a 3D model using a radiosity technique
Further comprising, the image processing method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020100123843A KR20120062542A (en) | 2010-12-06 | 2010-12-06 | Image processing apparatus and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020100123843A KR20120062542A (en) | 2010-12-06 | 2010-12-06 | Image processing apparatus and method |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20120062542A true KR20120062542A (en) | 2012-06-14 |
Family
ID=46683454
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020100123843A KR20120062542A (en) | 2010-12-06 | 2010-12-06 | Image processing apparatus and method |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20120062542A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20150128536A (en) * | 2014-05-09 | 2015-11-18 | 삼성전자주식회사 | Method and apparatus for processing image |
CN108427777A (en) * | 2017-02-14 | 2018-08-21 | 常州星宇车灯股份有限公司 | A kind of analog analysing method of halogen lens module self-focusing |
US10157494B2 (en) | 2014-02-20 | 2018-12-18 | Samsung Electronics Co., Ltd. | Apparatus and method for processing virtual point lights in an image |
US10403034B2 (en) | 2014-05-09 | 2019-09-03 | Samsung Electronics Co., Ltd. | Image processing method and apparatus for rendering an image based on virtual point light (VPL) samplings |
-
2010
- 2010-12-06 KR KR1020100123843A patent/KR20120062542A/en not_active Application Discontinuation
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10157494B2 (en) | 2014-02-20 | 2018-12-18 | Samsung Electronics Co., Ltd. | Apparatus and method for processing virtual point lights in an image |
KR20150128536A (en) * | 2014-05-09 | 2015-11-18 | 삼성전자주식회사 | Method and apparatus for processing image |
US10403034B2 (en) | 2014-05-09 | 2019-09-03 | Samsung Electronics Co., Ltd. | Image processing method and apparatus for rendering an image based on virtual point light (VPL) samplings |
CN108427777A (en) * | 2017-02-14 | 2018-08-21 | 常州星宇车灯股份有限公司 | A kind of analog analysing method of halogen lens module self-focusing |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11138782B2 (en) | Systems and methods for rendering optical distortion effects | |
US20200160587A1 (en) | Systems and methods for reducing rendering latency | |
TWI497447B (en) | Rendering tessellated geometry with motion and defocus blur | |
US8018453B2 (en) | Deferred acceleration data structure optimization for improved performance | |
US7773087B2 (en) | Dynamically configuring and selecting multiple ray tracing intersection methods | |
JP2022091849A (en) | Methods and graphics processing units for determining differential data for rays of ray bundle | |
US8619078B2 (en) | Parallelized ray tracing | |
KR101845231B1 (en) | Image processing apparatus and method | |
US20220198740A1 (en) | System for non-planar specular reflections in hybrid ray tracing | |
US20180268603A1 (en) | Graphics processing using directional representations of lighting at probe positions within a scene | |
US20140002458A1 (en) | Efficient rendering of volumetric elements | |
PT1376472E (en) | Systems and methods for providing controllable texture sampling | |
KR20150108623A (en) | Image processing apparatus and method | |
CN110490963B (en) | 3D graphics rendering with implicit geometry | |
US20190318528A1 (en) | Computer-Graphics Based on Hierarchical Ray Casting | |
US20190318529A1 (en) | Systems and Methods for Rendering Foveated Effects | |
EP2674918B1 (en) | Integration cone tracing | |
KR20120007398A (en) | Image processing apparatus and method | |
US8102389B2 (en) | Box casting using an integrated acceleration data structure | |
US10776996B2 (en) | Method and apparatus for processing image | |
KR20120062542A (en) | Image processing apparatus and method | |
TWI499998B (en) | Physical simulation engine , processing system for handling a visual simulation loop and system for streamlining the process of creating computer- generated imagery | |
KR101923619B1 (en) | Method for Generating 3D Surface Reconstruction Model Using Multiple GPUs and Apparatus of Enabling the Method | |
KR20150009906A (en) | Image processing apparatus and method | |
Simion et al. | Practical gpu and voxel-based indirect illumination for real time computer games |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E601 | Decision to refuse application |