CN109523619A - A method of 3D texturing is generated by the picture of multi-angle polishing - Google Patents

A method of 3D texturing is generated by the picture of multi-angle polishing Download PDF

Info

Publication number
CN109523619A
CN109523619A CN201811341422.XA CN201811341422A CN109523619A CN 109523619 A CN109523619 A CN 109523619A CN 201811341422 A CN201811341422 A CN 201811341422A CN 109523619 A CN109523619 A CN 109523619A
Authority
CN
China
Prior art keywords
picture
textures
generates
texturing
angle polishing
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
CN201811341422.XA
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.)
Xiamen Qishon Technology Co Ltd
Original Assignee
Xiamen Qishon 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 Xiamen Qishon Technology Co Ltd filed Critical Xiamen Qishon Technology Co Ltd
Priority to CN201811341422.XA priority Critical patent/CN109523619A/en
Publication of CN109523619A publication Critical patent/CN109523619A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/04Texture mapping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/50Lighting effects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2210/00Indexing scheme for image generation or computer graphics
    • G06T2210/62Semi-transparency

Abstract

The invention discloses a kind of method that the picture by multi-angle polishing generates 3D texturing, Image Acquisition, image preprocessing, diffusing reflection textures are generated, normal map generates, Displacement generates, specular map generates, transparency textures generate, output result.Advantages of the present invention: the light diffusing reflection attribute for the material that comprehensive simulation material texture more accurately reacts the diffusing reflection phenomenon of light, the diffusing reflection textures of generation under different light angles;Three-dimensional normal data makes 3D real-time rendering effect truer compared to the bumps for the texture that the one-dimensional normal data that single picture obtains more accurately reacts;The interference that figure colour obtains the high light attribute of material in picture can be effectively removed by the specular map that normal map evolution comes, the specular map of generation is allowed more accurately to react the light-reflecting property of material;By bottom polishing, the picture of acquisition has really reacted the translucency of material, to keep the transparency textures generated more accurate.

Description

