CN101021951A - Method for constituting 3D game map utilizing random number - Google Patents

Method for constituting 3D game map utilizing random number Download PDF

Info

Publication number
CN101021951A
CN101021951A CNA200710048746XA CN200710048746A CN101021951A CN 101021951 A CN101021951 A CN 101021951A CN A200710048746X A CNA200710048746X A CN A200710048746XA CN 200710048746 A CN200710048746 A CN 200710048746A CN 101021951 A CN101021951 A CN 101021951A
Authority
CN
China
Prior art keywords
map
random number
editor
algorithm
fritter
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
CNA200710048746XA
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.)
Chengdu Kingsoft Interactive Entertainment Co Ltd
Original Assignee
Chengdu Kingsoft Interactive Entertainment 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 Chengdu Kingsoft Interactive Entertainment Co Ltd filed Critical Chengdu Kingsoft Interactive Entertainment Co Ltd
Priority to CNA200710048746XA priority Critical patent/CN101021951A/en
Publication of CN101021951A publication Critical patent/CN101021951A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

This invention discloses a method for structuring 3D game maps by random numbers including the following steps: developing a map editor with a random number evolution function, then setting up a blank game map in the editor to put seeds of map elements on the map to start up a random number evolution algorithm and the elements grow in terms of a natural rule, and the editor grows an original map after the growing algorithm is finished or the map plotter stops the algorithm actively then the plotter modifies the map and adds other elements, finally the editor stores the map, when the game is played, the map is loaded on the game world to greatly increase the efficiency of cartography.

Description

A kind of method of utilizing random number to make up the 3D map
Technical field
The present invention relates in the field of network game to the establishment and the generation of map particularly a kind of method of utilizing random number to make up the 3D map.
Background technology
In online game, map is absolutely necessary, and so-called map is meant the world at player place in recreation, comprise various landform, various buildingss, forest land and meadow etc. are arranged, and along with the online game world becomes increasingly complex, the map of recreation is increasing.Some that exist in the recreation mainly influence recreation scenery attractive in appearance, and the flowers, plants and trees in for example playing etc. just are referred to as natural plants.
Traditional generating mode of map generally is that map volume of exploitation is earlier seized device, compile out earlier some landform by the cartography personnel with map_editor then, utilize instruments such as 3Dmax to set up the 3D object model then, again these models are placed into above the map singly.The mode workload of this manual construction gaming world is very huge, and can't guarantee that in the inefficient while growth of the plant that builds meets the natural law.
Summary of the invention
The present invention can be by random number and initial map of the moving generation of the natural law oneself for a kind of method of utilizing random number to make up the 3D map that provides is provided, and the cartography personnel can seize volume again on this base goes out.Can solve the factitious problem of efficient scene low and that construct, thereby promote the efficient of cartography greatly.
Technical scheme of the present invention is as follows:
A kind of method of utilizing random number to make up the 3D map is characterized in that step is as follows:
A, map of exploitation are compiled and are seized device, and this volume is seized device and had random number evolution algorithm function;
B, compile at map and to seize a newly-built blank map in the device;
C, on map, place the seed of natural plants with map_editor as required;
D, start the random number evolution algorithm in map_editor, the map element that step C is placed is grown by the natural law;
E, when growth algorithm finish or cartography personnel active termination growth algorithm after, map_editor just generates an original map, and then by the cartography personnel map that algorithm generates is made amendment, and adds other atural object elements;
F, preserve map by map_editor at last, when game running, map can be loaded into gaming world.
Described seed comprises all natural elements.As the desert, the oasis, forest, where rivers etc. for example plant several pine trees, where place a lake, where place volcano or the like.
The evolution algorithm at random of described map is that map is divided into plurality of small blocks according to the spacing that equates in length and breadth, and the growth of every fritter implants or death are all determined by the environment of other eight fritters around this piece and the environment of self piece.
Plant in described every can be to generate or death by calculating earlier all, changes its state then, and cycle calculations; Calculate the current ambient conditions of this fritter implants according to the plant situation around every fritter again.
Described ambient conditions is meant moisture, and soil is shouted etc., can change with border situation factually.
Plant in described every fritter can also grow by simultaneously peripherad fritter, and cycling deposition is until obtaining a gratifying natural world.
Described other atural object elements comprise urban architecture, road etc.
Beneficial effect of the present invention is as follows:
The present invention can solve the factitious problem of make efficiency scene low and that construct of map, thereby has promoted the efficient of cartography greatly, and has reduced staff's workload, has also saved corresponding cost for the game developer simultaneously.
Description of drawings
Fig. 1 is a workflow diagram of the present invention
Fig. 2 is a plant evolution algorithm flow chart of the present invention
Embodiment
Embodiment
A kind of method of utilizing random number to make up the 3D map, its step is as follows:
A, map of exploitation are compiled and are seized device, and this volume is seized device and had random number evolution algorithm function.
B, compile at map and to seize a newly-built blank map in the device;
C, on map, place the seed of natural plants with map_editor as required;
D, in map_editor opens moving random number evolution algorithm, the map element that step C is placed is grown by the natural law;
E, when growth algorithm finish or cartography personnel active termination growth algorithm after, map_editor just generates an original map, and then by the cartography personnel map that algorithm generates is made amendment, and adds other atural object elements;
F, preserve map by map_editor at last, when game running, map can be loaded into gaming world.
Described seed comprises all natural elements.As the desert, the oasis, forest, where rivers etc. for example plant several pine trees, where place a lake, where place volcano or the like.
The evolution algorithm at random of described map is that map is divided into plurality of small blocks according to the spacing that equates in length and breadth, and the growth of every fritter implants or death are all determined by the environment of other eight fritters around this piece and the environment of self piece.
Plant in described every can be to generate or death by calculating earlier all, changes its state then, and cycle calculations; Calculate the current ambient conditions of this fritter implants according to the plant situation around every fritter again.
Described ambient conditions is meant moisture, and soil is shouted etc., can change with border situation factually.
Plant in described every fritter can also grow by simultaneously peripherad fritter, and cycling deposition is until obtaining a gratifying natural world.
Described other atural object elements comprise urban architecture, road etc.
Embodiment 2
The method can be integrated in the function of map_editor, behind a newly-built blank map, earlier manually put several objects in scene, as the seed of map element, to enable the method then plant is grown automatically, landform changes automatically, feel much the same map until forming the map edit person, again by the little details of wherein some of map edit person manual modification, and create city, road etc. in the above.
We are divided into several sub-boxes to map earlier, set for example temperature of respective attributes for earlier each grid, humidity or the like, a plant is arranged on each grid, each plant all unsoundness value and grow up is planted and every index of demand, add some little enchancement factors according to the ambient conditions of several grid on every side and judge that this plant is growth or death, when plant grows into necessarily degree of being, the peripherad grid expansion of certain probability is just arranged, and then by around the plant situation calculate the change of the temperature humidity etc. of these lattice, circulation always is till obtaining satisfied map.

Claims (5)

1, a kind of method of utilizing random number to make up the 3D map is characterized in that step is as follows:
A, map of exploitation are compiled and are seized device, and this volume is seized device and had random number evolution algorithm function;
B, compile at map and to seize a newly-built blank map in the device;
C, on map, place the seed of natural plants with map_editor as required;
D, start the random number evolution algorithm in map_editor, the map element that step C is placed is grown by the natural law;
E, when growth algorithm finish or cartography personnel active termination growth algorithm after, map_editor just generates an original map, and then by the cartography personnel map that algorithm generates is made amendment, and adds other atural object elements;
F, preserve map by map_editor at last, when game running, map can be loaded into gaming world.
2, a kind of method of utilizing random number to make up the 3D map according to claim 1, it is characterized in that: the described seed of step C comprises the element of all gaming worlds.
3, a kind of method of utilizing random number to make up the 3D map according to claim 1, it is characterized in that: the evolution algorithm at random of described map is that map is divided into plurality of small blocks according to the spacing that equates in length and breadth, and the growth of every fritter implants or death are all determined by the environment of other eight fritters around this piece and the environment of self piece.
4, a kind of method of utilizing random number to make up the 3D map according to claim 3, it is characterized in that: the plant in described every can be to generate or death by calculating earlier all, change its state then, and cycle calculations: calculate the current ambient conditions of this fritter implants according to the plant situation around every fritter again.
5, according to claim 3 or 4 described a kind of methods of utilizing random number to make up the 3D map, it is characterized in that: the plant in described every fritter can also grow by simultaneously peripherad fritter, and cycling deposition is until obtaining a complete natural world.
CNA200710048746XA 2007-03-28 2007-03-28 Method for constituting 3D game map utilizing random number Pending CN101021951A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA200710048746XA CN101021951A (en) 2007-03-28 2007-03-28 Method for constituting 3D game map utilizing random number

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA200710048746XA CN101021951A (en) 2007-03-28 2007-03-28 Method for constituting 3D game map utilizing random number

Publications (1)

Publication Number Publication Date
CN101021951A true CN101021951A (en) 2007-08-22

Family

ID=38709707

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA200710048746XA Pending CN101021951A (en) 2007-03-28 2007-03-28 Method for constituting 3D game map utilizing random number

