CN112734624A - High-precision model optimization based on Unity3D engine - Google Patents

High-precision model optimization based on Unity3D engine Download PDF

Info

Publication number
CN112734624A
CN112734624A CN202011487309.XA CN202011487309A CN112734624A CN 112734624 A CN112734624 A CN 112734624A CN 202011487309 A CN202011487309 A CN 202011487309A CN 112734624 A CN112734624 A CN 112734624A
Authority
CN
China
Prior art keywords
model
normal map
precision
module
specific material
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
CN202011487309.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.)
Jiangsu Huomi Interactive Technology Co ltd
Original Assignee
Jiangsu Huomi Interactive 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 Jiangsu Huomi Interactive Technology Co ltd filed Critical Jiangsu Huomi Interactive Technology Co ltd
Priority to CN202011487309.XA priority Critical patent/CN112734624A/en
Publication of CN112734624A publication Critical patent/CN112734624A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/20Processor architectures; Processor configuration, e.g. pipelining
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/005General purpose rendering architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/20Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Graphics (AREA)
  • Architecture (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Combined Controls Of Internal Combustion Engines (AREA)

Abstract

The invention discloses high-precision model optimization based on a Unity3D engine, which relates to the technical field of model optimization and comprises an original model and an existing model, wherein the output end of the original model is electrically connected with a normal map making module, the output end of the normal map making module is electrically connected with a specific material ball creating module, the output end of the original model is electrically connected with a model reducing processing module, the output end of the model reducing processing module is electrically connected with a medium-low model, and the existing model is electrically connected with the output ends of the medium-low model and the specific material ball creating module. The invention has the beneficial effects that: aiming at the loading characteristic of the Unity3D model, the invention optimizes the performance by reducing the quality of the high-precision high-surface number model (namely the original model) and manufacturing and adding a matched normal map, and meanwhile, the normal map can compensate the loss of the fineness of the effect caused by the reduced quality, thereby not only reducing the performance consumption of the model, but also meeting the fine sense of the effect on the picture.

Description

High-precision model optimization based on Unity3D engine
Technical Field
The invention relates to the technical field of model optimization, in particular to high-precision model optimization based on a Unity3D engine.
Background
The technology aims at the requirements of Unity3D (the requirement of making high-image quality and high-precision model display projects is often caused by the fact that the number of triangular faces is high, the frame number is not smooth, and the hardware performance is high).
At present, most high-mode displays are presented through a BIM technology or a self-built form, the cost is high, the detail degree is high, the number of faces is large, the structure is disordered, and the problems of unsmooth content frame number and high requirement on hardware performance are caused by performance loss caused by a high-precision model under a Unity3D engine, so that the high-precision model optimization based on the Unity3D engine is provided.
Disclosure of Invention
The invention aims to provide high-precision model optimization based on a Unity3D engine, so as to solve the problems that most of high-mode displays proposed in the background technology are presented in a BIM (building information modeling) technology or self-built mode, the cost is high, the detail degree is high, the number of faces is large, the structure is disordered, and the frame number of contents is not smooth and the hardware performance is high due to performance loss caused by the high-precision model under the Unity3D engine.
In order to achieve the purpose, the invention provides the following technical scheme: the high-precision model optimization based on the Unity3D engine comprises an original model and an existing model, wherein the output end of the original model is electrically connected with a normal map making module, the output end of the normal map making module is electrically connected with a specific material ball creating module, the output end of the original model is electrically connected with a model reduction processing module, the output end of the model reduction processing module is electrically connected with a medium-low model, and the existing model is electrically connected with the output ends of the medium-low model and the specific material ball creating module.
Preferably, the proto-model is centralized for processing in the CPU.
Preferably, the current model is processed in the CPU and the GPU respectively.
Preferably, the normal map making module and the specific material ball creating module are electrically connected in a unidirectional mode.
Preferably, the original model, the model reduction processing module and the middle-low model are electrically connected in a unidirectional mode.
Preferably, the high-precision model optimization based on the Unity3D engine comprises the following steps:
A. making a complete set of normal map
On the basis of an original model based on high precision and high surface number, a model surface detail matching normal map is manufactured;
B. creating balls of a particular material
Creating a specific material ball based on the normal map, and enabling the specific material ball to contain the normal map;
C. model reduction processing of original model
Performing a model reduction treatment on the basis of an original model based on high precision and high surface number to obtain a medium-low model;
D. existing model binding process
And combining the medium-low model with the specific material ball containing the normal map to obtain the optimized existing model.
The invention provides high-precision model optimization based on a Unity3D engine, which has the following beneficial effects:
aiming at the loading characteristic of the Unity3D model, the performance optimization is carried out by reducing the quality of the high-precision high-surface-number model (namely the original model) and manufacturing and adding a matched normal map, and meanwhile, the normal map can compensate the loss of the fineness on the effect caused by the reduced quality, so that the performance consumption of the model is reduced, and the fine sense of the effect on the picture is also met; therefore, the method is applied to the unique running mechanism of the Unity3D engine, obviously improves the loading and use of a large number of picture sets (supporting files with various picture formats), can flexibly replace resources and ensure the running smoothness, and finally solves the problems of unsmooth content frame number and high hardware performance requirements caused by the performance loss caused by a high-precision model under the Unity3D engine, so that the technical method has better efficiency, universality, smoothness and convenience, and further improves the performance, the expansion and the like of projects by using the technology.
Drawings
FIG. 1 is a schematic diagram of an optimization framework of high-precision model optimization based on a Unity3D engine according to the present invention;
FIG. 2 is a schematic diagram of the system flow structure of the high-precision model optimization based on the Unity3D engine.
In the figure: 1. an original model; 2. making a normal map module; 3. creating a ball module made of a specific material; 4. a mold reduction processing module; 5. a medium-low model; 6. and (6) displaying the model.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, "a plurality" means two or more unless otherwise specified; the terms "upper", "lower", "left", "right", "inner", "outer", "front", "rear", "head", "tail", and the like, indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, are only for convenience in describing and simplifying the description, and do not indicate or imply that the device or element referred to must have a particular orientation, be constructed in a particular orientation, and be operated, and thus, should not be construed as limiting the invention. Furthermore, the terms "first," "second," "third," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it is to be noted that, unless otherwise explicitly specified or limited, the terms "connected" and "connected" are to be interpreted broadly, e.g., as being fixed or detachable or integrally connected; can be mechanically or electrically connected; may be directly connected or indirectly connected through an intermediate. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
Referring to fig. 1-2, the present invention provides the following technical solutions: the high-precision model optimization based on the Unity3D engine comprises an original model 1, a normal map making module 2, a specific material ball creating module 3, a model reduction processing module 4, a middle-low model 5 and a current model 6, wherein the output end of the original model 1 is electrically connected with the normal map making module 2, the output end of the normal map making module 2 is electrically connected with the specific material ball creating module 3, the original model 1 is processed in a Central Processing Unit (CPU), a bottom layer operation CPU processing model is taken as a main part, the normal map making module 2 and the specific material ball creating module 3 are electrically connected in a one-way mode, performance optimization is carried out by making and adding a matched normal map, meanwhile, the normal map can compensate and reduce quality, so that the output end of the original model 1 with poor fineness in effect is electrically connected with the model reduction processing module 4, and the output end of the model reduction processing module 4 is electrically connected with the middle-low model 5, the original model 1, the model reduction processing module 4 and the middle-low model 5 are electrically connected in a one-way mode, local details can be reduced to achieve the optimization purpose on the basis of not influencing the arrangement of an appearance framework through an optimization technology of model reduction and surface reduction of a high-precision high-surface number model, the existing model 6 is electrically connected to the middle-low model 5 and the output end of the ball module 3 made of the specific material, the existing model 6 is processed in a CPU and a GPU, the GPU processes a normal map mainly, and the performance is finally homogenized.
The high-precision model optimization based on the Unity3D engine comprises the following steps:
A. making a complete set of normal map
On the basis of an original model based on high precision and high surface number, a model surface detail matching normal map is manufactured;
B. creating balls of a particular material
Creating a specific material ball based on the normal map, and enabling the specific material ball to contain the normal map;
C. model reduction processing of original model
Performing a model reduction treatment on the basis of an original model based on high precision and high surface number to obtain a medium-low model;
D. existing model binding process
And combining the medium-low model with the specific material ball containing the normal map to obtain the optimized existing model.
In summary, in the high-precision model optimization based on the Unity3D engine, when in use, the original model 1 is a high-precision high-surface-number model, which is high in refinement and high in performance consumption, and the Unity3D engine is harsh in operating environment, then a model surface detail matching normal map can be made by making the normal map module 2 on the basis of the original model 1 based on the high-precision high-surface number, and a specific material ball is created by creating the specific material ball module 3 on the basis of the normal map, then the specific material ball includes the normal map, then the model reduction processing module 4 performs the model reduction and surface reduction optimization technology on the original model 1 to obtain the medium-low model 5, and finally the medium-low model 5 is combined with the specific material ball including the normal map to obtain the optimized current model 6, the current model 6 is a medium-low-precision medium-surface-number model, which is refined and only shows the whole outline, the local details are compensated through a special normal map, the performance consumption is general, the operation environment of the Unity3D engine is loose, the effect of the optimized current model 6 and the original model 1 in the engine is similar, and the whole using process of high-precision model optimization based on the Unity3D engine is completed.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be able to cover the technical scope of the present invention and the equivalent alternatives or modifications according to the technical solution and the inventive concept of the present invention within the technical scope of the present invention.

Claims (6)

1. High-precision model optimization based on a Unity3D engine comprises an original model (1) and an existing model (6), and is characterized in that: the output electric connection of former model (1) has preparation normal map module (2), and the output electric connection of preparation normal map module (2) has and establishes specific material ball module (3), the output electric connection of former model (1) has subtracts mould processing module (4), and subtracts the output electric connection of mould processing module (4) and have well low model (5), present model (6) electric connection in well low model (5) and the output of establishing specific material ball module (3).
2. The Unity3D engine-based high-precision model optimization according to claim 1, wherein: the prototype model (1) is processed centrally in a CPU.
3. The Unity3D engine-based high-precision model optimization according to claim 1, wherein: and the current model (6) is processed in the CPU and the GPU.
4. The Unity3D engine-based high-precision model optimization according to claim 1, wherein: the normal map making module (2) is electrically connected with the specific material ball creating module (3) in a one-way mode.
5. The Unity3D engine-based high-precision model optimization according to claim 1, wherein: the original model (1), the model reduction processing module (4) and the middle-low model (5) are in one-way electrical connection.
6. The Unity3D engine-based high precision model optimization according to claims 1-5, wherein: the high-precision model optimization based on the Unity3D engine comprises the following steps:
A. making a complete set of normal map
On the basis of an original model based on high precision and high surface number, a model surface detail matching normal map is manufactured;
B. creating balls of a particular material
Creating a specific material ball based on the normal map, and enabling the specific material ball to contain the normal map;
C. model reduction processing of original model
Performing a model reduction treatment on the basis of an original model based on high precision and high surface number to obtain a medium-low model;
D. existing model binding process
And combining the medium-low model with the specific material ball containing the normal map to obtain the optimized existing model.
CN202011487309.XA 2020-12-16 2020-12-16 High-precision model optimization based on Unity3D engine Pending CN112734624A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011487309.XA CN112734624A (en) 2020-12-16 2020-12-16 High-precision model optimization based on Unity3D engine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011487309.XA CN112734624A (en) 2020-12-16 2020-12-16 High-precision model optimization based on Unity3D engine

Publications (1)

Publication Number Publication Date
CN112734624A true CN112734624A (en) 2021-04-30

Family

ID=75603010

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011487309.XA Pending CN112734624A (en) 2020-12-16 2020-12-16 High-precision model optimization based on Unity3D engine

Country Status (1)

Country Link
CN (1) CN112734624A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106952327A (en) * 2017-02-10 2017-07-14 珠海金山网络游戏科技有限公司 The system and method that a kind of virtual role simulates true Hair model
CN107038745A (en) * 2017-03-21 2017-08-11 中国农业大学 A kind of 3D tourist sights roaming interaction method and device
CN108038913A (en) * 2017-12-08 2018-05-15 苏州蜗牛数字科技股份有限公司 A kind of method based on the realistic model of photogrammetric generation and textures
CN108090946A (en) * 2017-12-14 2018-05-29 苏州蜗牛数字科技股份有限公司 A kind of construction method and device of material ball
CN108629850A (en) * 2017-03-24 2018-10-09 长沙眸瑞网络科技有限公司 The mobile terminal displaying interaction implementation method of 3D models
CN111275826A (en) * 2020-02-24 2020-06-12 广州视革科技有限公司 Three-dimensional model automatic conversion method suitable for AR scene
CN111489426A (en) * 2020-04-09 2020-08-04 腾讯科技(深圳)有限公司 Expression generation method, device, equipment and storage medium
CN111739150A (en) * 2020-06-17 2020-10-02 中国银行股份有限公司 Noble metal three-dimensional model construction method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106952327A (en) * 2017-02-10 2017-07-14 珠海金山网络游戏科技有限公司 The system and method that a kind of virtual role simulates true Hair model
CN107038745A (en) * 2017-03-21 2017-08-11 中国农业大学 A kind of 3D tourist sights roaming interaction method and device
CN108629850A (en) * 2017-03-24 2018-10-09 长沙眸瑞网络科技有限公司 The mobile terminal displaying interaction implementation method of 3D models
US20200035038A1 (en) * 2017-03-24 2020-01-30 Changsha Morale Network Technology Co., Ltd. An Interactive Implementation Method for Mobile Terminal Display of 3D Model
CN108038913A (en) * 2017-12-08 2018-05-15 苏州蜗牛数字科技股份有限公司 A kind of method based on the realistic model of photogrammetric generation and textures
CN108090946A (en) * 2017-12-14 2018-05-29 苏州蜗牛数字科技股份有限公司 A kind of construction method and device of material ball
CN111275826A (en) * 2020-02-24 2020-06-12 广州视革科技有限公司 Three-dimensional model automatic conversion method suitable for AR scene
CN111489426A (en) * 2020-04-09 2020-08-04 腾讯科技(深圳)有限公司 Expression generation method, device, equipment and storage medium
CN111739150A (en) * 2020-06-17 2020-10-02 中国银行股份有限公司 Noble metal three-dimensional model construction method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
吴昊;: "影视特效中数字三维模型法线贴图技术", 影视制作, no. 09, 15 September 2013 (2013-09-15) *
尚冰: "3D游戏中法线贴图技术的应用", 科技传播, no. 14, 31 July 2014 (2014-07-31), pages 163 - 164 *

Similar Documents

Publication Publication Date Title
CN104008569B (en) A kind of 3D scene generating method based on deep video
CN112734624A (en) High-precision model optimization based on Unity3D engine
CN111954025A (en) Be applied to integrative attitude machine of live
CN205430597U (en) Three drive unit's miniature speaker
CN202720641U (en) Cloud terminal based on ARM (Advanced RISC Machine) framework
CN102841460A (en) Liquid crystal display device and mould
CN104731586A (en) Method for designing editable interface of LCD screen of subway train
CN201976172U (en) Auxiliary matching device of intelligent mobile terminal
CN109068079A (en) A kind of television set glass back plate mould group, television set and preparation method thereof
CN212543937U (en) Be applied to integrative attitude machine of live
CN202004926U (en) Sound box pair mechanism
CN209546127U (en) A kind of artistic design automation composing device
CN203277659U (en) Metal connecting elastic sheet of power adapter
CN105679200A (en) Desktop intelligent menu advertisement player
CN220527358U (en) All-in-one data line with digital display
CN209134240U (en) FPCB and iron-clad ground connection structure applied to VCM
CN104158554A (en) Hanging belt type communication device and terminal
CN206341249U (en) Mobile terminal
CN207677595U (en) A kind of magnetic pole of the stator mounting structure
CN109062385A (en) Mainboard and computer based on Feiteng processor
CN204089799U (en) Sling-type communicator and terminal
CN103197802B (en) For fixing front casing manufacturing method and the mobile terminal of touch screen
CN2419770Y (en) Digital vedio frequency processor with analog color component input
CN207704170U (en) A kind of LCD modules of double welding positions
CN219962184U (en) Live-broadcast cosmetic mirror

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