A method of 3D texturing is generated by the picture of multi-angle polishing
Technical field
The present invention relates to a kind of generation method of 3D texturing, in particular to a kind of picture by multi-angle polishing is raw At the method for 3D texturing, belong to 3D virtual technology field.
Background technique
The application of 3D virtual technology is increasingly extensive, however in order to force model rendering effect more in the application of 3D virtual technology Very, then the 3D Materials Library textures of high quality are needed.Texturing needed for current most of 3D virtual softwares includes (diffusing reflection patch Scheme Color, normal map Normals, Displacement Displacement, specular map Specular, transparency textures Alpha).The similar technique for generating textures at present is a simply converted by the progress of individual source color figure to generate 3D material Textures.And its existing deficiency is: when 1, being converted by single picture due to only including single direction light source when source figure makes The shadow directional information left, therefore its normal map being converted to also only includes the normal information in a direction.It is virtual in 3D In application, 3D engine needs to calculate the yin under different angle in real time according to normal direction in normal map and the angular relationship of light source Shadow relationship, to simulate more true effect.2, by individual source, figure has no idea to generate transparency figure.When it is only simple Picture discoloration is changed into grayscale image, indicates transparency with different gray values, this mode by source figure influence of color very Greatly.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of picture generation 3D texturing by multi-angle polishing Method, this method includes multidirectional normal information, and the influence of color by source figure is smaller.
The present invention is realized by following proposal: a method of 3D texturing is generated by the picture of multi-angle polishing, It is characterized by: it includes following procedure, image acquisition process → image preprocessing process → diffusing reflection textures generating process → Normal map generating process → Displacement generating process → specular map generating process → transparency textures generating process → defeated Result out.
It is to obtain required each angle polishing shooting and picture first, then picture out of the ordinary is pre-processed, next First processing generates diffusing reflection textures, normal map, Displacement, high definition textures, transparency textures and then terminates to generate in order Export result.
Described image collection process is that user by different angle polishing shoots 6 pictures respectively, wherein the four corners of the world four Direction one picture of shooting of polishing simultaneously is named as picture COLOR, the north and is named as picture N, south to the picture that polishing is shot To being picture S, Dong Fangxiangwei picture E, west to for picture W, Di Fangwei picture A.
Described image preprocessing process includes carrying out high frequency to picture COLOR to remove dryness processing, luminance proportion processing and to figure Piece A carries out gray processing and reverse phase processing.
The diffusing reflection textures generating process include to picture COLOR carry out high frequency remove dryness processing and to picture COLOR into The processing of row luminance proportion.
The normal map generating process includes following procedure:
Process one: original image is opened to picture N, picture S, picture E, picture W tetra- and carries out gray processing processing;
Process two: plus high-pass filtering as normal after picture N and picture S two are opened the superposition of gray scale original image after process one The channel R of figure;
Process three: plus high-pass filtering as normal after picture E and picture W two are opened the superposition of gray scale original image after process one The channel G of figure;
Process four: picture N, picture S, picture E, picture W tetra- are opened conduct after gray scale original image is superimposed by step after process one The channel B of normal map;
Process five: the data creation normal map used in tri- channels RGB of process two, process three, process four.
The Displacement generating process the following steps are included:
Step 1: the data of channel B in normal map generating process are extracted;
Step 2: the channel B data that step 1 is extracted carry out Gaussian Blur processing;
Step 3: according to step 2 treated channel B data creation Displacement.
The specular map generating process the following steps are included:
Step 1: by normal map discoloration, grayscale image is converted to;
Step 2: creation specular map.
The transparency textures generating process the following steps are included:
Step 1: picture A discoloration is converted to grayscale image;
Step 2: the picture A after step 1 discoloration is carried out reverse phase processing;
Step 3: creation transparency textures.
The invention has the benefit that
1, the method that a kind of picture by multi-angle polishing of the present invention generates 3D texturing passes through multi-angle polishing institute The plurality of pictures of acquisition, comprehensive simulation material texture to the diffusing reflection phenomenon of light under different light angles, overflow by generation The light diffusing reflection attribute for the material that Reflction more accurately reacts;
2, the method that a kind of picture by multi-angle polishing of the present invention generates 3D texturing passes through East, West, South, North four A different directions polishing 4 picture obtained calculates separately the normal in material texture tri- directions X, Y, Z in three dimensions Then data are saved in tri- channels RGB of picture by data respectively, three-dimensional normal data is obtained compared to single picture The bumps for the texture that one-dimensional normal data more accurately reacts, make 3D real-time rendering effect truer, the figure on general computer Piece file is all to save image information by tri- channels RGB;
3, a kind of method that the picture by multi-angle polishing generates 3D texturing of the present invention was developed by normal map The specular map come can effectively remove the interference that figure colour obtains the high light attribute of material in picture, allow the bloom of generation Textures more accurately react the light-reflecting property of material;
4, the method that a kind of picture by multi-angle polishing of the present invention generates 3D texturing works as material by bottom polishing The light passed through when matter hole can be taken by camera, and the local light without hole can be blocked from and be shot by camera It arrives, the picture being achieved in that really has reacted the translucency of material, to keep the transparency textures generated more accurate.
Detailed description of the invention
Fig. 1 is the flow diagram for the method that a kind of picture by multi-angle polishing of the present invention generates 3D texturing.
Specific embodiment
Below with reference to Fig. 1, the present invention is further described, but the scope of the present invention does not limit to the content.
For clarity, not describing whole features of practical embodiments, in the following description, it is not described in detail well known function And structure, because they can make the present invention chaotic due to unnecessary details, it will be understood that opening in any practical embodiments In hair, it is necessary to make a large amount of implementation details to realize the specific objective of developer, such as according to related system or related business Limitation, changes into another embodiment by one embodiment, additionally, it should think that this development may be complicated and expend Time, but to those skilled in the art it is only routine work.
A method of 3D texturing being generated by the picture of multi-angle polishing, it is characterised in that: it includes following mistake Journey, image acquisition process → image preprocessing process → diffusing reflection textures generating process → normal map generating process → displacement patch Figure generating process → specular map generating process → transparency textures generating process → output result.
It is to obtain required each angle polishing shooting and picture first, then picture out of the ordinary is pre-processed, next First processing generates diffusing reflection textures, normal map, Displacement, high definition textures, transparency textures and then terminates to generate in order Export result.
Described image collection process is that user by different angle polishing shoots 6 pictures respectively, wherein the four corners of the world four Direction one picture of shooting of polishing simultaneously is named as picture COLOR, the north and is named as picture N, south to the picture that polishing is shot To being picture S, Dong Fangxiangwei picture E, west to for picture W, Di Fangwei picture A.
Described image preprocessing process includes carrying out high frequency to picture COLOR to remove dryness processing, luminance proportion processing and to figure Piece A carries out gray processing and reverse phase processing.
The diffusing reflection textures generating process include to picture COLOR carry out high frequency remove dryness processing and to picture COLOR into The processing of row luminance proportion.
The normal map generating process includes following procedure:
Process one: original image is opened to picture N, picture S, picture E, picture W tetra- and carries out gray processing processing;
Process two: plus high-pass filtering as normal after picture N and picture S two are opened the superposition of gray scale original image after process one The channel R of figure;
Process three: plus high-pass filtering as normal after picture E and picture W two are opened the superposition of gray scale original image after process one The channel G of figure;
Process four: picture N, picture S, picture E, picture W tetra- are opened conduct after gray scale original image is superimposed by step after process one The channel B of normal map;
Process five: the data creation normal map used in tri- channels RGB of process two, process three, process four.
The Displacement generating process the following steps are included:
Step 1: the data of channel B in normal map generating process are extracted;
Step 2: the channel B data that step 1 is extracted carry out Gaussian Blur processing;
Step 3: according to step 2 treated channel B data creation Displacement.
The specular map generating process the following steps are included:
Step 1: by normal map discoloration, grayscale image is converted to;
Step 2: creation specular map.
The transparency textures generating process the following steps are included:
Step 1: picture A discoloration is converted to grayscale image;
Step 2: the picture A after step 1 discoloration is carried out reverse phase processing;
Step 3: creation transparency textures.
Although having done more detailed elaboration to technical solution of the present invention and having enumerated, it should be understood that for ability For field technique personnel, modifications to the embodiments described above may be made or uses equivalent alternative solution, this is to those skilled in the art It is it is clear that these modifications or improvements without departing from theon the basis of the spirit of the present invention, belong to the present invention for member Claimed range.