Country Status (1)

Country Link
CN (1) CN101021951A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101923602A (en) * 2010-06-07 2010-12-22 上海那里网络科技有限公司 Method and device for identifying and marking different terrains in virtual scene
CN101661628B (en) * 2008-08-28 2012-03-28 中国科学院自动化研究所 Method for quickly rendering and roaming plant scene
CN102607578A (en) * 2012-02-16 2012-07-25 华为终端有限公司 Method and device for making navigation map of local region
CN107126702A (en) * 2017-04-20 2017-09-05 杭州游聚信息技术有限公司 A kind of generation method of 3D game Random map
CN108573513A (en) * 2017-03-14 2018-09-25 腾讯科技(深圳)有限公司 Random element generation method and random element generating means
CN108939541A (en) * 2018-07-24 2018-12-07 合肥爱玩动漫有限公司 A kind of method that special screne is competed by random number point in game
CN110404263A (en) * 2019-07-26 2019-11-05 网易(杭州)网络有限公司 A kind of visualizing editing method and device

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101661628B (en) * 2008-08-28 2012-03-28 中国科学院自动化研究所 Method for quickly rendering and roaming plant scene
CN101923602A (en) * 2010-06-07 2010-12-22 上海那里网络科技有限公司 Method and device for identifying and marking different terrains in virtual scene
CN101923602B (en) * 2010-06-07 2012-08-15 上海那里网络科技有限公司 Method and device for identifying and marking different terrains in virtual scene
CN102607578A (en) * 2012-02-16 2012-07-25 华为终端有限公司 Method and device for making navigation map of local region
CN102607578B (en) * 2012-02-16 2015-08-19 华为终端有限公司 For making method and the device of the navigation map of regional area
CN108573513A (en) * 2017-03-14 2018-09-25 腾讯科技(深圳)有限公司 Random element generation method and random element generating means
CN108573513B (en) * 2017-03-14 2021-08-03 腾讯科技(深圳)有限公司 Random element generation method and random element generation device
CN107126702A (en) * 2017-04-20 2017-09-05 杭州游聚信息技术有限公司 A kind of generation method of 3D game Random map
CN107126702B (en) * 2017-04-20 2020-08-25 杭州游聚信息技术有限公司 Generation method of 3D game random map
CN108939541A (en) * 2018-07-24 2018-12-07 合肥爱玩动漫有限公司 A kind of method that special screne is competed by random number point in game
CN110404263A (en) * 2019-07-26 2019-11-05 网易(杭州)网络有限公司 A kind of visualizing editing method and device
CN110404263B (en) * 2019-07-26 2023-04-07 网易(杭州)网络有限公司 Visual editing method and device

Similar Documents

Publication Publication Date Title
CN101021951A (en) Method for constituting 3D game map utilizing random number
Cauvin The Birth of the Gods and the Origins of Agriculture
CN103745497B (en) Plant growth modeling method and system
CN107945280A (en) A kind of method for simulating true celestial body ecologicaI distribution
Burman Time and socioeconomic change on Simbo, Solomon Islands
Ruff Arcadian visions: Pastoral influences on poetry, painting and the design of landscape
CN111617485B (en) Virtual terrain scene manufacturing method and device
CN102696367A (en) Method for culturing conjoined trees
US8814675B2 (en) Method of operating an online game using terraformed game spaces
CN103021012A (en) Method for combining static structure and utilizing computer to draw dynamic 3D (three-dimension) plant
Abad The evolution of Hawaiian socio-political complexity: An analysis of Hawaiian oral traditions
Chang Playing nature: The virtual ecology of game environments
Ch'ng Realistic placement of plants for virtual environments
Crook Growing knowledge in Bolivip, Papua New Guinea
CN108133654A (en) Cotton plant type design experiment teaching method based on AR mobile phone
Pojani et al. 14 Conceptions of ‘nature’and ‘the environment’during socialism in Albania
Xu China: a new cultural history
Leow Reading new Asian tropicalities in contemporary Singapore
Hong et al. Implementation of agricultural training system using Game Engine
Mora et al. Flora Generation and Evolution Algorithm for Virtual Environments
Bergin Mechanisms and models of agropastoral spread during the Neolithic in the West Mediterranean: the Cardial spread model
Tregonning Balancing Act: Playing Video Game Ecologies
Kim A growth model for root systems of virtual plants with soil and moisture control
Montgomery A Beautiful Ivory Bangle
Basch Visual and Rhetorical Cues to Transform Nature: A Historical Analysis of Mao Zedong’s Environmental Policy Through Print and Visual Media

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20070822