CN109949403A - A kind of method that two-dimension picture is converted to threedimensional model - Google Patents

A kind of method that two-dimension picture is converted to threedimensional model Download PDF

Info

Publication number
CN109949403A
CN109949403A CN201910032149.0A CN201910032149A CN109949403A CN 109949403 A CN109949403 A CN 109949403A CN 201910032149 A CN201910032149 A CN 201910032149A CN 109949403 A CN109949403 A CN 109949403A
Authority
CN
China
Prior art keywords
threedimensional model
picture
converted
tinting
file
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
CN201910032149.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.)
Zhuhai Xishan Mobile Game Technology Co Ltd
Zhuhai Kingsoft Online Game Technology Co Ltd
Original Assignee
Zhuhai Xishan Mobile Game Technology Co Ltd
Zhuhai Kingsoft Online Game 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 Zhuhai Xishan Mobile Game Technology Co Ltd, Zhuhai Kingsoft Online Game Technology Co Ltd filed Critical Zhuhai Xishan Mobile Game Technology Co Ltd
Priority to CN201910032149.0A priority Critical patent/CN109949403A/en
Publication of CN109949403A publication Critical patent/CN109949403A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Abstract

Technical solution of the present invention includes a kind of method that two-dimension picture is converted to threedimensional model, for realizing: corresponding UV textures are created for multiple threedimensional models;The corresponding UV textures of threedimensional model are placed in blank picture, obtain threedimensional model picture;The threedimensional model picture is printed, and interactive interface is provided and is tinted for customized, and the threedimensional model tinted is sent to computer installation;The threedimensional model picture tinted is identified using computer installation, obtains picture of tinting, generates corresponding file of tinting;Using interactive game application read described in tint file when, corresponding threedimensional model is loaded according to category of model identification code, according to tinting file and threedimensional model carries out matching treatment.The invention has the benefit that the present invention provides the truly feasible implementation method for turning threedimensional model by two-dimension picture, it is applicable in corresponding large-scale interactive game, realizes simple and fast conversion, reduce the workload of art designing personnel.

Description

A kind of method that two-dimension picture is converted to threedimensional model
Technical field
The present invention relates to a kind of methods that two-dimension picture is converted to threedimensional model, belong to Computer Image Processing field.
Background technique
Game generally requires to increase the interaction mode with player in large-scale field, and player applies in a piece of cardboard for a picture Then the scanning of this picture is converted into threedimensional model, is finally added in game, enhance the interaction of player by color into computer It participates in.
Summary of the invention
In view of the deficiencies of the prior art, technical solution of the present invention provides a kind of two-dimension picture and is converted to threedimensional model Method.
Technical solution of the present invention includes a kind of method that two-dimension picture is converted to threedimensional model, which is characterized in that the party Method includes: to create corresponding UV textures for multiple threedimensional models;The corresponding UV textures of threedimensional model are placed in blank picture, are obtained To threedimensional model picture, wherein blank picture is equipped with category of model identification code;The threedimensional model picture is printed, and is mentioned It tints for interactive interface for customized, and the threedimensional model tinted is sent to computer installation;Use computer installation pair The threedimensional model picture tinted is identified, picture of tinting is obtained, and generates corresponding file of tinting;Use interactive game application Tint described in reading file when, corresponding threedimensional model is loaded according to category of model identification code, according to file and the three-dimensional mould of tinting Type carries out matching treatment.
According to the method that the two-dimension picture is converted to threedimensional model, wherein threedimensional model is bottom surface number and low complexity Degree.
According to the method that the two-dimension picture is converted to threedimensional model, wherein UV textures are figure that is readily identified and tinting Case.
According to the method that the two-dimension picture is converted to threedimensional model, wherein model classification identification code is included in blank sheet Piece is provided with unique type identification code.
According to the method that the two-dimension picture is converted to threedimensional model, wherein the threedimensional model tinted send logical Overscan imaging apparatus is scanned and sends.
According to the method that the two-dimension picture is converted to threedimensional model, wherein computer installation is by receiving scanning means Intermediate tint region recognition and is cut, and then saves as file of tinting by the picture of the scanning of transmission, further, root Threedimensional model type is indicated according to the identification code in the picture lower left corner, and is saved in the form of filename.
According to the method that the two-dimension picture is converted to threedimensional model, wherein interactive game application reads file of tinting and obtains To file of tinting, corresponding threedimensional model is first loaded according to filename, and picture is read into memory and is converted into be swum by interaction The textures format that program program of playing is read, then matches picture as color map to threedimensional model.
According to the method that the two-dimension picture is converted to threedimensional model, this method further include: interactive game application is in root According to the operation requests of itself, the threedimensional model for loading out is operated, wherein operation requests include but is not limited to mobile and rotation.
The invention has the benefit that the present invention provides the truly feasible realization side for turning threedimensional model by two-dimension picture Method is applicable in corresponding large-scale interactive game, realizes simple and fast conversion, reduce the workload of art designing personnel.
Detailed description of the invention
Fig. 1 show the overview flow chart of embodiment of the present invention;
Fig. 2 show embodiment of the present invention reference to be printed and tints picture;
Effect after the picture of tinting that Fig. 3 show embodiment of the present invention is drawn;
The picture of tinting that Fig. 4 show embodiment of the present invention generates the effect after threedimensional model.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, right in the following with reference to the drawings and specific embodiments The present invention is described in detail.The method that two-dimension picture of the invention is converted to threedimensional model is suitable for large-scale interactive game.
Fig. 1 show the overview flow chart of embodiment according to the present invention.It is specific as follows:
Corresponding UV textures are created for multiple threedimensional models;The corresponding UV textures of threedimensional model are placed in blank picture, Threedimensional model picture is obtained, wherein blank picture is equipped with category of model identification code;The threedimensional model picture is printed, and It provides interactive interface to tint for customized, and the threedimensional model tinted is sent to computer installation;Use computer installation The threedimensional model picture tinted is identified, picture of tinting is obtained, generates corresponding file of tinting;Use interactive game journey Sequence read described in tint file when, corresponding threedimensional model is loaded according to category of model identification code, according to file and the three-dimensional of tinting Model carries out matching treatment.
Fig. 2 show embodiment of the present invention reference to be printed and tints picture, and wherein Fig. 3 show embodiment party of the present invention Effect after the picture of tinting of formula is drawn, after the picture of tinting that wherein Fig. 4 show embodiment of the present invention generates threedimensional model Effect.Such as Fig. 2-4, technical solution of the present invention is followed the steps below:
1) be prepared in advance the threedimensional model of fixed quantity, then the UV textures special for each modelling.This model There is a particular/special requirement, face number is not easy excessively high with complexity, then UV textures are transformed into the pattern for being easy to player's understanding and coloring in.
2) designed UV textures are put into the centre of a picture, then increase identification code in this picture lower left corner, are used In differentiation be any model.
3) this photo print is come out, is supplied to player and tints, then through scanner scanning into computer.
4) computer expert over-scans the picture that instrument takes scanning, first comes out intermediate region recognition of tinting, carries out later It cuts, individually saves into a file, then to indicate be any model to the identification code in the basic picture lower left corner, it can be with filename Form save.
5) interactive game application reads the picture newly saved, corresponding threedimensional model is first loaded according to filename, then Picture is read into memory, the textures format that can be read by present procedure is converted into, then matches as color map to three-dimensional Model.
6) interactive game application operates the three-dimensional mould for loading out according to itself design (for example move, rotate) Type.
The above, only presently preferred embodiments of the present invention, the invention is not limited to above embodiment, as long as It reaches technical effect of the invention with identical means, all should belong to protection scope of the present invention.In protection model of the invention Its technical solution and/or embodiment can have a variety of different modifications and variations in enclosing.