Claims (9)

1. a kind of method that the picture by multi-angle polishing generates 3D texturing, it is characterised in that: it includes following procedure, Image acquisition process → image preprocessing process → diffusing reflection textures generating process → normal map generating process → Displacement Generating process → specular map generating process → transparency textures generating process → output result.
2. a kind of method that the picture by multi-angle polishing generates 3D texturing, feature according to requiring 1 It is: is to obtain required each angle polishing shooting and picture first, then picture out of the ordinary is pre-processed, next by suitable Sequence, which is first handled, to be generated diffusing reflection textures, normal map, Displacement, high definition textures, transparency textures and then terminates to generate output As a result.
3. the method that a kind of picture by multi-angle polishing according to claim 1 generates 3D texturing, feature Be: described image collection process is that user by different angle polishing shoots 6 pictures respectively, wherein four corners of the world four direction Simultaneously polishing shoot a picture be named as picture COLOR, the north to polishing shoot picture be named as picture N, south to for Picture S, Dong Fangxiangwei picture E, west are to for picture W, Di Fangwei picture A.
4. the method that a kind of picture by multi-angle polishing according to claim 3 generates 3D texturing, feature Be: described image preprocessing process includes carrying out high frequency to picture COLOR to remove dryness processing, luminance proportion processing and to picture A Carry out gray processing and reverse phase processing.
5. the method that a kind of picture by multi-angle polishing according to claim 4 generates 3D texturing, feature Be: the diffusing reflection textures generating process includes carrying out high frequency to picture COLOR to remove dryness processing and carry out picture COLOR bright Spend equilibrium treatment.
6. the method that a kind of picture by multi-angle polishing according to claim 5 generates 3D texturing, feature Be: the normal map generating process includes following procedure:
Process one: original image is opened to picture N, picture S, picture E, picture W tetra- and carries out gray processing processing;
Process two: plus high-pass filtering as normal map after picture N and picture S two are opened the superposition of gray scale original image after process one The channel R;
Process three: plus high-pass filtering as normal map after picture E and picture W two are opened the superposition of gray scale original image after process one The channel G;
Process four: step is used as normal after picture N, picture S, picture E, picture W tetra- are opened the superposition of gray scale original image after process one The channel B of figure;
Process five: the data creation normal map used in tri- channels RGB of process two, process three, process four.
7. the method that a kind of picture by multi-angle polishing according to claim 6 generates 3D texturing, feature Be: the Displacement generating process the following steps are included:
Step 1: the data of channel B in normal map generating process are extracted;
Step 2: the channel B data that step 1 is extracted carry out Gaussian Blur processing;
Step 3: according to step 2 treated channel B data creation Displacement.
8. the method that a kind of picture by multi-angle polishing according to claim 7 generates 3D texturing, feature Be: the specular map generating process the following steps are included:
Step 1: by normal map discoloration, grayscale image is converted to;
Step 2: creation specular map.
9. the method that a kind of picture by multi-angle polishing according to claim 8 generates 3D texturing, feature Be: the transparency textures generating process the following steps are included:
Step 1: picture A discoloration is converted to grayscale image;
Step 2: the picture A after step 1 discoloration is carried out reverse phase processing;
Step 3: creation transparency textures.
CN201811341422.XA 2018-11-12 2018-11-12 A method of 3D texturing is generated by the picture of multi-angle polishing Pending CN109523619A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811341422.XA CN109523619A (en) 2018-11-12 2018-11-12 A method of 3D texturing is generated by the picture of multi-angle polishing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811341422.XA CN109523619A (en) 2018-11-12 2018-11-12 A method of 3D texturing is generated by the picture of multi-angle polishing

