CN103473803A - Rendering method based on aeolotropy spherical Gaussian function - Google Patents
Rendering method based on aeolotropy spherical Gaussian function Download PDFInfo
- Publication number
- CN103473803A CN103473803A CN2013104245821A CN201310424582A CN103473803A CN 103473803 A CN103473803 A CN 103473803A CN 2013104245821 A CN2013104245821 A CN 2013104245821A CN 201310424582 A CN201310424582 A CN 201310424582A CN 103473803 A CN103473803 A CN 103473803A
- Authority
- CN
- China
- Prior art keywords
- function
- gaussian function
- anisotropy
- sphere
- distribution function
- 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.)
- Granted
Links
Images
Landscapes
- Image Generation (AREA)
Abstract
The invention relates to the technical field of three-dimensional image processing, in particular to a rendering method based on an aeolotropy spherical Gaussian function. The rendering method includes the steps that (S11) fitting is carried out on a light source and a bidirectional reflection distribution function by means of the aeolotropy spherical Gaussian function; (S21) spherical distortion from a semivector to the incidence direction is carried out on the bidirectional reflection distribution function represented by the aeolotropy spherical Gaussian function; (S31) by means of multiplication closure of the aeolotropy spherical Gaussian function, the distorted bidirectional reflection distribution function is multiplied by the light source to obtain a distribution function; (S41) the distribution function obtained in the step (S31) is integrated to obtain the final rendering color, wherein the aeolotropy spherical Gaussian function is a novel spherical Gaussian function provided by the rendering method based on the aeolotropy spherical Gaussian function. The rendering method can remarkably improve the rendering frame rate, and therefore real-time rendering is better achieved.
Description
Technical field
The present invention relates to the three-dimensional computer-generated image processing technology field, be specifically related to a kind of rendering intent based on anisotropy sphere Gaussian function.
Background technology
The efficient succinct expression of spherical function is all the computer graphics application all the time, especially plays up the pith in application; For example, in order better to realize the purpose of real-time rendering complex environment illumination reflecting effect, in prior art, a lot of research has all adopted the sphere Gaussian function to come analog light source, bidirectional reflectance distribution function and visibility function efficiently to calculate the illumination transmission.Why selecting the sphere Gaussian function is mainly to consider its good nature: for example, express the frequency domain scope wide, so the sphere Gaussian function can be expressed the signal of any frequency band well; There is rotational invariance; For its integration, all there are Analytical Expression etc. in the product between the sphere Gaussian function, convolution; These character are all the key factors in the real-time rendering application.
Sphere Gaussian function of the prior art is isotropic, take anisotropic while being main true distribution function expressing, and normal the employing utilizes a plurality of sphere Gaussian functions to carry out the method for approximate expression.This expression that utilizes a plurality of sphere Gaussian functions is called as and mixes the sphere Gaussian function.Under certain accuracy requirement, true distribution function anisotropic degree is higher, and needed sphere Gaussian function is just more; Yet, because each function mixed in the sphere Gaussian function is not mutually orthogonal, the product calculation of the mixing sphere Gaussian function of two n items needs O (n
2) complexity.Therefore, when needs utilization mixing sphere Gaussian function, express real anisotropy distribution function while being played up, usually need balance accuracy and performance, can the raising of playing up frame per second be impacted like this, be unfavorable for that real-time rendering better realizes.
Summary of the invention
(1) technical matters that will solve
The object of the invention is to for the deficiencies in the prior art, a kind of real-time rendering method of the anisotropy sphere Gaussian function based on brand-new is provided, thereby reach, improve the technique effect of playing up frame per second.
(2) technical scheme
Technical solution of the present invention is as follows:
A kind of rendering intent based on anisotropy sphere Gaussian function comprises step:
S11. utilize anisotropy sphere Gaussian function to carry out matching to light source and bidirectional reflectance distribution function;
S21. the bidirectional reflectance distribution function of being expressed by anisotropy sphere Gaussian function is carried out to the sphere distortion of semivector to incident direction;
S31. utilize the multiplicative closed of anisotropy sphere Gaussian function, the bidirectional reflectance distribution function after distortion and light source are multiplied each other and obtain a distribution function;
S41. the distribution function obtained in step S31 is carried out to integration and obtain the final color of playing up;
Wherein, the geometric definition of described anisotropy sphere Gaussian function is:
Wherein, z, x, y is three main shafts perpendicular to each other; λ and μ are respectively the bandwidth of x and y axle, and meet λ > 0, μ > 0; The amplitude that c is function; Level and smooth S (v; Z)=max (vz, 0), v is vector of unit length, a bit on the representation unit ball;
The algebra definition of described anisotropy sphere Gaussian function is:
Wherein, A is 3 * 3 real symmetric matrixs, the unit character vector that the minimal characteristic root that z is A is corresponding.
Preferably, after described step S11, also comprise:
S12. judge whether to consider observability: be to go to step S13, otherwise go to step S14;
S13. the observability function is sampled;
S14. judge whether to consider two sizes: be to go to step S15, otherwise go to step S21;
S15. the normal direction distribution of microcosmic is carried out to matching;
The normal direction of the microcosmic that S16. will be expressed by anisotropy sphere Gaussian function distributes and carries out with macroscopical plane bidirectional reflectance distribution the bidirectional reflectance distribution function that convolution obtains two sizes.
Preferably, in described step S21, utilize that second-order differential is constant carries out the sphere distortion of semivector to incident direction to the bidirectional reflectance distribution function of being expressed by anisotropy sphere Gaussian function.
Preferably, after described step S31, also comprise:
S32. judge whether to consider observability: otherwise go to step S41, be to go to step S42;
S42. the distribution function obtained in step S31 is combined with the observability function, calculated product is divided and is obtained the final color of playing up.
(3) beneficial effect
At first the present invention provides a kind of brand-new anisotropy sphere Gaussian function, rendering intent provided by the present invention is based on above-mentioned brand-new anisotropy sphere Gaussian function, than the rendering intent based on mixing the sphere Gaussian function in prior art, can significantly improve and play up frame per second, thereby can better realize real-time rendering; In addition, anisotropy sphere Gaussian function provided by the present invention and character thereof can also be for other application of graphics, even other fields.
The accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the rendering intent based on anisotropy sphere Gaussian function that provides of the embodiment of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described further.Following examples are only for the present invention is described, but are not used for limiting the scope of the invention.
At first a kind of brand-new anisotropy sphere Gaussian function is provided in the present embodiment:
The geometric definition of described anisotropy sphere Gaussian function is:
Wherein, z, x, y is three main shafts perpendicular to each other; λ and μ are respectively the bandwidth of x and y axle, and meet λ > 0, μ > 0; The amplitude that c is function; Level and smooth S (v; Z)=max (vz, 0), v is vector of unit length, a bit on the representation unit ball;
The algebra definition of described anisotropy sphere Gaussian function is:
Wherein, A is 3 * 3 real symmetric matrixs, the unit character vector that the minimal characteristic root that z is A is corresponding, level and smooth S (v; Z)=max (vz, 0), v is vector of unit length, a bit on the representation unit ball.
A kind of rendering intent based on above-mentioned brand-new anisotropy sphere Gaussian function also is provided in the present embodiment, and as shown in fig. 1, this rendering intent mainly comprises step:
S11. utilize anisotropy sphere Gaussian function to carry out matching to light source and bidirectional reflectance distribution function; Adopt the mixture model of anisotropy sphere Gaussian function to be similar to: at first according to the local maximum of sampling function, determine initial anisotropy sphere Gaussian function, recycling L-BFGS-B(is with the BFGS algorithm of boundary constraint) etc. method solve.
Optionally, can also comprise step S12-step S16 after step S11:
S12. judge whether to consider observability: be to go to step S13, otherwise go to step S14;
S13. the observability function is sampled;
For example, adopt the cube sampling, utilize sphere tape symbol distance function express and data are carried out to PCA(Principal Component Analysis, pivot analysis) compression;
S14. judge whether to consider two sizes: be to go to step S15, otherwise go to step S21;
S15. the normal direction distribution of microcosmic is carried out to matching;
The normal direction of the microcosmic that S16. will be expressed by anisotropy sphere Gaussian function distributes and distributes and carry out the bidirectional reflectance distribution function that convolution operation obtains considering two sizes of micromechanism with macroscopical plane bidirectional reflectance;
S21. the bidirectional reflectance distribution function of being expressed by anisotropy sphere Gaussian function is carried out to the sphere distortion operation of semivector to incident direction;
Preferably, in above-mentioned steps S21, can utilize that second-order differential is constant carries out the sphere distortion of semivector to incident direction to the bidirectional reflectance distribution function of being expressed by anisotropy sphere Gaussian function; For example, the method that can propose in 09 year with reference to Wang Jia equality people, by keeping second-order differential constant, derive the anisotropy sphere Gaussian function after distortion; This distortion conversion is applied to bidirectional reflectance distribution function, it is transformed to the incident direction space.
S31. utilize the multiplicative closed of anisotropy sphere Gaussian function, the bidirectional reflectance distribution function after distortion and light source are carried out to combination, the bidirectional reflectance distribution function after soon distortion and light source multiply each other and obtain a distribution function;
S41. the distribution function obtained in step S31 is directly carried out to integration and obtain the final color of playing up;
Optionally, after described step S31, also comprise:
S32. judge whether to consider observability: otherwise go to step S41, be to go to step S42;
S42. the distribution function obtained in step S31 is combined with the observability function, calculated product is divided and is obtained the final color of playing up; Thereby utilize the general sphere Gaussian function of the constant calculating of integration and the equivalence of anisotropy sphere Gaussian function to obtain playing up color;
For example, by the anisotropy sphere Gaussian function obtained in step S31, by size (surface integral of function) constant method, be approximately bandwidth and be
the general sphere Gaussian function of equivalence of (bandwidth that wherein λ and μ are former anisotropy sphere Gaussian function); The method of then utilizing Wang Jia equality people to propose in 09 year is calculated the final color of playing up to integrated value.
It should be noted that: the rendering intent based on anisotropy sphere Gaussian function provided in the present embodiment is only a kind of implementation method of the present invention, can also be by increasing or reduce step, selecting step to combine to realize the present invention etc. in practical application.
The anisotropy sphere Gaussian function of rendering intent provided by the present invention based on brand-new, than the rendering intent based on mixing the sphere Gaussian function in prior art, can significantly improve and play up frame per second, thereby can better realize real-time rendering; In addition, anisotropy sphere Gaussian function provided by the present invention and character thereof can also be for other application of graphics, even other fields.
Above embodiment is only for illustrating the present invention; and be not limitation of the present invention; the those of ordinary skill in relevant technologies field; without departing from the spirit and scope of the present invention; can also make a variety of changes and modification, therefore all technical schemes that are equal to also belong to protection category of the present invention.
Claims (4)
1. the rendering intent based on anisotropy sphere Gaussian function, is characterized in that, comprises step:
S11. utilize anisotropy sphere Gaussian function to carry out matching to light source and bidirectional reflectance distribution function;
S21. the bidirectional reflectance distribution function of being expressed by anisotropy sphere Gaussian function is carried out to the sphere distortion of semivector to incident direction;
S31. utilize the multiplicative closed of anisotropy sphere Gaussian function, the bidirectional reflectance distribution function after distortion and light source are multiplied each other and obtain a distribution function;
S41. the distribution function obtained in step S31 is carried out to integration and obtain the final color of playing up;
Wherein, the geometric definition of described anisotropy sphere Gaussian function is:
Wherein, z, x, y is three main shafts perpendicular to each other; λ and μ are respectively the bandwidth of x and y axle, and meet λ > 0, μ > 0; The amplitude that c is function; Level and smooth S (v; Z)=max (vz, 0), v is vector of unit length, a bit on the representation unit ball;
The algebra definition of described anisotropy sphere Gaussian function is:
Wherein, A is 3 * 3 real symmetric matrixs, the unit character vector that the minimal characteristic root that z is A is corresponding.
2. rendering intent according to claim 1, is characterized in that, after described step S11, also comprises:
S12. judge whether to consider observability: be to go to step S13, otherwise go to step S14;
S13. the observability function is sampled;
S14. judge whether to consider two sizes: be to go to step S15, otherwise go to step S21;
S15. the normal direction distribution of microcosmic is carried out to matching;
The normal direction of the microcosmic that S16. will be expressed by anisotropy sphere Gaussian function distributes and carries out with macroscopical plane bidirectional reflectance distribution the bidirectional reflectance distribution function that convolution obtains two sizes.
3. rendering intent according to claim 2, is characterized in that, in described step S21, utilizes that second-order differential is constant carries out the sphere distortion of semivector to incident direction to the bidirectional reflectance distribution function of being expressed by anisotropy sphere Gaussian function.
4. according to the described rendering intent of claim 2 or 3, it is characterized in that, also comprise after described step S31:
S32. judge whether to consider observability: otherwise go to step S41, be to go to step S42;
S42. the distribution function obtained in step S31 is combined with the observability function, calculated product is divided and is obtained the final color of playing up.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310424582.1A CN103473803B (en) | 2013-09-17 | 2013-09-17 | Based on the rendering intent of aeolotropy spherical Gaussian function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310424582.1A CN103473803B (en) | 2013-09-17 | 2013-09-17 | Based on the rendering intent of aeolotropy spherical Gaussian function |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103473803A true CN103473803A (en) | 2013-12-25 |
CN103473803B CN103473803B (en) | 2016-02-24 |
Family
ID=49798636
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310424582.1A Active CN103473803B (en) | 2013-09-17 | 2013-09-17 | Based on the rendering intent of aeolotropy spherical Gaussian function |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103473803B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111768473A (en) * | 2020-06-28 | 2020-10-13 | 完美世界(北京)软件科技发展有限公司 | Image rendering method, device and equipment |
CN115439595A (en) * | 2022-11-07 | 2022-12-06 | 四川大学 | AR-oriented indoor scene dynamic illumination online estimation method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8044966B1 (en) * | 2002-05-31 | 2011-10-25 | Nvidia Corporation | Method and apparatus for display image adjustment |
CN102663806A (en) * | 2012-03-02 | 2012-09-12 | 西安交通大学 | Artistic-vision-based cartoon stylized rendering method of image |
-
2013
- 2013-09-17 CN CN201310424582.1A patent/CN103473803B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8044966B1 (en) * | 2002-05-31 | 2011-10-25 | Nvidia Corporation | Method and apparatus for display image adjustment |
CN102663806A (en) * | 2012-03-02 | 2012-09-12 | 西安交通大学 | Artistic-vision-based cartoon stylized rendering method of image |
Non-Patent Citations (2)
Title |
---|
JIAPING WANG ET AL.: "All-Frequency Rendering of Dynamic, Spatially-Varying Reflectance", 《ACM TRANSACTIONS ON GRAPHICS - PROCEEDINGS OF ACM SIGGRAPH ASIA 2009》 * |
KEI IWASAKI ET AL.: "Real-time Rendering of Dynamic Scenes under All-frequency Lighting using Integral Spherical Gaussian", 《COMPUTER GRAPHICS FORUM(EUROGRAPHICS 2012 PROCEEDINGS)》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111768473A (en) * | 2020-06-28 | 2020-10-13 | 完美世界(北京)软件科技发展有限公司 | Image rendering method, device and equipment |
CN111768473B (en) * | 2020-06-28 | 2024-03-22 | 完美世界(北京)软件科技发展有限公司 | Image rendering method, device and equipment |
CN115439595A (en) * | 2022-11-07 | 2022-12-06 | 四川大学 | AR-oriented indoor scene dynamic illumination online estimation method and device |
Also Published As
Publication number | Publication date |
---|---|
CN103473803B (en) | 2016-02-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Heitz | Understanding the masking-shadowing function in microfacet-based BRDFs | |
Sándor et al. | The relative Lyapunov indicator: an efficient method of chaos detection | |
CN103323846B (en) | A kind of inversion method based on polarization interference synthetic aperture radar and device | |
CN103177458B (en) | A kind of visible remote sensing image region of interest area detecting method based on frequency-domain analysis | |
CN104756150B (en) | It is depth buffered | |
CN103679661B (en) | A kind of self adaptation remote sensing image fusion method based on significance analysis | |
WO2005020158A8 (en) | Method and apparatus for real-time global illumination incorporating stream processor based hybrid ray tracing | |
CN103559733B (en) | Spherical body drawing method supporting three-dimension data inner viewpoint roaming | |
EP1668468A4 (en) | Service operation data processing using checklist functionality in association with inspected items | |
WO2004081724A3 (en) | System and method using trading value for weighting instruments in an index | |
CN103473803A (en) | Rendering method based on aeolotropy spherical Gaussian function | |
CN102314704B (en) | BRDF (bidirectional reflectance distribution function) -based real-time subsurface scattering rendering method | |
CN101383044A (en) | Spatial diffusion in images | |
CN106203350A (en) | A kind of moving target is across yardstick tracking and device | |
CN110133693A (en) | Big-dipper satellite positioning terminal and its localization method based on ARM Crotex-M4 and μ CGUI | |
CN107274225A (en) | Second-hand vehicle price evaluation method based on influence factor parametric solution | |
WO2009087459A3 (en) | Display image specification generation device, display image specification generation method, display image specification generation program, in-vehicle image display device, portable image display device, image display system, image display device, image display method, image display program, and recording medium | |
CN101615300A (en) | A kind of screen space micro-structure surface object ambient light occlusion method | |
CN102592306A (en) | Method for estimation of occlusion in a virtual environment | |
CN102819840B (en) | Method for segmenting texture image | |
CN102831621A (en) | Video significance processing method based on spectral analysis | |
CN104240202A (en) | Sea wave three-dimensional visualization effect evaluation method | |
CN109360169A (en) | A kind of signal processing method of removing rain based on single image demisting | |
CN104240186A (en) | Method for improving definition of single-frame video image | |
CN107748875A (en) | A kind of earthquake building recognition method based on multidate radar image texture feature |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |