CN107362536A - A kind of vegetation seasonal variations method and system of 3d gaming - Google Patents

A kind of vegetation seasonal variations method and system of 3d gaming Download PDF

Info

Publication number
CN107362536A
CN107362536A CN201710459433.7A CN201710459433A CN107362536A CN 107362536 A CN107362536 A CN 107362536A CN 201710459433 A CN201710459433 A CN 201710459433A CN 107362536 A CN107362536 A CN 107362536A
Authority
CN
China
Prior art keywords
vegetation
seasonal variations
period
seasonal
texture mapping
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
CN201710459433.7A
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 CN201710459433.7A priority Critical patent/CN107362536A/en
Publication of CN107362536A publication Critical patent/CN107362536A/en
Pending legal-status Critical Current

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/60Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program
    • A63F2300/66Methods for processing data by generating or executing the game program for rendering three dimensional images

Abstract

The present invention includes a kind of vegetation seasonal variations method and system of 3d gaming, for realizing:The seasonal variations period of vegetation and environment is set using model editor within a period of time;According to the seasonal variations period of above-mentioned setting, the change to each period vegetation and environment calculates, seasonal variations parameter corresponding to generation;The seasonal variations parameter obtained using Material Editor enters edlin, and vegetation material corresponding to generation and environment texture mapping are tied into corresponding model;The material and texture mapping of stress model binding, and corresponding material and texture mapping are showed in the corresponding period, wherein each material corresponds to multiple seasonal variations texture mapping.Beneficial effects of the present invention are:Under conditions of internal memory and video card resource is not consumed, game picture effect is lifted, makes the integrated environment of game closely real, shows the variation effect of plant throughout the year, more real experience is brought to player.

Description

A kind of vegetation seasonal variations method and system of 3d gaming
Technical field
The present invention relates to a kind of vegetation seasonal variations method and system of 3d gaming, belong to area of computer graphics.
Background technology
Vegetation system is needed during 3D developments of games, former vegetation system is all to have carried out tree-model just toward field Put inside scape, the swing animation only after wind-engaging, without the change in season.The sensation for bringing player this when is exactly It is fixed, will not having time passage sensation.Therefore can not be brought by the seasonal variations effect of this vegetation to player trueer Real experience.
The content of the invention
In view of the shortcomings of the prior art, technical scheme provides a kind of vegetation seasonal variations side of 3d gaming Method and system, can draw out very real plant seasonal variations effect, and this effect will not consume too many internal memory and show Card resource, simply for a tinter animation with regard to that can reach good effect, the elevator belt to game picture carrys out very big progress, carries High actual experience.
Technical scheme includes a kind of vegetation seasonal variations method of 3d gaming, it is characterised in that the system Including:A., the seasonal variations period of vegetation and environment is set using model editor within a period of time;B. according to the step The seasonal variations period that rapid A is set, the change to each period vegetation and environment calculate, and season corresponding to generation becomes Change parameter;C. edlin is entered according to the obtained seasonal variations parameters of the step B using Material Editor, by corresponding to generation Vegetation material and environment texture mapping are tied to corresponding model;D. during game running, the material and texture of stress model binding Textures, and corresponding material and texture mapping are showed in the corresponding period, wherein each material corresponds to multiple seasons Change texture mapping..
In a preferred embodiment, the step A also includes:The wherein setting of the period of vegetation and environmental change Seasonal fluctuation including obtaining and analyzing corresponding one or more vegetation in games system, according to Seasonal fluctuation from Model editor obtains the variation characteristic data that vegetation is in Various Seasonal, and, obtain corresponding Seasonal variation data.
According to the vegetation seasonal variations method of described 3d gaming, model editor therein also includes:For providing Display interface is used for real-time exhibition vegetation and season is in the state change for not having to the period.
According to the vegetation seasonal variations method of described 3d gaming, the step B also includes:S21, according to the plant of acquisition Quilt and Seasonal variation data;S22, the period of the step A settings is obtained using model editor, and will be made the period Sent for variable to tinter, further, using shader computations when changing the period, the change in vegetation and season is joined Number, wherein whether parameter includes but is not limited to the scaled of vegetation, vegetation color and drops;S23, by obtained vegetation and season Section running parameter is sent to Material Editor.
According to the vegetation seasonal variations method of described 3d gaming, the step C also includes:S51, obtain vegetation and season Running parameter is saved, multiple vegetation materials and environment texture mapping corresponding to generation in tinter;S52, by specified multiple plants It is tied to by material in corresponding vegetation model, it is corresponding, in addition to environment texture mapping.
According to the vegetation seasonal variations method of described 3d gaming, the step D also includes:S61, loading game are certain Vegetation model in region, and corresponding multiple vegetation materials and environment texture mapping;S62, real-time confirmation game in the period Whether change, if changing, convert showing for vegetation material and environment texture mapping.
According to a kind of vegetation seasonal variations system of 3d gaming of the above-mentioned any means of right, it is characterised in that this is System includes:
Time setup module, when the seasonal variations of vegetation and environment are set within a period of time for use model editor Between section;
Parameter calculating module, for the seasonal variations period set according to the time setup module, to each time The change of section vegetation and environment is calculated, seasonal variations parameter corresponding to generation;
Material editor module, for being compiled using Material Editor according to the obtained seasonal variations parameters of the step B Volume, vegetation material corresponding to generation and environment texture mapping are tied to corresponding model;
Display module, for the material and texture mapping of stress model binding, and in the corresponding period to corresponding material Matter and texture mapping are showed, wherein each material corresponds to multiple seasonal variations texture mapping.
Beneficial effects of the present invention are:Under conditions of internal memory and video card resource is not consumed, game picture effect is lifted, is made The integrated environment of game is closely real, shows the variation effect of plant throughout the year, is brought to player more real Experience.
Brief description of the drawings
Fig. 1 show the overview flow chart according to embodiment of the present invention;
Fig. 2 show the flow chart of the seasonal variations time setting up procedure according to embodiment of the present invention;
Fig. 3 show the flow chart of the material manufacturing process according to embodiment of the present invention;
Fig. 4 show the flow chart of the overall method for drafting according to embodiment of the present invention.
Embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with the accompanying drawings with specific embodiment pair The present invention is described in detail.The vegetation seasonal variations method and system of the 3d gaming of the present invention are applied to three-dimensional animation image Processing.
Fig. 1 show the overview flow chart according to embodiment of the present invention.
S101, the seasonal variations period of vegetation and environment is set using model editor within a period of time;
S102, the seasonal variations period set according to S101, the change to each period vegetation and environment is counted Calculate, seasonal variations parameter corresponding to generation;
S103, using Material Editor root, the seasonal variations parameter that S102 is obtained enters edlin, by vegetation corresponding to generation Material and environment texture mapping are tied to corresponding model;
S104, during game running, the materials and texture mapping of multiple corresponding different time sections of stress model binding, and The corresponding period shows to corresponding material and texture mapping.
Fig. 2 show the flow chart of the seasonal variations time setting up procedure according to embodiment of the present invention.In seasonal variations In time setting up procedure, it is necessary first to according to the understanding to plant, analyze its Seasonal fluctuation, then just compiled in model Collect and be configured in device, growth, color change, the period dropped are set out respectively, shown in the following S201~S204 of its flow:
S201, analyze the Seasonal fluctuation of post;
S202, obtain the period of vegetation leaf growth;
S203, obtain the period of vegetation leaf color change;
S204, obtain the period that vegetation leaf drops.
Further, the parameter according to corresponding to calculating the period of acquisition, and parameter is sent to Material Editor.
Fig. 3 show the flow chart of the material manufacturing process according to embodiment of the present invention.Parameter spreads out of Material Editor It is to edit the transitional effect between season, connects excessive color change Parameter nodes of each season, then connect each season Excessive effect, each effect is carried out excessively by linear interpolation.
Shown in the following S301~S304 of its flow:
S301, find out the color change parameter in winter to spring, spring to summer, summer-to-fall, autumn to winter Node;
S302, obtain the effect in each stage;
S303, linear interpolation transition is passed through to the effect in each stage;
S304, it is output to final effect node, i.e. result of calculation.
Fig. 4 show the flow chart of total object plotting method according to embodiment of the present invention.
Shown in the following S401~S406 of its flow:
S401, material makes, as shown in figure 3 above;
S402, material is bound, for the material of making to be tied into the model specified;
S403, the seasonal variations time is adjusted, that is, allows the time " dynamic ";
S404, calculate seasonal variations parameter;
S405, obtain current slot;
S406, the material of corresponding period and environment texture mapping are shown, reach seasonal shift effect.
It is described above, simply presently preferred embodiments of the present invention, the invention is not limited in above-mentioned embodiment, as long as It reaches the technique effect of the present invention with identical means, should all belong to protection scope of the present invention.In the protection model of the present invention Its technical scheme and/or embodiment can have a variety of modifications and variations in enclosing.

Claims (7)

1. a kind of vegetation seasonal variations method of 3d gaming, it is characterised in that the system includes:
A., the seasonal variations period of vegetation and environment is set using model editor within a period of time;
B. the seasonal variations period set according to the step A, the change to each period vegetation and environment calculate, Seasonal variations parameter corresponding to generation;
C. edlin is entered according to the obtained seasonal variations parameters of the step B using Material Editor, by vegetation corresponding to generation Material and environment texture mapping are tied to corresponding model;
D. during game running, the material and texture mapping of stress model binding, and the corresponding period to corresponding material and Texture mapping is showed, wherein each material corresponds to multiple seasonal variations texture mapping.
2. the vegetation seasonal variations method of 3d gaming according to claim 1, it is characterised in that the step A is also wrapped Include:
Wherein the setting of the period of vegetation and environmental change includes obtaining and analyzing corresponding one or more in games system The Seasonal fluctuation of vegetation, the variation characteristic of Various Seasonal is in from model editor acquisition vegetation according to Seasonal fluctuation Data, and, obtain corresponding Seasonal variation data.
3. the vegetation seasonal variations method of 3d gaming according to claim 2, it is characterised in that the model editor Also include:
Display interface is provided and is used for real-time exhibition vegetation and season in the state change without the period.
4. the vegetation seasonal variations method of 3d gaming according to claim 1 or 2, it is characterised in that the step B is also Including:
S21, according to the vegetation of acquisition and Seasonal variation data;
S22, the period of the step A settings is obtained using model editor, and will be sent as variable to coloring the period Device, further, using shader computations when changing the period, the running parameter in vegetation and season, wherein parameter include But it is not limited to the scaled of vegetation, vegetation color and whether drops;
S23, obtained vegetation and seasonal variations parameter are sent to Material Editor.
5. the vegetation seasonal variations method of the 3d gaming according to claim 1 or 4, it is characterised in that the step C is also Including:
S51, vegetation and seasonal variations parameter are obtained, multiple vegetation materials corresponding to generation and environment texture patch in tinter Figure;
S52, specified multiple vegetation materials are tied in corresponding vegetation model, it is corresponding, in addition to environment texture mapping.
6. the vegetation seasonal variations method of 3d gaming according to claim 1, it is characterised in that the step D is also wrapped Include:
S61, load vegetation model in game certain area, and corresponding multiple vegetation materials and environment texture mapping;
S62, in real-time confirmation game the period whether change, if changing, convert vegetation material and environment texture Textures show.
7. according to a kind of vegetation seasonal variations system of 3d gaming of the claim 1-6 any means, it is characterised in that The system includes:
Time setup module, for setting the seasonal variations time of vegetation and environment within a period of time using model editor Section;
Parameter calculating module, for the seasonal variations period set according to the time setup module, each period is planted The change of quilt and environment is calculated, seasonal variations parameter corresponding to generation;
Material editor module, will for entering edlin according to the obtained seasonal variations parameters of the step B using Material Editor Vegetation material corresponding to generation and environment texture mapping are tied to corresponding model;
Display module, for the material and texture mapping of stress model binding, and the corresponding period to corresponding material and Texture mapping is showed, wherein each material corresponds to multiple seasonal variations texture mapping.
CN201710459433.7A 2017-06-16 2017-06-16 A kind of vegetation seasonal variations method and system of 3d gaming Pending CN107362536A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710459433.7A CN107362536A (en) 2017-06-16 2017-06-16 A kind of vegetation seasonal variations method and system of 3d gaming

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710459433.7A CN107362536A (en) 2017-06-16 2017-06-16 A kind of vegetation seasonal variations method and system of 3d gaming

Publications (1)

Publication Number Publication Date
CN107362536A true CN107362536A (en) 2017-11-21

Family

ID=60305404

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710459433.7A Pending CN107362536A (en) 2017-06-16 2017-06-16 A kind of vegetation seasonal variations method and system of 3d gaming

Country Status (1)