Claims (8)

1. a kind of method that two-dimension picture is converted to threedimensional model, which is characterized in that this method comprises:
Corresponding UV textures are created for multiple threedimensional models;
The corresponding UV textures of threedimensional model are placed in blank picture, obtain threedimensional model picture, wherein blank picture is equipped with mould Type Classification and Identification code;
The threedimensional model picture is printed, and provides interactive interface for the customized three-dimensional mould tinted, and will tinted Type is sent to computer installation;
The threedimensional model picture tinted is identified using computer installation, obtains picture of tinting, generates corresponding tints File;
Using interactive game application read described in tint file when, corresponding threedimensional model is loaded according to category of model identification code, According to file and the threedimensional model progress matching treatment of tinting.
2. the method that two-dimension picture according to claim 1 is converted to threedimensional model, which is characterized in that the threedimensional model For bottom surface number and low complex degree.
3. the method that two-dimension picture according to claim 1 is converted to threedimensional model, which is characterized in that the UV textures are Pattern that is readily identified and tinting.
4. the method that two-dimension picture according to claim 1 is converted to threedimensional model, which is characterized in that the model classification Identification code is included in blank picture and is provided with unique type identification code.
5. the method that two-dimension picture according to claim 1 is converted to threedimensional model, which is characterized in that described to tint Threedimensional model send and is scanned and sends by scanning means.
6. the method that two-dimension picture according to claim 1 is converted to threedimensional model, which is characterized in that the computer dress The picture by receiving the scanning that scanning means is sent is set, intermediate tint and is cut region recognition, and then saves as File of tinting further indicates threedimensional model type according to the identification code in the picture lower left corner, and is protected in the form of filename It deposits.
7. the method that two-dimension picture according to claim 1 or 6 is converted to threedimensional model, which is characterized in that the interaction Games read file of tinting and obtain file of tinting, and corresponding threedimensional model is first loaded according to filename, picture is read Memory simultaneously is converted into then to be matched picture as color map to three by the textures format that interactive game application program is read Dimension module.
8. the method that two-dimension picture according to claim 1 is converted to threedimensional model, which is characterized in that this method is also wrapped Include: interactive game application operates the threedimensional model for loading out according to itself operation requests, wherein operation requests include but It is not limited to mobile and rotates.
CN201910032149.0A 2019-01-14 2019-01-14 A kind of method that two-dimension picture is converted to threedimensional model Pending CN109949403A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910032149.0A CN109949403A (en) 2019-01-14 2019-01-14 A kind of method that two-dimension picture is converted to threedimensional model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910032149.0A CN109949403A (en) 2019-01-14 2019-01-14 A kind of method that two-dimension picture is converted to threedimensional model

Publications (1)

Publication Number Publication Date
CN109949403A true CN109949403A (en) 2019-06-28

Family

ID=67007258

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910032149.0A Pending CN109949403A (en) 2019-01-14 2019-01-14 A kind of method that two-dimension picture is converted to threedimensional model

Country Status (1)

Country Link
CN (1) CN109949403A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116958433A (en) * 2023-07-21 2023-10-27 武汉熠腾科技有限公司 Quick loading method and system for oversized surface number model

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070273706A1 (en) * 2006-05-25 2007-11-29 Microsoft Corporation Texture mapping 2-D text properties to 3-D text
JP2012113642A (en) * 2010-11-26 2012-06-14 Konami Digital Entertainment Co Ltd Game program, game device, and game control method
CN105447913A (en) * 2015-12-31 2016-03-30 青岛爱维互动信息技术有限公司 Entity drawing and online 3d (three-dimensional) model combined interactive system
CN105929945A (en) * 2016-04-18 2016-09-07 展视网(北京)科技有限公司 Augmented reality interaction method and device, mobile terminal and mini-computer
CN106445170A (en) * 2016-11-16 2017-02-22 广州悦派信息科技有限公司 Interactive projection system based on AR
CN106875461A (en) * 2015-12-10 2017-06-20 青岛华正信息技术有限公司 One kind is tinted plane picture 3D model transformation systems and method
CN207473676U (en) * 2017-11-30 2018-06-08 深圳数虎图像股份有限公司 A kind of interactive painting system based on image procossing

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070273706A1 (en) * 2006-05-25 2007-11-29 Microsoft Corporation Texture mapping 2-D text properties to 3-D text
JP2012113642A (en) * 2010-11-26 2012-06-14 Konami Digital Entertainment Co Ltd Game program, game device, and game control method
CN106875461A (en) * 2015-12-10 2017-06-20 青岛华正信息技术有限公司 One kind is tinted plane picture 3D model transformation systems and method
CN105447913A (en) * 2015-12-31 2016-03-30 青岛爱维互动信息技术有限公司 Entity drawing and online 3d (three-dimensional) model combined interactive system
CN105929945A (en) * 2016-04-18 2016-09-07 展视网(北京)科技有限公司 Augmented reality interaction method and device, mobile terminal and mini-computer
CN106445170A (en) * 2016-11-16 2017-02-22 广州悦派信息科技有限公司 Interactive projection system based on AR
CN207473676U (en) * 2017-11-30 2018-06-08 深圳数虎图像股份有限公司 A kind of interactive painting system based on image procossing

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116958433A (en) * 2023-07-21 2023-10-27 武汉熠腾科技有限公司 Quick loading method and system for oversized surface number model

Similar Documents

Publication Publication Date Title
US5280305A (en) Method and apparatus for forming a stylized, three-dimensional object
CN102855512B (en) Dot pattern
CN1110022C (en) Method and apparatus for mapping texture
CN1132887A (en) Method of producing image data, image data processing apparatus, and recording medium
EP1136283A3 (en) Integrated document creation and finishing using standalone finishing devices
CN106462989A (en) Saliency-preserving distinctive low-footprint photograph aging effect
CN1272192A (en) Image processing apparatus and method, and providing medium
JPH10511026A (en) Logo with shade for golf ball
CN105676329B (en) One kind showing hidden film grating and preparation method thereof
CN108804989A (en) Painting and calligraphy device, painting and calligraphy equipment and painting and calligraphy householder method
CN108596003A (en) It is a kind of that Quick Response Code restorative procedure and system are stained based on machine learning
CN109949403A (en) A kind of method that two-dimension picture is converted to threedimensional model
EP0953444A3 (en) Image processing method and apparatus and recording medium
CN106683593A (en) Billboard containing coding information
CN105335345B (en) Color document image synthetic method and device
CN103434136A (en) Method for copying inscription rubbing template by utilizing 3D printing
CN108650396A (en) A kind of head portrait generation method and equipment
CN217227168U (en) Miniature three-dimensional model makes template
CN109741442A (en) A method of threedimensional model is quickly generated according to plane picture
CN108032672A (en) A kind of production method of relief painting
CN109300189A (en) A kind of object dimensional model building method and device
CN206749071U (en) A kind of embossment 3D printing device based on planar weight information
CN106814979A (en) The method for exporting paper matrix immediately using end print equipment
CN207384857U (en) A kind of module construction block toy with typography and chromatography printing function
JP2598903B2 (en) 3D character typesetting device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190628

RJ01 Rejection of invention patent application after publication