CN109785448B - Method for adding printing on surface of three-dimensional model - Google Patents
Method for adding printing on surface of three-dimensional model Download PDFInfo
- Publication number
- CN109785448B CN109785448B CN201811489896.9A CN201811489896A CN109785448B CN 109785448 B CN109785448 B CN 109785448B CN 201811489896 A CN201811489896 A CN 201811489896A CN 109785448 B CN109785448 B CN 109785448B
- Authority
- CN
- China
- Prior art keywords
- dimensional model
- printing
- color
- decal
- dyeing
- 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.)
- Active
Links
Images
Landscapes
- Processing Or Creating Images (AREA)
Abstract
The technical scheme of the invention comprises a method for additionally printing the surface of a three-dimensional model, which comprises the following steps: loading an editable three-dimensional model on a terminal interaction interface; after loading is completed, a printing edit box is created on the interactive interface, and printing selection, adjustment and dyeing are performed on the three-dimensional model through the printing edit box. The beneficial effects of the invention are as follows: the decal can move on the surface of the skeleton skin model according to the gesture of a player and obtain correct perception, so that the representing effect of the clothing decal is improved, and the decal quantity is reduced.
Description
Technical Field
The invention relates to a method for adding printing on the surface of a three-dimensional model, belonging to the field of computer three-dimensional graphic processing.
Background
Currently, printing and projection are performed on the surface of a 3D game character, and common experience problems are as follows: interaction is not friendly enough, and the operation habit of ios is not inherited; UV precision of the projection surface is inconsistent, and printing is locally neglected in operation to generate pulling; UV-present rotation of the projection surface, producing an uncontrollable deflection during the translational operation; the printed color is dyed to one color.
In order to ensure consistent decal accuracy during the translation operation, pattern rotation is inevitably produced after sphere plane projection is employed. The decal may autonomously produce uncontrolled spin when the player drags over the garment surface, resulting in a poor experience.
Bone skinning animation: is a computer animation technique, which divides a three-dimensional model into two parts: a skin for drawing the model and a skeleton for controlling the motion.
Hue: color measurement terms, one of the attributes of color, whereby the name is used to distinguish between red, yellow, green, blue, etc. colors.
Saturation: saturation refers to the vividness of a color, also known as the purity of the color. The saturation depends on the ratio of the color-containing component and the decoloring component (gray) in the color. The larger the color-containing component, the greater the saturation; the larger the decoloring component, the smaller the saturation.
Brightness: and also becomes brightness, and represents the brightness of the color, reflecting the subjective brightness feeling of human beings.
Double tangent (bitangent): the texture coordinates and the position coordinates may be related by tangential space.
The normal 2-dimensional texture coordinates contain U, V two terms, where the direction in which the V-coordinate increases is the bitangent axis in tangential space.
Disclosure of Invention
Aiming at the defects of the prior art, the technical scheme of the invention provides a method for attaching printing on the surface of a three-dimensional model, so that the decal can move on the surface of a skeleton skin model according to the gesture of a player and obtain correct perception, thereby improving the expression effect of the clothing decal and reducing the decal quantity.
The technical scheme of the invention comprises a method for additionally printing the surface of a three-dimensional model, which is characterized by comprising the following steps: loading an editable three-dimensional model on a terminal interaction interface; after loading is completed, a printing edit box is created on the interactive interface, and printing selection, adjustment and dyeing are performed on the three-dimensional model through the printing edit box.
According to the method for attaching printing on the surface of the three-dimensional model, the terminal is a terminal supporting touch operation.
The method for adding printing on the surface of the three-dimensional model further comprises the step of analyzing the surface complexity of the three-dimensional model, and the step of selecting the surface area meeting the printing requirements according to the surface complexity of the three-dimensional model to prompt.
The method for additionally printing the surface of the three-dimensional model, wherein the surface complexity analysis of the three-dimensional model comprises the following steps: when the color saturation data is added to the three-dimensional model, color hue, saturation and brightness data of the surface of the three-dimensional model are obtained; dividing color areas according to the color hue, saturation and brightness data of the three-dimensional model surface, and further eliminating the color areas smaller than a set value; and selecting a color area meeting the requirements as a printing placement area, and performing remarkable identification.
The method for attaching printing on the surface of the three-dimensional model, wherein the printing edit box is an interactive box supporting touch screen operation of an IOS system, comprises the following steps: when the user clicks any point in the printing edit box, executing movement of the printing edit box; when a user selects a rotary key of the stamp editing frame and performs rotary operation, realizing the rotation and the scaling of the stamp editing frame; and loading an interactive interface for dyeing according to the dyeing key of the printing edit box selected by the user, wherein the interactive interface for dyeing and the editable three-dimensional model are positioned on the same interface.
The method for attaching printing on the surface of the three-dimensional model comprises the step of enabling a dyeing interface to comprise a plurality of editable color bars, wherein the color bars are used for carrying out custom editing on the printing colors.
According to the method for adding printing on the surface of the three-dimensional model, the selection of printing on the three-dimensional model comprises the steps of providing one or more single-color images according to user selection, and when the single-color images are selected, obtaining the printing corresponding to the single-color images and projecting the printing to the three-dimensional model, wherein the projection adopts sphere plane projection.
The method for attaching printing on the surface of the three-dimensional model comprises the steps of executing corresponding movement, rotation and scaling according to the movement, rotation and scaling of the printing edit box
The method for attaching printing on the surface of the three-dimensional model, wherein when the printing rotates, the rotation direction of the applique is automatically corrected according to the hyperboloid of the model surface.
The beneficial effects of the invention are as follows: the decal can move on the surface of the skeleton skin model according to the gesture of a player and obtain correct perception, so that the representing effect of the clothing decal is improved, and the decal quantity is reduced.
Drawings
FIG. 1 is a general flow diagram according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a stamp edit box according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments. The method for adding printing on the surface of the three-dimensional model is suitable for games or simulation projects of the skeletal covering animation technology.
Fig. 1 shows a general flow chart according to an embodiment of the invention. Loading an editable three-dimensional model on a terminal interaction interface; after loading is completed, a printing edit box is created on the interactive interface, and printing selection, adjustment and dyeing are performed on the three-dimensional model through the printing edit box. Based on the general scheme, the technical scheme of the invention provides the following more detailed modes:
inheriting ios operation habit, and simpler and more friendly operation mode;
the sphere plane projection ensures that the decals are consistent in size where;
when the player does not make a rotation operation, the decal is never rotated, namely, the decal is kept perpendicular to the normal direction of the surface of the three-dimensional model when not rotated, and the rotation direction of the decal is automatically corrected by using the hyperboloid of the surface of the model when rotated.
Fig. 2 is a schematic diagram of a stamp edit box according to an embodiment of the present invention.
The dragging can be realized by clicking any part of the square frame by a single point;
the single pointing click of the rotary button can realize rotation and zooming at the same time;
the dyeing of the print is also integrated in the interface, the dyeing bar can be expired by clicking on "dyeing", the chromosome adjusts several properties of the print by means of a slide bar.
In order to make the experience of the player easier, more like when using the beauty app, 2 words of 'hue' are removed, and instead, a color bar is used, and the information expressed by the color bar is enough, so that reading difficulty is increased without redundant words. The character of 'saturation' is removed, and a sliding rod is replaced, the left side is 'plain', and the right side is 'gorgeous'. The 'brightness' is removed and replaced by 'darkness' → 'sharpness'.
The technical scheme of the invention also provides a technical scheme for ensuring the best printing effect, which comprises the following steps:
for clothes with complicated patterns, partial color areas are excessively fragmented, the original patterns are complicated, and the effect after superposition printing is poor.
The inner mould area, surrounded by the inner area, for printing the mapping in the same orientation can only be effected on one layer, the inner layer having to be discarded.
The arrangement of the printing in the outer area and the regular and area of the color is the most rational solution.
By extension, for other positions suitable for printing, such as clothes, the printed positions can be placed, the rules are consistent, and the cognition is high.
The present invention is not limited to the above embodiments, but is merely preferred embodiments of the present invention, and the present invention should be construed as being limited to the above embodiments as long as the technical effects of the present invention are achieved by the same means. Various modifications and variations are possible in the technical solution and/or in the embodiments within the scope of the invention.
Claims (7)
1. A method of attaching a print to a three-dimensional model surface, the method comprising:
loading an editable three-dimensional model on a terminal interaction interface;
after loading is completed, creating a printing editing frame on the interactive interface, and selecting, adjusting and dyeing printing on the three-dimensional model through the printing editing frame;
the method further comprises the steps of analyzing the surface complexity of the three-dimensional model, and prompting the surface area which is selected according with the printing requirements according to the surface complexity of the three-dimensional model;
the surface complexity analysis of the three-dimensional model includes: when the three-dimensional model is loaded, obtaining color hue, saturation and brightness data of the surface of the three-dimensional model; dividing color areas according to the color hue, saturation and brightness data of the three-dimensional model surface, and further eliminating the color areas smaller than a set value; and selecting a color area meeting the requirements as a printing placement area, and performing remarkable identification.
2. The method for adding decals to a three-dimensional model surface according to claim 1, wherein the terminal is a terminal supporting touch operation.
3. The method for attaching a decal to a three-dimensional model surface according to claim 1, wherein the decal edit box is an interactive box supporting IOS system touch screen operation, comprising:
when the user clicks any point in the printing edit box, executing movement of the printing edit box;
when a user selects a rotary key of the stamp editing frame and performs rotary operation, the stamp editing frame is rotated and scaled;
and loading an interactive interface for dyeing according to the dyeing key of the printing edit box selected by the user, wherein the interactive interface for dyeing and the editable three-dimensional model are positioned on the same interface.
4. The method for three-dimensional model surface additive printing according to claim 1, wherein the interactive interface for dyeing comprises a plurality of editable color bars for custom editing of the color of the printing.
5. The method of claim 1, wherein the selecting of the three-dimensional model for printing comprises providing one or more single-color images according to user selection, obtaining a print corresponding to the single-color images when the single-color images are selected, and projecting the print to the three-dimensional model, wherein the projection adopts sphere plane projection.
6. The method of claim 1, wherein the adjusting the print of the three-dimensional model comprises performing a corresponding movement, rotation and scaling process of the print according to the movement, rotation and scaling of the print edit box.
7. A method of additive printing of a three-dimensional model surface according to claim 6, wherein the direction of rotation of the decal is automatically corrected based on the hyperboloid of the model surface as the decal rotates.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811489896.9A CN109785448B (en) | 2018-12-06 | 2018-12-06 | Method for adding printing on surface of three-dimensional model |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811489896.9A CN109785448B (en) | 2018-12-06 | 2018-12-06 | Method for adding printing on surface of three-dimensional model |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109785448A CN109785448A (en) | 2019-05-21 |
CN109785448B true CN109785448B (en) | 2023-07-04 |
Family
ID=66495711
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811489896.9A Active CN109785448B (en) | 2018-12-06 | 2018-12-06 | Method for adding printing on surface of three-dimensional model |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109785448B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113034658B (en) * | 2021-03-30 | 2022-10-04 | 完美世界(北京)软件科技发展有限公司 | Method and device for generating model map |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1753030A (en) * | 2005-10-20 | 2006-03-29 | 北京航空航天大学 | Human machine interactive frame, faced to three dimensional model construction |
GB201517900D0 (en) * | 2015-10-09 | 2015-11-25 | Sony Comp Entertainment Europe | Device and method of generating 3D printing data for a model |
CN106570822A (en) * | 2016-10-25 | 2017-04-19 | 宇龙计算机通信科技(深圳)有限公司 | Human face mapping method and device |
CN107093200A (en) * | 2017-03-29 | 2017-08-25 | 珠海金山网络游戏科技有限公司 | A kind of method of Skeletal Skinned Animation surface mesh additional model |
CN107103638A (en) * | 2017-05-27 | 2017-08-29 | 杭州万维镜像科技有限公司 | A kind of Fast rendering method of virtual scene and model |
CN107358656A (en) * | 2017-06-16 | 2017-11-17 | 珠海金山网络游戏科技有限公司 | The AR processing systems and its processing method of a kind of 3d gaming |
CN108090945A (en) * | 2017-11-03 | 2018-05-29 | 腾讯科技(深圳)有限公司 | Object rendering intent and device, storage medium and electronic device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7948488B2 (en) * | 2007-04-17 | 2011-05-24 | Autodesk, Inc. | Shape preserving mappings to a surface |
US9098930B2 (en) * | 2011-09-30 | 2015-08-04 | Adobe Systems Incorporated | Stereo-aware image editing |
JP6714507B2 (en) * | 2013-09-27 | 2020-06-24 | スリーエム イノベイティブ プロパティズ カンパニー | Robot-assisted automated decal application method for complex 3D surfaces |
-
2018
- 2018-12-06 CN CN201811489896.9A patent/CN109785448B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1753030A (en) * | 2005-10-20 | 2006-03-29 | 北京航空航天大学 | Human machine interactive frame, faced to three dimensional model construction |
GB201517900D0 (en) * | 2015-10-09 | 2015-11-25 | Sony Comp Entertainment Europe | Device and method of generating 3D printing data for a model |
CN106570822A (en) * | 2016-10-25 | 2017-04-19 | 宇龙计算机通信科技(深圳)有限公司 | Human face mapping method and device |
CN107093200A (en) * | 2017-03-29 | 2017-08-25 | 珠海金山网络游戏科技有限公司 | A kind of method of Skeletal Skinned Animation surface mesh additional model |
CN107103638A (en) * | 2017-05-27 | 2017-08-29 | 杭州万维镜像科技有限公司 | A kind of Fast rendering method of virtual scene and model |
CN107358656A (en) * | 2017-06-16 | 2017-11-17 | 珠海金山网络游戏科技有限公司 | The AR processing systems and its processing method of a kind of 3d gaming |
CN108090945A (en) * | 2017-11-03 | 2018-05-29 | 腾讯科技(深圳)有限公司 | Object rendering intent and device, storage medium and electronic device |
Non-Patent Citations (3)
Title |
---|
UnityDecal-贴花方法总结;feng;《互联网:gameinstitute.qq.com/community/detail/124146》;20180423;第1页 * |
Unity所有类型表面上贴花实用工具Easy Decal v1.6.8;Unity资源;《互联网:cgzyw.com/22327.html》;20180528;第1页 * |
吴亚峰 等.Unity3D游戏开发标准教程.《Unity3D游戏开发标准教程》.人民邮电出版社,2016,第1-353页. * |
Also Published As
Publication number | Publication date |
---|---|
CN109785448A (en) | 2019-05-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107180446B (en) | Method and device for generating expression animation of character face model | |
EP1030267B1 (en) | Method of correcting face image, makeup simulation method, makeup method, makeup supporting device and foundation transfer film | |
US8174539B1 (en) | Imprint for visualization and manufacturing | |
CN103859764B (en) | First portion printing equipment and the printing process of first portion printing equipment | |
CN102682420A (en) | Method and device for converting real character image to cartoon-style image | |
Spencer | ZBrush character creation: advanced digital sculpting | |
CN109035381B (en) | Cartoon picture hair rendering method and storage medium based on UE4 platform | |
JP2010507854A (en) | Method and apparatus for virtual simulation of video image sequence | |
US8406566B1 (en) | Methods and apparatus for soft edge masking | |
CN111282277B (en) | Special effect processing method, device and equipment and storage medium | |
KR20100047863A (en) | Makeup simulation system, makeup simulation apparatus, makeup simulation method, and makeup simulation program | |
CN106170821B (en) | Image processing apparatus and image processing method | |
US20090157366A1 (en) | System for simulating digital watercolor image and method therefor | |
US20020118209A1 (en) | Computer program product for introducing painting effects into a digitized photographic image | |
CN109785448B (en) | Method for adding printing on surface of three-dimensional model | |
CN111383320B (en) | Virtual model processing method, device, equipment and storage medium | |
Maraffi | Maya character creation: modeling and animation controls | |
CN109308380B (en) | Embroidery artistic style simulation method based on non-photorealistic sense | |
Liu | Computer 5G virtual reality environment 3D clothing design | |
Zhao et al. | Research on the application of computer image processing technology in painting creation | |
CN109767384B (en) | Method for manufacturing seamless collage pattern simulation litchi grain leather surface | |
Hume | Fashion and textile design with Photoshop and Illustrator: professional creative practice | |
Dai | The 3D digital technology of fashion design | |
JP2015156072A (en) | Eye make-up design creation method and program | |
CN107256164A (en) | The optimization processing algorithm of self-defined shape progress bar under a kind of Mac |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 4th Floor, No. 6, 8, Jianzhong Road, Tianhe District, Guangzhou City, Guangdong Province, 510000 Room No. 406 Applicant after: Guangzhou Xishanju Network Technology Co.,Ltd. Applicant after: Zhuhai Jinshan Digital Network Technology Co.,Ltd. Address before: 3-04-1, No. 309, Huangpu Avenue, Tianhe District, Guangzhou, Guangdong 510000 Applicant before: GUANGZHOU SEASUN ENTERTAINMENT NETWORK TECHNOLOGY Co.,Ltd. Applicant before: ZHUHAI KINGSOFT ONLINE GAME TECHNOLOGY Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |