CN109821240A - A kind of method and device thereof for realizing resource LOD classification based on Unity - Google Patents

A kind of method and device thereof for realizing resource LOD classification based on Unity Download PDF

Info

Publication number
CN109821240A
CN109821240A CN201811479200.4A CN201811479200A CN109821240A CN 109821240 A CN109821240 A CN 109821240A CN 201811479200 A CN201811479200 A CN 201811479200A CN 109821240 A CN109821240 A CN 109821240A
Authority
CN
China
Prior art keywords
resource
lod
module
unity
rank
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811479200.4A
Other languages
Chinese (zh)
Other versions
CN109821240B (en
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.)
Guangzhou Xishanju Network Technology Co ltd
Zhuhai Kingsoft Digital Network Technology Co Ltd
Original Assignee
Western Hills Residence Guangzhou Shi You Network 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 Western Hills Residence Guangzhou Shi You Network Technology Co Ltd, Zhuhai Kingsoft Online Game Technology Co Ltd filed Critical Western Hills Residence Guangzhou Shi You Network Technology Co Ltd
Priority to CN201811479200.4A priority Critical patent/CN109821240B/en
Publication of CN109821240A publication Critical patent/CN109821240A/en
Application granted granted Critical
Publication of CN109821240B publication Critical patent/CN109821240B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to a kind of methods for realizing resource LOD classification based on Unity, comprising the following steps: is loaded into resource LOD;It is classified based on the type for being loaded into resource LOD;Resource LOD is packaged by rank;Resource packet is uploaded to server;Application terminal judges hardware performance and the highest-ranking resource packet of Matching supporting;The resource packet of downloading matching rank highest or relatively low rank;Load simultaneously selection technique LOD gear;Program layer adjusts display parameters.A kind of device for realizing resource LOD classification based on Unity, comprising: insmod, diversity module, packetization module, communication module, determination module, download module, gear selection module and parameter adjustment module.The present invention realizes the effect of the resource matched different performance mobile phone of different stage, to make the hardware performance of mobile phone be utilized to the greatest extent, show its best game effect that can achieve, not only met pursuit of the user to game effect, but also makes the available higher market income of operator.

Description

A kind of method and device thereof for realizing resource LOD classification based on Unity
Technical field
The present invention relates to a kind of method and device thereof that resource LOD classification is realized based on Unity, belong to development of games neck Domain.
Background technique
Nowadays since the speed of mobile phone technique iteration is gradually accelerated, performance gap is also increasingly for mobile phone individual Obviously.The advantages such as the good mobile phone of hardware performance generally has with roomy, and operational capability is strong, when these advantages are applied in mobile phone games Mean that the mobile phone can be using higher using standard when field, to make to show more high definition, textures are more true to nature.
Hand parade industry is generally operated in program layer when the performance to application terminal carries out stepping, that is, is made at present Under the premise of with identical game resource, stepping is carried out on the basis of the performance of mobile phone, the mobile phone of different stalls uses different trips Play parameter, to adapt game to more terminals.However, during a game running process, details quality and expression effect from It is fundamentally to be determined by game resource, especially in textures part.If larger size, the patch of more high compression quality can be used Figure, will greatly improve the experience effect of game.But at the initial stage of game publication, operator is generally objective using single game is issued Family end is the form for only existing a resource packet, while again in order to meet bigger user's scale of construction, client resource is considered very Tend to the mobile phone for being compatible with lower configuration in big degree.
In this background, it even if the handset capability of user is powerful enough, can only also use after operation integration of compromising Client.For certain customers, the production effect of game will be not enough to that them is attracted to continue game, and damage to operator for this That lose is high-end user crowd, and then influences the income of game operation.
Summary of the invention
In view of the deficiencies of the prior art, the present invention provides it is a kind of based on Unity realize resource LOD classification method and its Device, comprising the following steps:
S1, it is loaded into resource LOD;
S2, progressive operation is carried out based on the type for being loaded into resource LOD respectively;
S3, packaging operation is executed by rank to the resource LOD after being graded;
S4, resource packet is uploaded to server;
S5, application terminal judge hardware performance and can use highest-ranking resource packet according to hardware performance matching;
The resource packet of S6, downloading matching rank highest or relatively low rank;
S7, load simultaneously carry out technology LOD gear selection;
S8, program layer adjust display parameters according to selected LOD gear.
Further, the resource LOD includes model, textures and music.
Further, different grades of model is made using prefab, it, will in the production process by adjusting particle and textures It is divided into one or more ranks.
Further, different grades of textures are made using meta, is packaged out difference by modifying parameter in the production process The textures resource of precision, and it is divided into one or more ranks.
Further, music is distinguished using different storing paths, is divided into one or more ranks, and protect with rank Deposit the music of corresponding quality.
Further, the setting of technology LOD gear by adjusting process control configuration item and carry out with table handling, according to matching The parameter for setting item is divided into one or more gears.
Further, the configuration item includes resolution ratio, antialiasing, rendering grade, soft light effect, textures quality, image etc. Grade, PBR grade, from shade and sampling multiple, skin grade, population and post-processing.
A kind of device for realizing resource LOD classification based on Unity, comprising:
It insmods, for being loaded into resource LOD;
Diversity module, for carrying out progressive operation respectively based on the type for being loaded into resource LOD;
Packetization module, for executing packaging operation by rank to the resource LOD after being graded;
Communication module, for uploading resource packet to server;
Determination module judges hardware performance for application terminal and can be used according to hardware performance matching highest-ranking Resource packet;
Download module, for downloading the resource packet of matching rank highest or relatively low rank;
Gear selection module, for loading and carrying out technology LOD gear selection;And
Parameter adjustment module adjusts display parameters for program layer.
A kind of computer readable storage medium, is stored thereon with computer instruction, it is characterised in that the instruction is by processor The step of method as described in any one of claims 1 to 7 is realized when execution.
The invention has the benefit that the effect of the resource matched different performance mobile phone of different stage is realized, to make The hardware performance of mobile phone is utilized to the greatest extent, is showed its best game effect that can achieve, is both met user couple The pursuit of game effect, and make the available higher market income of operator.
Detailed description of the invention
Fig. 1 show overview flow chart according to the present invention;
Fig. 2 show apparatus according to the invention connection figure.
Specific embodiment
It should be appreciated that the embodiment of the present invention can be by computer hardware, the combination of hardware and software or by depositing The computer instruction in non-transitory computer-readable memory is stored up to be effected or carried out.Standard volume can be used in the method Journey technology-includes that the non-transitory computer-readable storage media configured with computer program is realized in computer program, In configured in this way storage medium computer is operated in a manner of specific and is predefined --- according in a particular embodiment The method and attached drawing of description.Each program can with the programming language of level process or object-oriented come realize with department of computer science System communication.However, if desired, the program can be realized with compilation or machine language.Under any circumstance, which can be volume The language translated or explained.In addition, the program can be run on the specific integrated circuit of programming for this purpose.
In addition, the operation of process described herein can be performed in any suitable order, unless herein in addition instruction or Otherwise significantly with contradicted by context.Process described herein (or modification and/or combination thereof) can be held being configured with It executes, and is can be used as jointly on the one or more processors under the control of one or more computer systems of row instruction The code (for example, executable instruction, one or more computer program or one or more application) of execution, by hardware or its group It closes to realize.The computer program includes the multiple instruction that can be performed by one or more processors.
Further, the method can be realized in being operably coupled to suitable any kind of computing platform, wrap Include but be not limited to PC, mini-computer, main frame, work station, network or distributed computing environment, individual or integrated Computer platform or communicated with charged particle tool or other imaging devices etc..Each aspect of the present invention can be to deposit The machine readable code on non-transitory storage medium or equipment is stored up to realize no matter be moveable or be integrated to calculating Platform, such as hard disk, optical reading and/or write-in storage medium, RAM, ROM, so that it can be read by programmable calculator, when Storage medium or equipment can be used for configuration and operation computer to execute process described herein when being read by computer.This Outside, machine readable code, or part thereof can be transmitted by wired or wireless network.When such media include combining microprocessor Or other data processors realize steps described above instruction or program when, invention as described herein including these and other not The non-transitory computer-readable storage media of same type.When methods and techniques according to the present invention programming, the present invention It further include computer itself.
Computer program can be applied to input data to execute function as described herein, to convert input data with life At storing to the output data of nonvolatile memory.Output information can also be applied to one or more output equipments as shown Device.In the preferred embodiment of the invention, the data of conversion indicate physics and tangible object, including the object generated on display Reason and the particular visual of physical objects are described.
It should be noted that such as without Special Statement, in the disclosure used in the "an" of singular, " described " and "the" is also intended to including most forms, unless the context clearly indicates other meaning.In addition, unless otherwise defined, this paper institute All technical and scientific terms used are identical as the normally understood meaning of those skilled in the art.This paper specification Used in term be intended merely to description specific embodiment, be not intended to be limiting of the invention.Term as used herein "and/or" includes the arbitrary combination of one or more listed items.
(" such as ", " such as ") makes it should be appreciated that provided in this article any and all example or exemplary language With being intended merely to that the embodiment of the present invention is better described, and unless the context requires otherwise, otherwise the scope of the present invention will not be applied Limitation.
Next specific embodiments of the present invention are described further in conjunction with attached drawing:
It show overview flow chart according to the present invention referring to Fig.1, specifically includes the following steps:
S1, it is loaded into resource LOD;The resource LOD includes model, textures, music, movement and other development of games processes The resource being related to;
S2, progressive operation is carried out based on the type for being loaded into resource LOD respectively;Classification behaviour is being carried out to different type resource When making, the method according to used by resource type is also different;We are led to during using the model of prefab production Toning whole grain subnumber and model need textures quality to be used, are one or more ranks by model partition, such as: by its stroke It is divided into advanced, standard and rudimentary three ranks, since prefab is in unity engine, only some configuration informations, are occupied empty Between very little, when resource consolidation into same backpack body, system default activation be index bed effect, when using high-end product Higher-level layer is activated, similarly when using low-end product, activates low-level layers.To which the model for realizing that the mobile phone of different stalls is read provides Source is also different stage, and the number of levels of actual division is adjusted according to the requirement of application environment and project development;We When making different grades of textures using meta, the textures resource of different accuracy is packaged out by modifying parameter, and by its stroke It is divided into one or more ranks;For music and other can not by parameter adjust divided rank resource, we uniformly adopt It is distinguished with different storing paths, one or more ranks is divided into according to the quality of resource, and protect with rank Deposit the music and other resources of corresponding quality;Previously described model, textures can also use this after carrying out partition of the level Kind form carries out further division;
S3, packaging operation is executed by rank to the resource LOD after being graded;
S4, resource packet is uploaded to server;
S5, application terminal judge hardware performance and can use highest-ranking resource packet according to hardware performance matching;
The resource packet of S6, downloading matching rank highest or relatively low rank;
S7, load simultaneously carry out technology LOD gear selection;The setting of technology LOD gear by adjusting process control configuration Item simultaneously carries out being divided into one or more gears according to the parameter of configuration item with table handling;Configuration item includes resolution ratio, anti-saw Tooth, rendering grade, soft light effect, textures quality, image gradation, PBR grade, from shade and sampling multiple, skin grade, particle Number, post-processing effect and the parameter for needing to adjust in program layer;
S8, program layer adjust display parameters according to selected LOD gear.
It is shown apparatus according to the invention connection figure referring to Fig. 2, specifically includes following device:
It insmods, realization interaction is connect with diversity module, for being loaded into resource LOD;
Diversity module connect realization interaction with packetization module, for being divided respectively based on the type for being loaded into resource LOD Grade operation;
Packetization module connect realization interaction with communication module, for executing packing by rank to the resource LOD after being graded Operation;
Communication module connect realization interaction with determination module, for uploading resource packet to server;
Determination module, realization interaction is connect with download module, judges hardware performance and according to hardware for application terminal Can match can use highest-ranking resource packet;
Download module connect realization interaction with gear selection module, for downloading matching rank highest or relatively rudimentary Other resource packet;
Gear selection module connect realization interaction with parameter adjustment module, for loading and carrying out the choosing of technology LOD gear It selects;
And parameter adjustment module, display parameters are adjusted for program layer.
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 (9)

