CN111524231A - Virtual terrain processing method and device, electronic equipment and storage medium - Google Patents
Virtual terrain processing method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN111524231A CN111524231A CN202010432217.5A CN202010432217A CN111524231A CN 111524231 A CN111524231 A CN 111524231A CN 202010432217 A CN202010432217 A CN 202010432217A CN 111524231 A CN111524231 A CN 111524231A
- Authority
- CN
- China
- Prior art keywords
- terrain
- virtual
- virtual terrain
- target area
- file
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 8
- 238000000034 method Methods 0.000 claims abstract description 40
- 230000008859 change Effects 0.000 claims abstract description 13
- 238000004590 computer program Methods 0.000 claims description 17
- 238000000638 solvent extraction Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 15
- 238000012876 topography Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 6
- 230000000694 effects Effects 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 230000011218 segmentation Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000018109 developmental process Effects 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000001680 brushing effect Effects 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 239000011435 rock Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
- G06T17/05—Geographic models
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/52—Controlling the output signals based on the game progress involving aspects of the displayed game scene
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/11—Region-based segmentation
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features 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/30—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
- A63F2300/308—Details of the user interface
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Geometry (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Remote Sensing (AREA)
- Computer Graphics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Processing Or Creating Images (AREA)
Abstract
The embodiment of the invention provides a processing method and device of virtual terrain, electronic equipment and a storage medium, wherein a graphical user interface is provided through terminal equipment, the graphical user interface comprises the virtual terrain, and the method comprises the following steps: when the virtual terrain is changed, determining a terrain area in the virtual terrain, which is changed, as a target area, wherein the virtual terrain comprises a plurality of terrain areas; determining the target area as an area to be baked again; and according to the read terrain file of the virtual terrain after the change, baking the target area of the virtual terrain again to obtain the virtual terrain including the target area after the baking again. According to the embodiment of the invention, after the user changes the terrain, the game engine can only read the changed part of the terrain without completely replacing the whole terrain, so that the time spent by the user waiting for the baking of the terrain is greatly reduced.
Description
Technical Field
The present invention relates to the field of computers, and in particular, to a method and an apparatus for processing a virtual terrain, an electronic device, and a storage medium.
Background
With the development of computer network technology and the development of mobile device platforms, games are more and more popular. In three-dimensional games, the terrain is an essential part, and almost all objects in the game, such as characters, plants, buildings and the like, need to operate on the terrain, otherwise, the objects alone cannot form a complete game. One of the methods for developers to create game topography is to create a topography by using various Digital Content Creation (DCC) software through manual surface brushing or programmed generation, and after creating the topography, export a height map or a model, and then import the height map or the model into a game engine for continuous editing or direct use. Another is to use a built-in terrain system directly in the game engine for the terrain production.
In the actual game development process, the change of the requirement or the iteration of the artistic effect is always avoided. Therefore, if the terrain needs to be modified, the height map or the model needs to be exported again in DCC software after each modification, and then the whole terrain needs to be replaced by the importing engine. When the terrain is complex and large, especially when doing the open world, replacing the entire terrain can take a significant amount of time for the developer.
Disclosure of Invention
In view of the above problems, the present invention is proposed to provide a method and apparatus for processing a virtual terrain, an electronic device, and a storage medium, which overcome or at least partially solve the above problems, including:
in order to solve the above problem, an embodiment of the present invention discloses a method for processing a virtual terrain, which provides a graphical user interface through a terminal device, where the graphical user interface includes the virtual terrain, and the method includes:
when the virtual terrain is changed, determining a terrain area in the virtual terrain, which is changed, as a target area, wherein the virtual terrain comprises a plurality of terrain areas;
determining the target area as an area to be baked again;
and according to the read terrain file of the virtual terrain after the change, baking the target area of the virtual terrain again to obtain the virtual terrain including the target area after the baking again.
Preferably, the plurality of terrain areas are obtained by geometric partitioning of the virtual terrain.
Preferably, the terrain file of the virtual terrain comprises: terrain files corresponding to all terrain areas of the virtual terrain respectively;
the redrying of the target area of the virtual terrain according to the read terrain file of the virtual terrain after the change comprises the following steps:
and according to the read terrain file corresponding to the target area after the change, baking the target area of the virtual terrain again.
Preferably, the method further comprises:
reading a terrain file of the virtual terrain from a preset path, and comparing the read terrain file with an initial terrain file of the virtual terrain stored in a project file;
and if the read terrain file is different from the initial terrain file of the virtual terrain, determining that the virtual terrain is changed.
Preferably, the method further comprises:
and generating a corresponding height map according to the virtual terrain containing the target area after the re-baking.
Preferably, after the obtaining of the virtual terrain comprising the target area after the redrying, the method further comprises:
displaying the virtual terrain containing the re-baked target area.
Preferably, the displaying the virtual terrain containing the target area after redrying comprises:
displaying the virtual terrain containing the target area after re-baking according to the height map.
The embodiment of the invention also discloses a processing device of the virtual terrain, which provides a graphical user interface through terminal equipment, wherein the graphical user interface comprises the virtual terrain, and the device comprises:
a target area module, configured to determine, when the virtual terrain changes, a terrain area in the virtual terrain that changes as a target area, where the virtual terrain includes a plurality of terrain areas;
a to-be-redried area module for determining the target area as an area to be redried;
and the baking module is used for baking the target area of the virtual terrain again according to the read changed terrain file of the virtual terrain to obtain the virtual terrain containing the target area after baking again.
An embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, and when being executed by the processor, the computer program implements the steps of the above virtual terrain processing method.
Embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the above processing method for virtual terrain.
The invention has the following advantages:
in the embodiment of the invention, when the virtual terrain is changed, the terrain area which is changed in the virtual terrain is determined as the target area, the virtual terrain comprises a plurality of terrain areas, the target area is determined to be an area to be baked again, and the target area of the virtual terrain is baked again according to the read terrain file of the changed virtual terrain to obtain the virtual terrain comprising the target area baked again. After the terrain is changed by the user, the game engine can only read the changed part of the terrain without completely replacing the whole terrain, and the time spent by the user waiting for baking the terrain is greatly reduced.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the description of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart illustrating steps of a method for processing virtual terrain according to an embodiment of the present invention;
FIG. 2 is an exemplary diagram of a virtual terrain provided by an embodiment of the present invention;
fig. 3 is a flowchart illustrating steps of another method for processing virtual terrain according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating a virtual terrain segmentation provided by an embodiment of the present invention;
FIG. 5 is a schematic diagram of a virtual terrain in a game engine provided by an embodiment of the present invention;
fig. 6 is a schematic diagram of a virtual terrain before being modified according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a modified virtual terrain according to an embodiment of the present invention;
FIG. 8 is a schematic illustration of another virtual terrain provided by embodiments of the present invention;
FIG. 9 is a schematic illustration of a virtual terrain in another game engine provided by embodiments of the present invention;
fig. 10 is a block diagram of a virtual terrain processing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below. It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all 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.
Referring to fig. 1, a flowchart illustrating steps of a method for processing a virtual terrain according to an embodiment of the present invention is shown, where a graphical user interface is provided by a terminal device, where the graphical user interface includes a virtual terrain, and the method may specifically include the following steps:
the virtual terrain refers to a ground surface or a ground system generated in a data processing system, describes information such as river valleys and vegetation rocks, and can be made by various DCC software by a user, as shown in FIG. 2. The first virtual terrain includes a plurality of divided terrain areas, and each terrain area has the same size. The user can modify the virtual terrain in the game engine, and the terrain area changed by the modification in the virtual terrain is determined as the target area.
the virtual terrain can be reconstructed by baking, and the terrain area modified by the user is determined as the area to be baked.
And 103, baking the target area of the virtual terrain again according to the read changed terrain file of the virtual terrain to obtain the virtual terrain including the target area after baking again.
The virtual terrain has a corresponding terrain file, the terrain file contains terrain data of the virtual terrain, and the game engine can construct the corresponding virtual terrain according to the terrain data contained in the terrain file. The game engine can bake the target area in the virtual terrain again according to the read terrain file of the changed virtual terrain, and obtain the virtual terrain including the baked target area.
In the embodiment of the invention, when the virtual terrain is changed, the terrain area which is changed in the virtual terrain is determined as the target area, the virtual terrain comprises a plurality of terrain areas, the target area is determined to be an area to be baked again, and the target area of the virtual terrain is baked again according to the read terrain file of the changed virtual terrain to obtain the virtual terrain comprising the target area baked again. After the user changes the virtual terrain, the game engine can only read the changed part in the virtual terrain to generate the changed virtual terrain without completely replacing the whole virtual terrain, and the time consumed by the user for waiting for baking the terrain is greatly reduced.
Referring to fig. 3, a flowchart illustrating steps of another virtual terrain processing method provided in an embodiment of the present invention is shown, and a graphical user interface is provided by a terminal device, where the graphical user interface includes a virtual terrain, and the method specifically includes the following steps:
the user leads the terrain file of the virtual terrain into the game engine from the DCC software, backups the terrain file in the project file and simultaneously leads the file path of the terrain file into the game engine. When the user reads the terrain file again in the game engine, the read terrain file is compared with the terrain file stored in the project file.
the user may modify the terrain file in the game engine to change the virtual terrain. And when the game engine judges that the modified terrain file is different from the initial terrain file, determining that the virtual terrain is changed.
when the game engine judges that the imported terrain file is changed, namely the virtual terrain is changed, the changed area in the virtual terrain is determined as the target area, a plurality of terrain areas in the virtual terrain are obtained by geometric partitioning, after the virtual terrain is created by DCC software, the user can input the segmentation parameters, the terminal performs geometric partitioning on the virtual terrain according to the actual requirements according to the segmentation parameters, for example, 2 x 2, 4 x 4, etc., as shown in fig. 4 and 5, fig. 4 shows a virtual terrain divided by 2 x 2 in DCC software, 301 and 304 respectively represent different terrain areas after division, and fig. 5 shows the display effect of the divided virtual terrain after the divided virtual terrain is imported into the game engine, and the imported virtual terrain is also divided into 2 × 2 terrain areas 401 and 404 with equal size. The segmentation is carried out by equal ratio segmentation, so that the size of each cut terrain area is still 2 times, such as 1024 by 1024, and the requirements of the game engine on the terrain are met.
and determining the area which is confirmed as the target area in the virtual terrain as the area to be baked again.
in a preferred embodiment of the present invention, the topography file of the virtual topography includes topography files corresponding to respective topography areas of the virtual topography, and the target area of the virtual topography is baked again according to the read altered topography file of the virtual topography, further including the following sub-steps:
and according to the read terrain file corresponding to the target area after the change, baking the target area of the virtual terrain again.
And the game engine re-bakes the target area according to the read changed terrain file, so as to reconstruct the target area of the virtual terrain.
the height map is a rasterized image in which surface height data is stored for each pixel. By baking the region to be baked, a height map corresponding to the target region can be generated.
After the virtual terrain containing the redried target area is obtained, the virtual terrain containing the redried target area is displayed in a game engine.
In a preferred embodiment of the present invention, the step 207 further comprises the following sub-steps:
displaying the virtual terrain containing the target area after re-baking according to the height map.
The game engine displays the virtual terrain including the changed target area according to the height map of the target area.
In the embodiment of the invention, a terrain file of a virtual terrain is read from a preset path, the read terrain file is compared with an initial terrain file of the virtual terrain stored in a project file, if the read terrain file is different from the initial terrain file of the virtual terrain, the virtual terrain is determined to be changed, when the virtual terrain is changed, a terrain area changed in the virtual terrain is determined as a target area, the virtual terrain comprises a plurality of terrain areas, the target area is determined to be an area to be baked again, the target area of the virtual terrain is baked again according to the read terrain file of the virtual terrain after being changed, the virtual terrain comprising the target area after being baked again is obtained, a corresponding height map is generated according to the virtual terrain comprising the target area after being baked again, and the virtual terrain comprising the target area after being baked again is displayed, when the user modifies the virtual terrain, data corresponding to the virtual terrain does not need to be repeatedly imported and exported, the game engine only needs to read the part of the virtual terrain modified by the user, and the modified part of the virtual terrain can be automatically baked and displayed, so that the operation steps are simplified, and the time for the user to wait for baking is saved.
In order to enable a person skilled in the art to better understand the solution of the present invention, the present application is exemplified below by way of example, but it should be understood that the present application is not limited thereto.
After the user finishes making the virtual terrain, the user inputs the dividing parameters according to the requirement of the user, and divides the virtual terrain into 2 multiplied by 2 virtual terrains, namely 4 terrain areas are included.
And then the user leads the terrain file corresponding to the virtual terrain into the game engine, backups the terrain file in the project file and generates the virtual terrain in the game scene. Since the virtual terrain is divided into 4 terrain areas, the virtual terrain generated in the game engine is also composed of 4 terrain areas.
In order to improve the effect of the virtual terrain, the user modifies the virtual terrain, as shown in fig. 6, a shaded part 501 is a part needing to be modified, and the part is seen to be low in terrain and the user wants to pull up the terrain. While the modified effect is shown in fig. 7, the shaded portion 601 is the modified effect. Since there are not many portions to be modified, the modified terrain area occupies only one of the entire virtual terrain, as shown in fig. 8, 701 is the virtual terrain, and 702 is the modified portion.
After the modification is completed, the game engine compares the read terrain file, namely the modified terrain file, with the initial terrain file in the backup, determines a terrain area to which the modified part belongs according to the modified position, cures the terrain area, and keeps other terrain areas as they are.
After the baking is finished, a corresponding new height map is generated for the target area, and the game engine reads the new height map, so that the modified target area in the virtual terrain can be displayed, as shown in fig. 9, 801 is the target area displayed according to the new height map, and 802 is other terrain areas in the virtual terrain.
In the whole operation process, after the terrain is changed by a user, the game engine only reads a part of terrain areas where the virtual terrain is changed, the whole virtual terrain does not need to be replaced completely, and terrain data corresponding to the exported virtual terrain does not need to be imported again, so that the tedious operation is simplified, and the time spent by the user for waiting for the baking of the terrain is greatly reduced.
Referring to fig. 10, a block diagram illustrating a configuration of an apparatus for processing virtual terrain according to an embodiment of the present invention, where a graphical user interface is provided by a terminal device, where the graphical user interface includes virtual terrain, and the apparatus may include the following modules:
a target area module 901, configured to determine, as a target area, a terrain area that is changed in the virtual terrain when the virtual terrain is changed, where the virtual terrain includes multiple terrain areas;
a to-be-redried area module 902, configured to determine that the target area is an area to be redried;
and a baking module 903, configured to bake the target area of the virtual terrain again according to the read changed terrain file of the virtual terrain, so as to obtain a virtual terrain including the target area after baking again.
In an embodiment of the present invention, the terrain file of the virtual terrain includes: the baking module 903 further includes a terrain file corresponding to each terrain area of the virtual terrain:
and the target area terrain file submodule is used for baking the target area of the virtual terrain again according to the read terrain file corresponding to the target area after the change.
In an embodiment of the present invention, the apparatus further includes:
the comparison module is used for reading the terrain file of the virtual terrain from a preset path and comparing the read terrain file with the initial terrain file of the virtual terrain stored in the project file;
and the change determining module is used for determining that the virtual terrain is changed if the read terrain file is different from the initial terrain file of the virtual terrain.
In an embodiment of the present invention, the apparatus further includes:
and the height map generation module is used for generating a corresponding height map according to the virtual terrain containing the target area after the re-baking.
In an embodiment of the present invention, the apparatus further includes:
a display module for displaying the virtual terrain containing the re-baked target area.
In an embodiment of the present invention, the display module further includes:
and the virtual terrain display sub-module is used for displaying the virtual terrain containing the target area after the re-baking according to the height map.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
An embodiment of the present invention also provides an electronic device, which may include a processor, a memory, and a computer program stored on the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the steps of the above virtual terrain processing method.
An embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored, which, when executed by a processor, implements the steps of the above method of processing virtual terrain.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The method and apparatus for processing a virtual terrain, the electronic device, and the storage medium provided by the present invention are described in detail above, and a specific example is applied in the present document to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (10)
1. A processing method of virtual terrain is characterized in that a graphical user interface is provided through a terminal device, the graphical user interface comprises the virtual terrain, and the method comprises the following steps:
when the virtual terrain is changed, determining a terrain area in the virtual terrain, which is changed, as a target area, wherein the virtual terrain comprises a plurality of terrain areas;
determining the target area as an area to be baked again;
and according to the read terrain file of the virtual terrain after the change, baking the target area of the virtual terrain again to obtain the virtual terrain including the target area after the baking again.
2. The method of claim 1, wherein the plurality of terrain areas are obtained by geometric partitioning of the virtual terrain.
3. The method of claim 1, wherein the terrain file of the virtual terrain comprises: terrain files corresponding to all terrain areas of the virtual terrain respectively;
the redrying of the target area of the virtual terrain according to the read terrain file of the virtual terrain after the change comprises the following steps:
and according to the read terrain file corresponding to the target area after the change, baking the target area of the virtual terrain again.
4. The method of claim 1, further comprising:
reading a terrain file of the virtual terrain from a preset path, and comparing the read terrain file with an initial terrain file of the virtual terrain stored in a project file;
and if the read terrain file is different from the initial terrain file of the virtual terrain, determining that the virtual terrain is changed.
5. The method of claim 1, further comprising:
and generating a corresponding height map according to the virtual terrain containing the target area after the re-baking.
6. The method of claim 5, wherein after obtaining the virtual terrain comprising the redried target area, the method further comprises:
displaying the virtual terrain containing the re-baked target area.
7. The method of claim 6, wherein said displaying the virtual terrain containing the redried target area comprises:
displaying the virtual terrain containing the target area after re-baking according to the height map.
8. An apparatus for processing virtual terrain, wherein a graphical user interface is provided through a terminal device, the graphical user interface includes virtual terrain, the apparatus comprises:
a target area module, configured to determine, when the virtual terrain changes, a terrain area in the virtual terrain that changes as a target area, where the virtual terrain includes a plurality of terrain areas;
a to-be-redried area module for determining the target area as an area to be redried;
and the baking module is used for baking the target area of the virtual terrain again according to the read changed terrain file of the virtual terrain to obtain the virtual terrain containing the target area after baking again.
9. An electronic device, comprising a processor, a memory and a computer program stored on the memory and capable of running on the processor, the computer program, when executed by the processor, implementing the steps of the method of processing a virtual terrain according to any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of processing a virtual terrain according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010432217.5A CN111524231B (en) | 2020-05-20 | 2020-05-20 | Virtual terrain processing method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010432217.5A CN111524231B (en) | 2020-05-20 | 2020-05-20 | Virtual terrain processing method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111524231A true CN111524231A (en) | 2020-08-11 |
CN111524231B CN111524231B (en) | 2024-01-26 |
Family
ID=71907932
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010432217.5A Active CN111524231B (en) | 2020-05-20 | 2020-05-20 | Virtual terrain processing method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111524231B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112402978A (en) * | 2020-11-13 | 2021-02-26 | 上海幻电信息科技有限公司 | Map generation method and device |
CN112530012A (en) * | 2020-12-24 | 2021-03-19 | 网易(杭州)网络有限公司 | Virtual earth surface processing method and device and electronic device |
CN112604276A (en) * | 2020-12-25 | 2021-04-06 | 珠海金山网络游戏科技有限公司 | Terrain modification method and terrain modification device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050264566A1 (en) * | 2004-05-26 | 2005-12-01 | Sommers Anthony L | Terrain editor tool for rule-based procedural terrain generation |
CN108434739A (en) * | 2018-01-30 | 2018-08-24 | 网易(杭州)网络有限公司 | The processing method and processing device of virtual resource in scene of game |
CN109918463A (en) * | 2019-02-22 | 2019-06-21 | 广州多益网络股份有限公司 | Map data processing method, device, equipment and storage medium |
CN109949693A (en) * | 2019-04-17 | 2019-06-28 | 珠海金山网络游戏科技有限公司 | A kind of method for drawing map, calculates equipment and storage medium at device |
-
2020
- 2020-05-20 CN CN202010432217.5A patent/CN111524231B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050264566A1 (en) * | 2004-05-26 | 2005-12-01 | Sommers Anthony L | Terrain editor tool for rule-based procedural terrain generation |
CN108434739A (en) * | 2018-01-30 | 2018-08-24 | 网易(杭州)网络有限公司 | The processing method and processing device of virtual resource in scene of game |
CN109918463A (en) * | 2019-02-22 | 2019-06-21 | 广州多益网络股份有限公司 | Map data processing method, device, equipment and storage medium |
CN109949693A (en) * | 2019-04-17 | 2019-06-28 | 珠海金山网络游戏科技有限公司 | A kind of method for drawing map, calculates equipment and storage medium at device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112402978A (en) * | 2020-11-13 | 2021-02-26 | 上海幻电信息科技有限公司 | Map generation method and device |
CN112530012A (en) * | 2020-12-24 | 2021-03-19 | 网易(杭州)网络有限公司 | Virtual earth surface processing method and device and electronic device |
CN112604276A (en) * | 2020-12-25 | 2021-04-06 | 珠海金山网络游戏科技有限公司 | Terrain modification method and terrain modification device |
CN112604276B (en) * | 2020-12-25 | 2022-09-02 | 珠海金山数字网络科技有限公司 | Terrain modification method and terrain modification device |
Also Published As
Publication number | Publication date |
---|---|
CN111524231B (en) | 2024-01-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10922882B2 (en) | Terrain generation system | |
CN107358649B (en) | Processing method and device of terrain file | |
CN109215123B (en) | Method, system, storage medium and terminal for generating infinite terrain based on cGAN | |
US20110050691A1 (en) | Real-time user guided optimization of general 3d data | |
CN111524231A (en) | Virtual terrain processing method and device, electronic equipment and storage medium | |
CN111135565B (en) | Terrain splicing method and device in game scene, processor and electronic device | |
CN110766799A (en) | Method and device for processing hair of virtual object, electronic device and storage medium | |
He et al. | Real-Time Extendible-Resolution Display of On-line Dynamic Terrain. | |
JP3650355B2 (en) | Computer system, method and computer program for accelerating rendering of geometric models | |
CN113744401A (en) | Terrain splicing method and device, electronic equipment and storage medium | |
CN109499067B (en) | Terrain texture drawing method and device, electronic equipment and storage medium | |
CN110738734B (en) | Three-dimensional topography model generation method and device, processor and electronic device | |
WO2021154101A1 (en) | Software broker for assets managed with nested instancing | |
CA2349600C (en) | Three-dimensional skeleton data error absorbing apparatus | |
CN110989979A (en) | Terrain generation method based on UE engine | |
CN115120980A (en) | Game scene generation method and device, storage medium and electronic device | |
JPH0636013A (en) | Method and device for generating topographic data | |
CN114299203A (en) | Processing method and device of virtual model | |
CN114119925B (en) | Game image modeling method and device and electronic equipment | |
CN110782529A (en) | Method and equipment for realizing eyeball rotation effect based on three-dimensional face | |
CN112530012B (en) | Virtual earth surface processing method and device and electronic device | |
CN112604276B (en) | Terrain modification method and terrain modification device | |
Li | Real-world large-scale terrain model reconstruction and real-time rendering | |
CN111652970B (en) | Three-dimensional CAD model generation method, device, computer equipment and storage medium | |
CN112530012A (en) | Virtual earth surface processing method and device and electronic device |
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 |