Country Link
CN (1) CN107362536A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111524214A (en) * 2020-06-04 2020-08-11 广州西山居世游网络科技有限公司 Method and device for manufacturing vegetation biological community

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1932799A (en) * 2006-09-04 2007-03-21 罗中根 System and method for simulating real three-dimensional virtual network travel
CN101251932A (en) * 2008-03-18 2008-08-27 中国科学院软件研究所 Plant leaf analogy method based on physics
JP2010187858A (en) * 2009-02-17 2010-09-02 Taito Corp Time-linked image generation program and game machine
US8243064B1 (en) * 2007-11-15 2012-08-14 Nvidia Corporation System for providing scalable physics content
CN102663827A (en) * 2012-03-02 2012-09-12 天津大学 Three-dimensional dynamic whole-process simulation method for storm surge and flood routing in complex flooding areas
CN103605501A (en) * 2013-07-01 2014-02-26 绵阳市武道数码科技有限公司 Game vegetation system
CN105574934A (en) * 2015-12-29 2016-05-11 珠海金山网络游戏科技有限公司 Method and apparatus for drawing tree model instance based on LOD
US20160303476A1 (en) * 2001-08-21 2016-10-20 Nintendo Co., Ltd. System for multi-user communications using discrete video game platforms

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160303476A1 (en) * 2001-08-21 2016-10-20 Nintendo Co., Ltd. System for multi-user communications using discrete video game platforms
CN1932799A (en) * 2006-09-04 2007-03-21 罗中根 System and method for simulating real three-dimensional virtual network travel
US8243064B1 (en) * 2007-11-15 2012-08-14 Nvidia Corporation System for providing scalable physics content
CN101251932A (en) * 2008-03-18 2008-08-27 中国科学院软件研究所 Plant leaf analogy method based on physics
JP2010187858A (en) * 2009-02-17 2010-09-02 Taito Corp Time-linked image generation program and game machine
CN102663827A (en) * 2012-03-02 2012-09-12 天津大学 Three-dimensional dynamic whole-process simulation method for storm surge and flood routing in complex flooding areas
CN103605501A (en) * 2013-07-01 2014-02-26 绵阳市武道数码科技有限公司 Game vegetation system
CN105574934A (en) * 2015-12-29 2016-05-11 珠海金山网络游戏科技有限公司 Method and apparatus for drawing tree model instance based on LOD

Non-Patent Citations (7)

* Cited by examiner, † Cited by third party
Title
严家璇子: "基于Maya的树木三维动画生成方法", 《中国优秀硕士学位论文全文数据库(电子期刊)信息科技辑》 *
二千: "《UE4资源 强大的造树插件 SpeedTree 7 for UE4》", 《HTTP://WWW.MANEW.COM/THREAD-44300-1-1.HTML》 *
卢圣编著: "《计算机辅助园林设计 修订版》", 31 December 2004, 北京:气象出版社 *
宋扬: "虚拟现实技术在园林绿化设计中的应用", 《浙江林业科技》 *
小晨晨: "《[转载]SpeedTree的模型导入3dsmax中的问题解决》", 《HTTP://BLOG.SINA.COM.CN/S/BLOG_70DFEE2A0102VMDB.HTML》 *
张帆著: "《Unity3D游戏开发基础》", 31 August 2013, 杭州:浙江工商大学出版社 *
江媛媛: "基于MAXScript的三维场景快速建模算法研究及应用", 《中国优秀硕士学位论文全文数据库(电子期刊)信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111524214A (en) * 2020-06-04 2020-08-11 广州西山居世游网络科技有限公司 Method and device for manufacturing vegetation biological community
CN111524214B (en) * 2020-06-04 2023-07-21 广州西山居网络科技有限公司 Method and device for manufacturing vegetation biological community

Similar Documents

Publication Publication Date Title
CN102968979B (en) Screen brightness scheduling method based on curve fitting
CN104077725B (en) The monitoring of potato planting Internet of Things, control and information service cloud platform integrated system
CN106204735B (en) Application method of the Unity3D terrain datas in 11 environment of Direct3D
CN105677890B (en) A kind of green amount numerical map production in city and display methods
CN109753334A (en) A kind of threedimensional model display methods based on WebGL
CN107567642A (en) System, method and apparatus for the three-dimensional modeling based on voxel
CN101216954A (en) A forest rendering method based on classified hierarchical deep mesh
CN110124318B (en) Method and device for making virtual vegetation, electronic equipment and storage medium
KR100668159B1 (en) Landscape Architecture Design Method Based On Real Image and System thereof
CN108921105A (en) Identify the method, apparatus and computer readable storage medium of destination number
CN110102058A (en) The generation method of Virtual Building model, device, processor and terminal in game
CN108629408A (en) A kind of deep learning dynamic model based on FPGA cuts out inference system and method
CN106898040A (en) Virtual resource object rendering intent and device
CN106651149A (en) Plant growth behavior analyzing method
CN107633544A (en) The processing method and processing device of ambient light masking
CN110298922A (en) A kind of three-dimensional model simplifying method, device and equipment
CN103021025B (en) Utilize the method for generating pattern of computer program
CN107362536A (en) A kind of vegetation seasonal variations method and system of 3d gaming
CN103440648A (en) Method and device for automatically measuring crop canopy uniformity
CN115733244A (en) Regional power grid digital twinning method and system and storage medium
CN110298909A (en) A kind of weathering phenomena simulation method based on three-dimensional cellular automaton
CN108090955A (en) The system and method that a kind of virtual scene simulates true mountain model
Kang et al. IMapple—functional structural model of apple trees
CN103970941B (en) Scattered bamboo rhizome parallel analog simulation method based on network cluster
CN102752491B (en) The generation method and system of a kind of satellite trajectory

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: 20171121

RJ01 Rejection of invention patent application after publication