1. a kind of method for realizing resource LOD classification based on Unity, comprising the following steps:
S1, it is loaded into resource LOD;
S2, progressive operation is carried out based on the type for being loaded into resource LOD respectively;
S3, packaging operation is executed by rank to the resource LOD after being graded;
S4, resource packet is uploaded to server;
S5, application terminal judge hardware performance and can use highest-ranking resource packet according to hardware performance matching;
The resource packet of S6, downloading matching rank highest or relatively low rank;
S7, load simultaneously carry out technology LOD gear selection;
S8, program layer adjust display parameters according to selected LOD gear.
2. the method according to claim 1 for realizing resource LOD classification based on Unity, which is characterized in that the resource LOD includes model, textures and music.
3. the method according to claim 2 for realizing resource LOD classification based on Unity, which is characterized in that use prefab Different grades of model is made, in the production process by adjusting particle and textures, is divided into one or more ranks.
4. the method according to claim 2 for realizing resource LOD classification based on Unity, which is characterized in that use meta system Make different grades of textures, is packaged out the textures resource of different accuracy by modifying parameter in the production process, and divided For one or more ranks.
5. the method according to claim 2 for realizing resource LOD classification based on Unity, which is characterized in that using different Storing path distinguishes music, is divided into one or more ranks, and the music of corresponding quality is saved with rank.
6. the method according to claim 1 for realizing resource LOD classification based on Unity, which is characterized in that LOD grades of technology The setting of position by adjusting process control configuration item and carry out being divided into one or more according to the parameter of configuration item with table handling A gear.
7. the method according to claim 1 for realizing resource LOD classification based on Unity, which is characterized in that the configuration item Including resolution ratio, antialiasing, rendering grade, soft light effect, textures quality, image gradation, PBR grade, from shade and sampling times Number, skin grade, population and post-processing.
8. a kind of device for realizing resource LOD classification based on Unity, comprising:
It insmods, for being loaded into resource LOD;
Diversity module, for carrying out progressive operation respectively based on the type for being loaded into resource LOD;
Packetization module, for executing packaging operation by rank to the resource LOD after being graded;
Communication module, for uploading resource packet to server;
Determination module judges hardware performance for application terminal and can use highest-ranking resource according to hardware performance matching Packet;
Download module, for downloading the resource packet of matching rank highest or relatively low rank;
Gear selection module, for loading and carrying out technology LOD gear selection;And
Parameter adjustment module adjusts display parameters for program layer.
9. a kind of computer readable storage medium, is stored thereon with computer instruction, it is characterised in that the instruction is held by processor The step of method as described in any one of claims 1 to 7 is realized when row.
CN201811479200.4A 2018-12-05 2018-12-05 Method and device for realizing resource LOD (load on demand) classification based on Unity Active CN109821240B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811479200.4A CN109821240B (en) 2018-12-05 2018-12-05 Method and device for realizing resource LOD (load on demand) classification based on Unity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811479200.4A CN109821240B (en) 2018-12-05 2018-12-05 Method and device for realizing resource LOD (load on demand) classification based on Unity