Publications (1)

Publication Number Publication Date
CN109523619A true CN109523619A (en) 2019-03-26

Family

ID=65776026

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811341422.XA Pending CN109523619A (en) 2018-11-12 2018-11-12 A method of 3D texturing is generated by the picture of multi-angle polishing

Country Status (1)

Country Link
CN (1) CN109523619A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110176051A (en) * 2019-05-28 2019-08-27 深圳天际云数字技术有限公司 A kind of model editing method and apparatus
CN113034661A (en) * 2021-03-24 2021-06-25 网易(杭州)网络有限公司 Method and device for generating MatCap map
CN113362440A (en) * 2021-06-29 2021-09-07 成都数字天空科技有限公司 Material map obtaining method and device, electronic equipment and storage medium
CN114627227A (en) * 2022-05-18 2022-06-14 深圳元象信息科技有限公司 Object reconstruction method and device based on PBR material and computer readable storage medium
WO2023071287A1 (en) * 2021-10-29 2023-05-04 浙江凌迪数字科技有限公司 Method for generating material map by means of multi-angle lighting photography, and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104463937A (en) * 2014-12-05 2015-03-25 无锡梵天信息技术股份有限公司 Animation generation method and device based on irregular object
CN105262927A (en) * 2015-11-11 2016-01-20 厦门启尚科技有限公司 FSM3D fabric high definition scanner and automatic control system thereof
CN106408617A (en) * 2016-08-26 2017-02-15 珠海金山网络游戏科技有限公司 Interactive single image material acquiring system based on YUV color space and method
CN106652007A (en) * 2016-12-23 2017-05-10 网易(杭州)网络有限公司 Virtual sea surface rendering method and system
CN107204033A (en) * 2016-03-16 2017-09-26 腾讯科技(深圳)有限公司 The generation method and device of picture
CN107590862A (en) * 2017-09-14 2018-01-16 深圳市彬讯科技有限公司 A kind of system for orienting Fast rendering threedimensional model
US20180150941A1 (en) * 2016-11-30 2018-05-31 Canon Kabushiki Kaisha Image processing apparatus, imaging apparatus, image processing method, image processing program, and recording medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104463937A (en) * 2014-12-05 2015-03-25 无锡梵天信息技术股份有限公司 Animation generation method and device based on irregular object
CN105262927A (en) * 2015-11-11 2016-01-20 厦门启尚科技有限公司 FSM3D fabric high definition scanner and automatic control system thereof
CN107204033A (en) * 2016-03-16 2017-09-26 腾讯科技(深圳)有限公司 The generation method and device of picture
CN106408617A (en) * 2016-08-26 2017-02-15 珠海金山网络游戏科技有限公司 Interactive single image material acquiring system based on YUV color space and method
US20180150941A1 (en) * 2016-11-30 2018-05-31 Canon Kabushiki Kaisha Image processing apparatus, imaging apparatus, image processing method, image processing program, and recording medium
CN106652007A (en) * 2016-12-23 2017-05-10 网易(杭州)网络有限公司 Virtual sea surface rendering method and system
CN107590862A (en) * 2017-09-14 2018-01-16 深圳市彬讯科技有限公司 A kind of system for orienting Fast rendering threedimensional model

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王一夫等: ""三维纹理设计"", 《印刷工业出版社》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110176051A (en) * 2019-05-28 2019-08-27 深圳天际云数字技术有限公司 A kind of model editing method and apparatus
CN113034661A (en) * 2021-03-24 2021-06-25 网易(杭州)网络有限公司 Method and device for generating MatCap map
CN113362440A (en) * 2021-06-29 2021-09-07 成都数字天空科技有限公司 Material map obtaining method and device, electronic equipment and storage medium
CN113362440B (en) * 2021-06-29 2023-05-26 成都数字天空科技有限公司 Material map acquisition method and device, electronic equipment and storage medium
WO2023071287A1 (en) * 2021-10-29 2023-05-04 浙江凌迪数字科技有限公司 Method for generating material map by means of multi-angle lighting photography, and electronic device
CN114627227A (en) * 2022-05-18 2022-06-14 深圳元象信息科技有限公司 Object reconstruction method and device based on PBR material and computer readable storage medium
CN114627227B (en) * 2022-05-18 2022-09-27 深圳元象信息科技有限公司 Object reconstruction method and device based on PBR material and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN109523619A (en) A method of 3D texturing is generated by the picture of multi-angle polishing
CN109472858B (en) Differential rendering pipeline for inverse graphics
Zhao et al. Theoretical analysis of illumination in PCA-based vision systems
US10762620B2 (en) Deep-learning method for separating reflection and transmission images visible at a semi-reflective surface in a computer image of a real-world scene
Aliaga et al. Fast high-resolution appearance editing using superimposed projections
CN107330964B (en) Display method and system of complex three-dimensional object
CN101681438A (en) System and method for tracking three dimensional objects
GB2465792A (en) Illumination Direction Estimation using Reference Object
CN103262126B (en) Image processing apparatus, illumination processing device and method thereof
US11663775B2 (en) Generating physically-based material maps
CN105261059A (en) Rendering method based on indirect reflection highlight calculation in screen space
CN110458964B (en) Real-time calculation method for dynamic illumination of real environment
CN106558017A (en) Spherical display image processing method and system
Liu et al. A general differentiable mesh renderer for image-based 3D reasoning
CN110675480A (en) Method and device for acquiring sampling position of texture operation
CN107392836A (en) The more projections of solid realized using graphics processing pipeline
CN112669436A (en) Deep learning sample generation method based on 3D point cloud
CN109636890A (en) Grain table method and apparatus, electronic equipment, storage medium, product
Hold-Geoffroy et al. Single day outdoor photometric stereo
Yoon et al. A unified graphics and vision processor with a 0.89/spl mu/W/fps pose estimation engine for augmented reality
CN114913308A (en) Camera tracking method, device, equipment and storage medium
US10212406B2 (en) Image generation of a three-dimensional scene using multiple focal lengths
CN113393564A (en) Pond-based spatio-temporal importance resampling using global illumination data structure
US10366470B2 (en) Object separation for scanned assets
CN109446945A (en) Threedimensional model treating method and apparatus, electronic equipment, computer readable 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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190326

WD01 Invention patent application deemed withdrawn after publication