Publications (2)

Publication Number Publication Date
CN109821240A true CN109821240A (en) 2019-05-31
CN109821240B CN109821240B (en) 2022-08-30

Family

ID=66859281

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811479200.4A Active CN109821240B (en) 2018-12-05 2018-12-05 Method and device for realizing resource LOD (load on demand) classification based on Unity

Country Status (1)

Country Link
CN (1) CN109821240B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078392A (en) * 2019-11-04 2020-04-28 珠海西山居移动游戏科技有限公司 Unity-based scene object Mipmap Level statistical method and system
CN112783834A (en) * 2021-01-27 2021-05-11 上海淇玥信息技术有限公司 Online transfer method and device for business resources and electronic equipment
CN113867837A (en) * 2021-09-24 2021-12-31 埃洛克航空科技(北京)有限公司 Configuration parameter setting method and device for terminal equipment, terminal and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929961A (en) * 2012-10-10 2013-02-13 北京锐安科技有限公司 Data processing method and device thereof based on building quick data staging channel
CN103500467A (en) * 2013-10-21 2014-01-08 深圳市易尚展示股份有限公司 Constructive method of image-based three-dimensional model
CN104991763A (en) * 2015-06-04 2015-10-21 珠海金山网络游戏科技有限公司 Universal game interface behavior control system
CN105045970A (en) * 2015-07-01 2015-11-11 国家电网公司 Simulation system for dynamically generating three-dimensional scene on the basis of Unity, and implementation method thereof
CN105224323A (en) * 2015-09-29 2016-01-06 北京畅游天下网络技术有限公司 A kind of resource packaging method of tree-dimensional animation engine and device
CN106776012A (en) * 2016-11-28 2017-05-31 武汉秀宝软件有限公司 The management method and system of a kind of virtual resource
CN106815130A (en) * 2016-12-26 2017-06-09 珠海金山网络游戏科技有限公司 A kind of method and system of the game quality grading based on mobile terminal hardware

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929961A (en) * 2012-10-10 2013-02-13 北京锐安科技有限公司 Data processing method and device thereof based on building quick data staging channel
CN103500467A (en) * 2013-10-21 2014-01-08 深圳市易尚展示股份有限公司 Constructive method of image-based three-dimensional model
CN104991763A (en) * 2015-06-04 2015-10-21 珠海金山网络游戏科技有限公司 Universal game interface behavior control system
CN105045970A (en) * 2015-07-01 2015-11-11 国家电网公司 Simulation system for dynamically generating three-dimensional scene on the basis of Unity, and implementation method thereof
CN105224323A (en) * 2015-09-29 2016-01-06 北京畅游天下网络技术有限公司 A kind of resource packaging method of tree-dimensional animation engine and device
CN106776012A (en) * 2016-11-28 2017-05-31 武汉秀宝软件有限公司 The management method and system of a kind of virtual resource
CN106815130A (en) * 2016-12-26 2017-06-09 珠海金山网络游戏科技有限公司 A kind of method and system of the game quality grading based on mobile terminal hardware

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
方昱琨: "虚拟现实中人物设计及场景实现", 《中国优秀博硕士学位论文全文数据库(硕士)》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078392A (en) * 2019-11-04 2020-04-28 珠海西山居移动游戏科技有限公司 Unity-based scene object Mipmap Level statistical method and system
CN111078392B (en) * 2019-11-04 2023-08-29 珠海西山居数字科技有限公司 Scene object Mipmap Level statistical method and system based on Unity
CN112783834A (en) * 2021-01-27 2021-05-11 上海淇玥信息技术有限公司 Online transfer method and device for business resources and electronic equipment
CN112783834B (en) * 2021-01-27 2023-07-25 上海淇玥信息技术有限公司 Service resource online restocking method and device and electronic equipment
CN113867837A (en) * 2021-09-24 2021-12-31 埃洛克航空科技(北京)有限公司 Configuration parameter setting method and device for terminal equipment, terminal and storage medium

Also Published As

Publication number Publication date
CN109821240B (en) 2022-08-30

Similar Documents

Publication Publication Date Title
CN109821240A (en) A kind of method and device thereof for realizing resource LOD classification based on Unity
CN107609652B (en) Execute the distributed system and its method of machine learning
CN106548262A (en) For the dispatching method of the resource of process task, device and system
CN108243216A (en) Method, end side equipment, cloud side apparatus and the end cloud cooperative system of data processing
CN109413480A (en) Picture processing method, device, terminal and storage medium
CN107291497A (en) Multi-firmware upgrading method and system and readable storage medium
US20190342425A1 (en) Method and system for autonomous content optimization in games and graphical interactive applications
CN108388988A (en) Synergetic office work method, system and computer readable storage medium based on block chain
CN102546605B (en) Mobile application popularization system and method
CN107992661A (en) CAD modeling datas streaming method, server and client side
CN108304676A (en) Assemble body three-dimensional models automatic reconstruction method, terminal device and storage medium
CN108664651A (en) A kind of pattern recommends method, apparatus and storage medium
CN111061921B (en) Image layout implementation method, system, terminal equipment and storage medium
US10996914B2 (en) Persistent geo-located augmented reality social network system and method
CN107656729A (en) Updating device, method and the computer-readable recording medium of List View
CN113392954B (en) Data processing method and device of terminal network model, terminal and storage medium
CN112529994B (en) Three-dimensional model graph rendering method, electronic device and readable storage medium thereof
CN108052670A (en) A kind of recommendation method and device of camera special effect
CN109876436A (en) A kind of caching resource setting method and system
CN113204373A (en) Operation method, device and related product
CN105844588B (en) The intelligent scalable compression method and system of intention picture
CN108399038A (en) A kind of picture synthetic method and mobile terminal
CN109219140A (en) Distribution method, terminal and the computer readable storage medium of frequency domain bandwidth resource
CN106325981A (en) Method and device for task scheduling
CN109298852A (en) Simplify the method and readable storage medium storing program for executing of virtual reality applications program development

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
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 4th Floor, No. 6, 8, Jianzhong Road, Tianhe District, Guangzhou City, Guangdong Province, 510000 Room No. 406

Patentee after: Guangzhou Xishanju Network Technology Co.,Ltd.

Patentee after: Zhuhai Jinshan Digital Network Technology Co.,Ltd.

Address before: 3-04-1, No. 309, Huangpu Avenue, Tianhe District, Guangzhou, Guangdong 510000

Patentee before: GUANGZHOU SEASUN ENTERTAINMENT NETWORK TECHNOLOGY Co.,Ltd.

Patentee before: ZHUHAI KINGSOFT ONLINE GAME TECHNOLOGY Co.,Ltd.