+

CN114693858B - A rendering display method, device, computer equipment and storage medium - Google Patents

A rendering display method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN114693858B
CN114693858B CN202210339757.8A CN202210339757A CN114693858B CN 114693858 B CN114693858 B CN 114693858B CN 202210339757 A CN202210339757 A CN 202210339757A CN 114693858 B CN114693858 B CN 114693858B
Authority
CN
China
Prior art keywords
terrain
sub
target
area
patch data
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.)
Active
Application number
CN202210339757.8A
Other languages
Chinese (zh)
Other versions
CN114693858A (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.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network 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 Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to CN202210339757.8A priority Critical patent/CN114693858B/en
Publication of CN114693858A publication Critical patent/CN114693858A/en
Application granted granted Critical
Publication of CN114693858B publication Critical patent/CN114693858B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/10Geometric effects
    • G06T15/20Perspective computation
    • G06T15/205Image-based rendering
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/05Geographic models
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4038Image mosaicing, e.g. composing plane images from plane sub-images
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/32Indexing scheme for image data processing or generation, in general involving image mosaicing

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Software Systems (AREA)
  • Computer Graphics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Remote Sensing (AREA)
  • Computing Systems (AREA)
  • Instructional Devices (AREA)
  • Processing Or Creating Images (AREA)

Abstract

本公开提供了一种渲染显示方法、装置、计算机设备及存储介质,其中,该方法包括:基于为目标地形区域确定的地形数据,确定所述目标地形区域中各子地形区域分别对应的地形属性信息;针对任一子地形区域,基于该子地形区域对应的地形属性信息,为该子地形区域生成地形贴片数据;基于各子地形区域分别在所述目标地形区域的位置,利用各子地形区域分别对应的地形贴片数据,对各子地形区域进行拼接处理,并基于得到的拼接处理结果更新各子地形区域分别对应的地形贴片数据;基于更新后各子地形区域分别对应的地形贴片数据,确定所述目标地形区域的目标地形贴片数据,并基于所述目标地形贴片数据渲染显示所述目标地形区域。

The present disclosure provides a rendering and display method, apparatus, computer equipment and storage medium, wherein the method comprises: determining terrain attribute information corresponding to each sub-terrain area in the target terrain area based on terrain data determined for the target terrain area; generating terrain patch data for any sub-terrain area based on the terrain attribute information corresponding to the sub-terrain area; splicing each sub-terrain area based on the position of each sub-terrain area in the target terrain area, using the terrain patch data corresponding to each sub-terrain area, and updating the terrain patch data corresponding to each sub-terrain area based on the obtained splicing result; determining the target terrain patch data of the target terrain area based on the updated terrain patch data corresponding to each sub-terrain area, and rendering and displaying the target terrain area based on the target terrain patch data.

Description

Rendering display method and device, computer equipment and storage medium
Technical Field
The disclosure relates to the technical field of computers, and in particular relates to a rendering display method, a rendering display device, computer equipment and a storage medium.
Background
In application scenes such as games, there is a requirement for constructing scenes, such as a requirement for constructing a game scene. Because the scene is generally larger, the scene is generally divided into a plurality of terrain areas based on the preset size of the scene, and after each terrain area is designed with a terrain and the like, the terrain areas are spliced to obtain the scene finally used for rendering and displaying. After each terrain area is designed, as adjacent terrain areas may have differences in terrain, after the terrain areas are spliced, the splicing result may appear that the terrain transition is unnatural, and the rendering display effect is poor.
Disclosure of Invention
The embodiment of the disclosure at least provides a rendering display method, a rendering display device, computer equipment and a storage medium.
According to a first aspect, an embodiment of the disclosure provides a rendering display method, which comprises the steps of determining terrain attribute information corresponding to each sub-terrain area in a target terrain area based on terrain data determined for the target terrain area, generating terrain patch data for any sub-terrain area based on the terrain attribute information corresponding to the sub-terrain area, performing splicing processing on each sub-terrain area by using the terrain patch data corresponding to each sub-terrain area based on the position of each sub-terrain area in the target terrain area, updating the terrain patch data corresponding to each sub-terrain area based on the obtained splicing processing result, determining target terrain patch data of the target terrain area based on the updated terrain patch data corresponding to each sub-terrain area, and rendering and displaying the target terrain area based on the target terrain patch data.
In an alternative implementation mode, the terrain attribute information corresponding to each sub-terrain area in the target terrain area respectively comprises information indicating a target object to be deployed in each sub-terrain area and a deployment position of the target object in the sub-terrain area, and the generating of the terrain patch data for any sub-terrain area based on the terrain attribute information corresponding to the sub-terrain area comprises generating the terrain patch data for the sub-terrain area based on the object patch data corresponding to at least one target object to be deployed on the sub-terrain area respectively and the deployment position corresponding to the at least one target object in the sub-terrain area respectively.
In an alternative implementation mode, based on the positions of the sub-terrain areas in the target terrain areas, the sub-terrain areas are spliced by utilizing the terrain patch data corresponding to the sub-terrain areas, wherein the splicing processing comprises the steps of determining a plurality of positions to be spliced corresponding to the sub-terrain areas based on the positions of the sub-terrain areas in the target terrain areas, selecting a current position to be spliced from the plurality of positions to be spliced according to a preset splicing sequence, and carrying out splicing processing on a first sub-terrain area and a second sub-terrain area which are related to the current position to be spliced to obtain a splicing processing result.
In an optional implementation manner, the splicing processing is performed on the first sub-terrain area and the second sub-terrain area associated with the current position to be spliced to obtain a splicing processing result, and the splicing processing result is obtained by determining a first splicing boundary in the first sub-terrain area and a second splicing boundary in the second sub-terrain area based on the current position to be spliced, and performing splicing processing on the first sub-terrain area and the second sub-terrain area based on the first splicing boundary and the second splicing boundary.
In an alternative implementation mode, before determining the target topographic patch data of the target topographic area based on the updated topographic patch data corresponding to each sub-topographic area, the method further comprises determining a first target sub-topographic area associated with the modification operation from among the sub-topographic areas in response to the modification operation on the topographic data and updating topographic attribute information corresponding to the first target sub-topographic area, and performing splicing processing on the first target sub-topographic area and a sub-topographic area adjacent to the first target sub-topographic area in each sub-topographic area based on the position of the first target sub-topographic area in the target topographic area and the topographic patch data generated based on the updated topographic attribute information of the first target sub-topographic area and other sub-topographic areas associated with the first target sub-topographic area.
In an optional implementation mode, the rendering display method further comprises the steps of responding to the expansion operation of the target topographic region, determining a sub-topographic region to be expanded corresponding to the expansion operation, determining a second target sub-topographic region adjacent to the sub-topographic region to be expanded from the sub-topographic regions, generating target topographic patch data of the sub-topographic region to be expanded based on target topographic attribute information determined for the sub-topographic region to be expanded, conducting expansion splicing processing on the sub-topographic region to be expanded and the second target sub-topographic region by utilizing the target topographic patch data and the topographic patch data corresponding to the second target sub-topographic region, updating the target topographic patch data based on the obtained expansion splicing processing result, and rendering and displaying the target topographic region after the expansion operation based on the updated target topographic patch data.
In an alternative embodiment, the target terrain attribute information for the sub-terrain area to be extended is determined by determining the target terrain attribute information for the sub-terrain area to be extended based on the terrain attribute information for the second target sub-terrain area.
In a second aspect, an embodiment of the disclosure further provides a rendering display device, which includes a determining module configured to determine terrain attribute information corresponding to each sub-terrain area in a target terrain area based on terrain data determined for the target terrain area, a generating module configured to generate terrain patch data for any sub-terrain area based on the terrain attribute information corresponding to the sub-terrain area, a processing module configured to perform a stitching process on each sub-terrain area based on a position of each sub-terrain area in the target terrain area by using the terrain patch data corresponding to each sub-terrain area, and update the terrain patch data corresponding to each sub-terrain area based on an obtained stitching result, and a rendering module configured to determine target terrain patch data of the target terrain area based on the updated terrain patch data corresponding to each sub-terrain area, and render and display the target terrain area based on the target terrain patch data.
In an alternative implementation mode, the terrain attribute information corresponding to each sub-terrain area in the target terrain area respectively comprises information indicating a target object to be deployed in each sub-terrain area and a deployment position of the target object in the sub-terrain area, and the generation module is used for generating terrain patch data for any sub-terrain area based on the terrain attribute information corresponding to the sub-terrain area when generating the terrain patch data for the sub-terrain area based on the object patch data corresponding to at least one target object to be deployed on the sub-terrain area and the deployment position corresponding to the at least one target object in the sub-terrain area respectively.
In an optional implementation manner, when the processing module performs splicing processing on each sub-terrain area by utilizing terrain patch data corresponding to each sub-terrain area based on the position of each sub-terrain area in the target terrain area, the processing module is used for determining a plurality of positions to be spliced corresponding to each sub-terrain area based on the position of each sub-terrain area in the target terrain area, selecting a current position to be spliced from the plurality of positions to be spliced according to a preset splicing sequence, and performing splicing processing on a first sub-terrain area and a second sub-terrain area associated with the current position to be spliced to obtain a splicing processing result.
In an optional implementation manner, when the processing module performs splicing processing on the first sub-terrain area and the second sub-terrain area associated with the current position to be spliced to obtain the splicing processing result, the processing module is configured to determine a first splicing boundary in the first sub-terrain area and determine a second splicing boundary in the second sub-terrain area based on the current position to be spliced, and perform splicing processing on the first sub-terrain area and the second sub-terrain area based on the first splicing boundary and the second splicing boundary to obtain the splicing processing result.
In an alternative implementation mode, before determining the target topographic patch data of the target topographic area based on the updated topographic patch data corresponding to each sub-topographic area, the rendering module is further used for determining a first target sub-topographic area associated with the modification operation from among the sub-topographic areas and updating topographic attribute information corresponding to the first target sub-topographic area in response to the modification operation on the topographic data, and performing splicing processing on the first target sub-topographic area and a sub-topographic area adjacent to the first target sub-topographic area in each sub-topographic area based on the position of the first target sub-topographic area in the target topographic area and the topographic patch data generated based on the updated topographic attribute information of the first target sub-topographic area and other sub-topographic areas associated with the first target sub-topographic area.
In an optional implementation manner, the rendering display device further comprises an expansion module, wherein the expansion module is used for responding to expansion operation on the target topographic region, determining a sub-topographic region to be expanded corresponding to the expansion operation, determining a second target sub-topographic region adjacent to the sub-topographic region to be expanded from the sub-topographic regions, generating target topographic patch data of the sub-topographic region to be expanded based on target topographic attribute information determined for the sub-topographic region to be expanded, conducting expansion splicing processing on the sub-topographic region to be expanded and the second target sub-topographic region by utilizing the target topographic patch data and the topographic patch data corresponding to the second target sub-topographic region, updating the target topographic patch data based on the obtained expansion splicing processing result, and rendering and displaying the target topographic region after the expansion operation based on the updated target topographic patch data.
In an alternative embodiment, the expansion module determines the target terrain attribute information for the sub-terrain area to be expanded in a manner that the target terrain attribute information of the sub-terrain area to be expanded is determined based on the terrain attribute information of the second target sub-terrain area.
In a third aspect, an optional implementation manner of the disclosure further provides a computer device, a processor, and a memory, where the memory stores machine-readable instructions executable by the processor, and the processor is configured to execute the machine-readable instructions stored in the memory, where the machine-readable instructions, when executed by the processor, perform the steps in the first aspect, or any possible implementation manner of the first aspect, when executed by the processor.
In a fourth aspect, an alternative implementation of the present disclosure further provides a computer readable storage medium having stored thereon a computer program which when executed performs the steps of the first aspect, or any of the possible implementation manners of the first aspect.
The effect descriptions of the rendering display apparatus, the computer device, and the computer-readable storage medium are described with reference to the description of the rendering display method, and are not repeated here.
According to the rendering display method, the rendering display device, the computer equipment and the storage medium, after the terrain data of the target terrain area are determined, the terrain attribute information corresponding to each sub-terrain area forming the target terrain area is determined, the terrain attribute information can form terrain constraint on the sub-terrain area, the terrain patch data generated by the terrain attribute information for the sub-terrain area can reflect the terrain features which are due to the sub-terrain area in the terrain data, so that the terrain patch data which are separated from the terrain data cannot appear on the terrain after the sub-terrain area is spliced, the terrain data can be designed regularly on the terrain transition easily during the determination, and therefore the obtained target terrain patch data render the displayed target terrain area, the terrain transition can be more natural, and the rendering display effect is better.
The foregoing objects, features and advantages of the disclosure will be more readily apparent from the following detailed description of the preferred embodiments taken in conjunction with the accompanying drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for the embodiments are briefly described below, which are incorporated in and constitute a part of the specification, these drawings showing embodiments consistent with the present disclosure and together with the description serve to illustrate the technical solutions of the present disclosure. It is to be understood that the following drawings illustrate only certain embodiments of the present disclosure and are therefore not to be considered limiting of its scope, for the person of ordinary skill in the art may admit to other equally relevant drawings without inventive effort.
FIG. 1 illustrates a flow chart of a rendering display method provided by an embodiment of the present disclosure;
FIG. 2 illustrates a schematic diagram of terrain data provided by an embodiment of the present disclosure;
FIG. 3 illustrates a schematic diagram of determining terrain attribute information for a sub-terrain area, provided by an embodiment of the present disclosure;
FIG. 4 illustrates a schematic diagram of a stitching process for sub-terrain areas provided by an embodiment of the present disclosure;
FIG. 5 illustrates another exemplary stitching process for sub-terrain areas provided by embodiments of the present disclosure;
FIG. 6 illustrates a schematic diagram of another terrain data provided by an embodiment of the present disclosure;
fig. 7 shows a schematic diagram of a sub-terrain area to be extended provided by an embodiment of the present disclosure.
FIG. 8 illustrates a schematic diagram of a rendering display apparatus provided by an embodiment of the present disclosure;
fig. 9 shows a schematic diagram of a computer device provided by an embodiment of the present disclosure.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are only some embodiments of the present disclosure, but not all embodiments. The components of the disclosed embodiments generally described and illustrated herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present disclosure is not intended to limit the scope of the disclosure, as claimed, but is merely representative of selected embodiments of the disclosure. All other embodiments, which can be made by those skilled in the art based on the embodiments of this disclosure without making any inventive effort, are intended to be within the scope of this disclosure.
It is found that when constructing a scene, the size of the scene is generally large, so that the scene is divided into a plurality of terrain areas, and the terrain areas are spliced to obtain the scene. For a plurality of terrain areas in a scene, the coupling between adjacent terrain areas is high, for example, when river terrains are arranged on two adjacent terrain areas, if the flow direction of a river is arranged in one terrain area, the corresponding flow direction of the river is also arranged on the other terrain area, so that the river displayed on the two terrain areas is in accordance with logic. However, when designing a plurality of terrain areas, each terrain area is usually designed separately, so that the designed terrain areas may have deviation when expressing the terrain, for example, the same river is shown to have different river directions in two adjacent terrain areas, and thus after the terrain areas are spliced, the obtained splicing result may appear that the terrain transition is unnatural, and further, the rendering display effect is poor.
Based on the above-mentioned study, the present disclosure provides a rendering display method, after determining the terrain data of a target terrain area, determining the terrain attribute information corresponding to each sub-terrain area forming the target terrain area, where such terrain attribute information may form a terrain constraint on the sub-terrain area, and using the terrain patch data generated by the terrain attribute information for the sub-terrain area may reflect the terrain feature that should be present in the terrain data under the sub-terrain area, so after performing the stitching processing on the sub-terrain area, the terrain patch data that is separated from the terrain data does not appear on the terrain, and the terrain data may be relatively easily designed regularly on the terrain transition during the determination, so that the obtained target terrain patch data renders the displayed target terrain area, and may make the terrain transition more natural, and further make the rendering display effect better.
The defects of the scheme are all results obtained by the inventor after practice and careful study, and therefore, the discovery process of the above problems and the solutions to the above problems set forth hereinafter by the present disclosure should be all contributions of the inventors to the present disclosure during the course of the present disclosure.
It should be noted that like reference numerals and letters refer to like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
For the sake of understanding the present embodiment, first, a detailed description will be given of a rendering display method disclosed in the present embodiment, where an execution subject of the rendering display method provided in the present embodiment is generally a computer device with a certain computing capability, and the computer device includes, for example, a terminal device or a server or other processing device, and the terminal device may be a User Equipment (UE), a mobile device, a User terminal, a cellular phone, a cordless phone, a Personal digital assistant (Personal DIGITAL ASSISTANT, PDA), a handheld device, a computing device, an in-vehicle device, a wearable device, or the like. In some possible implementations, the rendering display method may be implemented by a processor invoking computer readable instructions stored in a memory.
The rendering display method provided by the embodiment of the present disclosure is described below.
The terrain area splicing method provided by the embodiment of the disclosure can be applied to scenes such as game fields and cartoon video production, for example, the method can be applied to the production of game scenes in the game fields or the cartoon scenes in the cartoon video production scenes. In a specific implementation, a game scene, a cartoon scene, or the like is taken as the target terrain area described in the embodiments of the present disclosure. Since the target terrain area is typically large, for example, 10 km by 10 km in design size.
The overall terrain data for the target terrain area may be determined prior to terrain planning for the sub-terrain area, such that the overall terrain distribution for the target terrain area may be determined macroscopically. After determining the global terrain distribution of the target terrain area, the sub-terrain areas therein may be subjected to terrain constraints, which may control the terrain design of the sub-terrain areas without affecting the global terrain design of the target terrain area, such as the flow direction of a river, the mountain strike, etc. Thus, after the constraint terrain design is carried out on the sub-terrain area, the corresponding terrain patch data is utilized to obtain the overall target terrain patch data of the target terrain area, so that the target terrain area is rendered. The obtained target terrain area accords with the terrain transition rule, so that the authenticity of the obtained target terrain area is higher.
Referring to fig. 1, a flowchart of a rendering display method according to an embodiment of the disclosure is shown, where the method includes steps S101 to S104, where:
S101, determining terrain attribute information corresponding to each sub-terrain area in a target terrain area based on terrain data determined for the target terrain area;
S102, generating terrain patch data for any sub-terrain area based on terrain attribute information corresponding to the sub-terrain area;
s103, based on the positions of the sub-terrain areas in the target terrain areas, respectively, performing splicing processing on the sub-terrain areas by utilizing the terrain patch data corresponding to the sub-terrain areas, and updating the terrain patch data corresponding to the sub-terrain areas based on the obtained splicing processing result;
And S104, determining target terrain patch data of the target terrain area based on the updated terrain patch data corresponding to each sub-terrain area, and rendering and displaying the target terrain area based on the target terrain patch data.
The following describes the steps S101 to S104 in detail.
With regard to S101, a target topographic region will be described first. In different application scenarios, the determined target terrain areas may be different, and may be specifically represented by different size design requirements for the target terrain areas. In one possible scenario, where a larger game scene is typically required in the gaming field, the corresponding settable target terrain area is designed as a scene having a larger size, such as the design size set to 10 km x 10 km described above.
Under the condition of determining the target terrain area, the terrain data of the target terrain area can be acquired according to the terrain design requirement of the target terrain area. In one possible scenario, the terrain data described herein may include, in particular, low-precision terrain areas of the target terrain area. Specifically, the low-precision terrain area is a terrain area with lower precision that is scaled down equally on the target terrain area in the design dimension, and the overall terrain design for the target terrain area can be made on the low-precision terrain area. Because the size of the low-precision terrain area is smaller, the overall terrain design is easy to carry out, and for the low-precision terrain area, only the terrain design of the target terrain area is needed to be born, and the rendering display requirement is not needed, so that the high design precision is not needed, and the calculation resource can be saved.
For example, if the terrain design requirement of the target terrain area includes designing a river that runs through from north to south, when determining the low-precision terrain area, referring to fig. 2, a schematic diagram of terrain data is provided for an embodiment of the disclosure, where the design size of the low-precision terrain area specifically includes, for example, 0.1 km×0.1 km, and the design terrain specifically includes a river with a varying river channel width, and the flow direction of the river is determined to be from north to south.
After the topographic data of the target topographic region is obtained, the topographic attribute information of each sub-topographic region contained in the target topographic region can be determined using the topographic data of the target topographic region. Here, first, a sub-terrain area in the target terrain area will be described. Since the design size of the target terrain area is generally larger, in order to reduce the workload when the target terrain area is designed, so as to improve the design efficiency of the target terrain area, the target terrain area is divided into a plurality of sub-terrain areas with smaller sizes, for example, the target terrain area is divided into sub-terrain areas with the sizes of 10 meters×10 meters. Here, the size of the cut is not limited, nor is the manner of the cut. After the sub-terrain areas with smaller sizes are obtained through segmentation, the sub-terrain areas can be distributed to different designers for synchronous design, and then the overall design efficiency of the target terrain areas can be improved.
For the obtained terrain data, since the terrain data can reflect the overall design of the target terrain area, for each sub-terrain area divided by the target terrain area, the terrain attribute information of the sub-terrain area can be determined according to the position of the sub-terrain area in the target terrain area. Here, the terrain attribute information of the sub-terrain areas specifically includes information indicating a target object to be deployed in each sub-terrain area, and a deployment position of the target object in the sub-terrain area.
Exemplary, referring to fig. 3, a schematic diagram of determining topographic attribute information of a sub-topographic region is provided according to an embodiment of the present disclosure. In fig. 3 (a), a schematic diagram of a target terrain area is shown, the specific design size of which is 10 km×10 km, and the target terrain area is divided into 3×3 sub-terrain areas for simplicity of explanation. For the terrain data in fig. 2, a similar division may also be made to determine corresponding terrain attribute information for the sub-terrain areas divided in fig. 3, based on the terrain data at the corresponding locations. Taking the sub-terrain area at the middle position in the target terrain area shown in fig. 3 (a), that is, the sub-terrain area designed in fig. 3 (b), a segment including a river in the sub-terrain area can be determined from the terrain data of the corresponding position in fig. 2, and the inflow position and outflow position of the river of the segment on the sub-terrain area, and the direction of the river, that is, the deployment position of the river of the segment in the sub-terrain area can be determined.
In addition, for the sub-terrain area, other objects, such as sand and stone or grass, can be additionally added besides the partial objects determined by constraint of the terrain data, such as the river described above, so as to further refine and enrich the sub-terrain area. For other sub-terrain areas in the target terrain area, corresponding terrain attribute information may also be determined in a similar manner, and detailed description thereof will not be repeated here.
In the case where the topographic attribute information corresponding to the sub-topographic area is determined in S102, topographic patch data may be generated for any sub-topographic area based on the topographic attribute information corresponding to the sub-topographic area.
In particular implementations, the terrain patch data may be generated for a sub-terrain region based on object patch data corresponding to at least one target object to be deployed on the sub-terrain region, respectively, and deployment locations of the at least one target object corresponding to the at least one target object in the sub-terrain region, respectively.
Here, the target object to be deployed may include, for example, a river, a sand, a grass, or the like designed on the sub-terrain area as described above. For these target objects, for example, corresponding patch data may be predetermined. When the topographic patch data is generated for the sub-topographic area, the topographic patch data can be generated for the sub-topographic area more efficiently by calling the corresponding patch data and according to the corresponding deployment position of the target object in the sub-topographic area. In this way, the efficiency of rendering the display can also be correspondingly improved.
For S103, when determining the terrain patch data corresponding to each sub-terrain region in the target terrain region, the sub-terrain regions may be subjected to the stitching process according to the positions of the sub-terrain regions in the target terrain region, and the terrain patch data corresponding to each sub-terrain region may be updated based on the obtained stitching result.
In specific implementation, when the sub-terrain areas are spliced, the method comprises the steps of determining a plurality of positions to be spliced corresponding to the sub-terrain areas based on the positions of the sub-terrain areas in the target terrain areas, selecting a current position to be spliced from the plurality of positions to be spliced according to a preset splicing sequence, and carrying out splicing on a first sub-terrain area and a second sub-terrain area which are related to the current position to be spliced to obtain a splicing result.
Specifically, since each sub-terrain area exists alone but is part of the target terrain area, the sub-terrain areas can be spliced into the target terrain area in accordance with the position of each sub-terrain area in the target terrain area. In one possible case, the sub-terrain areas are rectangular, and when stitching, the sub-terrain areas are stitched with other sub-terrain areas that are located adjacent to the target terrain area by adjacent rectangular boundaries. Here, in the two sub-terrain areas to be spliced, adjacent boundaries include the positions to be spliced.
Exemplary, referring to fig. 4, a schematic diagram of a sub-terrain area in a stitching process according to an embodiment of the present disclosure is shown. In fig. 4, a plurality of sub-terrain areas demarcated from the target terrain area of fig. 3 (a) are specifically included. The positions to be spliced are arranged between two adjacent sub-terrain areas, and particularly, part of the positions to be spliced are marked in fig. 4. For each sub-terrain area, the corresponding position to be spliced when splicing other sub-terrain areas can be correspondingly determined.
In the case of determining a plurality of positions to be spliced, the sub-terrain areas may be spliced. In one possible case, since the data size of the topographic patch data of the sub-topographic area is large, if the stitching process is simultaneously performed on all sub-topographic areas of the target topographic area, the data size of the required process is also large, and the computational power of the computer device may not be able to be borne. Therefore, when splicing the sub-terrain areas, the number of the sub-terrain areas which can be spliced in one splicing processing period can be determined according to the calculation force of the computer equipment, and then a part of positions to be spliced are selected from a plurality of positions to be spliced to be used as the current positions to be spliced. Or the current position to be spliced can be sequentially selected according to a preset splicing sequence, for example, the preset splicing sequence is to splice the transverse position to be spliced firstly, then splice the longitudinal position to be spliced, splice the first sub-terrain area and the second sub-terrain area which are related to the transverse position to be spliced firstly in sequence, and splice the longitudinal position to be spliced after all the transverse positions to be spliced are spliced.
After the current position to be spliced is selected, the first sub-terrain area and the second sub-terrain area associated with the current position to be spliced can be spliced, so that a splicing result is obtained. Specifically, since the splicing process of the sub-terrain areas specifically relates to splicing boundaries of the sub-terrain areas, when the splicing is performed, a first splicing boundary can be determined in the first sub-terrain area and a second splicing boundary can be determined in the second sub-terrain area based on the current position to be spliced, and then the splicing process is performed on the first sub-terrain area and the second sub-terrain area based on the first splicing boundary and the second splicing boundary, so that a splicing process result is obtained.
Here, since the sub-terrain area corresponds to the terrain attribute information, the deployment position of the target object in the target terrain area, such as the inflow position, outflow position, direction of the river, and the like, of the sub-terrain area can be determined. For the target terrain area, continuity exists among sub-terrain areas containing the same object, such as river in the target terrain area has no fracture in a plurality of covered sub-terrain areas, and river beds are continuous and consistent in direction. Therefore, when two adjacent sub-terrain areas are spliced, two corresponding splicing boundaries need to be determined when the two sub-terrain areas are spliced. By utilizing the current position to be spliced, a first splicing boundary is determined for the associated first sub-terrain area, and a second splicing boundary is determined for the associated second sub-terrain area, so that the situation of violating the geographic rule can not occur after splicing.
Exemplary, referring to fig. 5, another schematic diagram of stitching sub-terrain areas provided for an embodiment of the present disclosure, specifically including the sub-terrain areas shown in fig. 4 as well. In fig. 5, two sub-topographical areas associated with one position to be spliced are specifically shown, including a first sub-topographical area, numbered 2, and a second sub-topographical area, numbered 5. For this position to be spliced, a first splice boundary a1 in the first sub-area and a second splice boundary a2 in the second sub-area may be determined, with which first splice boundary a1 and second splice boundary a2 the first sub-area and the second sub-area may be spliced correctly, as shown for example in fig. 5 (a). If the splicing boundary corresponding to the sub-area associated with the position to be spliced is not determined, a situation as shown in fig. 5 (b), that is, the splicing boundary a1 of the first sub-area is spliced with the splicing boundary b of the second sub-area, the situation may occur in the target terrain area, the direction of the river is changed against the geographic rule on the sub-terrain area with the reference number of 5, and a fracture occurs, that is, a splicing error of the sub-terrain area occurs.
With respect to S104, after updating the terrain patch data corresponding to each sub-terrain area based on the obtained stitching result, the target terrain patch data of the target terrain area may be determined by using the updated terrain patch data corresponding to each sub-terrain area, and the target terrain area may be rendered and displayed based on the target terrain patch data.
Here, since accuracy in splicing can be ensured when the sub-terrain areas are subjected to splicing processing, the target terrain patch data obtained by using the splicing processing result can also ensure that the target object has logic in display, so that the authenticity of the target terrain areas after rendering and displaying can be improved.
In another embodiment of the present disclosure, a specific manner of rendering and displaying the target terrain area again after the terrain data is modified is also provided. In a specific implementation, before determining the target topographic patch data of the target topographic area based on the updated topographic patch data corresponding to each sub-topographic area, a first target sub-topographic area associated with the modification operation may be determined from among the sub-topographic areas and the topographic attribute information corresponding to the first target sub-topographic area may be updated in response to the modification operation of the topographic data, and the first target sub-topographic area and the sub-topographic area adjacent to the first target sub-topographic area in each sub-topographic area may be spliced based on the position of the first target sub-topographic area in the target topographic area and the topographic patch data generated based on the updated topographic attribute information of the first target sub-topographic area and other sub-topographic area associated with the first target sub-topographic area.
For example, referring to fig. 6, a schematic diagram of another terrain data provided for an embodiment of the present disclosure is shown, where the shape of the bed of the river is modified at the dashed box numbered 2, and the original straight shape is modified to be curved, as compared to the terrain data shown in fig. 2. In this modification operation, the modification is specifically performed at the dashed box numbered 2, and thus the first target sub-terrain area associated with the modification operation is the sub-terrain area corresponding thereto. Since the shape of the river bed is modified, the terrain attribute information of the first target sub-terrain area can be updated.
After the updated topographic attribute information of the first target sub-topographic area is obtained, topographic patch data of the first target sub-topographic area may be generated as well, and specific modes may be referred to the corresponding description, and no repeated description is given here. After the topographic patch data of the first target sub-topographic region is determined, a sub-topographic region adjacent to the first target sub-topographic region may be determined from among the sub-topographic regions and the stitching process may be repeated to update the topographic patch data of the sub-topographic regions and redetermine the target topographic patch data of the target topographic region.
In this way, for the case that only a small modification is made in the terrain data, a small portion of the first target sub-terrain area requiring the updating of the terrain patch data can be determined according to the modification operation, and the splicing process is performed again, so that the splicing operation is not required to be performed again on all sub-terrain areas under the target terrain area again, the consumed calculation force is less, and the efficiency is higher.
In another embodiment of the present disclosure, a specific manner of rendering and displaying the target terrain area again after expanding the target terrain area is provided. In one possible case, if the target terrain area is rendered and displayed, and then the expansion requirement on the target terrain area is further provided, the target terrain area can be further expanded by taking the sub-terrain area as a unit on the basis of the current target terrain area.
In specific implementation, the method comprises the steps of responding to the expansion operation of the target topographic region, determining a sub-topographic region to be expanded corresponding to the expansion operation, determining a second target sub-topographic region adjacent to the sub-topographic region to be expanded from the sub-topographic regions, generating target topographic patch data of the sub-topographic region to be expanded based on target topographic attribute information determined for the sub-topographic region to be expanded, conducting expansion splicing processing on the sub-topographic region to be expanded and the second target sub-topographic region by utilizing the target topographic patch data and the topographic patch data corresponding to the second target sub-topographic region, updating the target topographic patch data based on the obtained expansion splicing processing result, and rendering and displaying the target topographic region after the expansion operation based on the updated target topographic patch data.
In one possible scenario, the sub-terrain area may be expanded at the outer edge of the target terrain area. After the sub-terrain area to be expanded is determined, the target terrain attribute information can be similarly determined for the sub-terrain area to be expanded, so that corresponding target terrain patch data can be determined. When determining the target terrain attribute information of the sub-terrain area to be expanded, a second target sub-terrain area adjacent to the sub-terrain area to be expanded in position can be determined first, and then the target terrain attribute information of the sub-terrain area to be expanded is determined based on the terrain attribute information of the second target sub-terrain area.
Exemplary, referring to fig. 7, a schematic diagram of a sub-terrain area to be extended according to an embodiment of the present disclosure is shown. The sub-terrain area to be expanded may determine a sub-terrain area adjacent to the location in the target terrain area, i.e., a second target sub-terrain area labeled 2. The target terrain attribute information of the sub-terrain area to be expanded may be constrained according to the terrain attribute information of the second target sub-terrain area, such as in fig. 7, the direction of the river of the second target sub-terrain area at the upstream position and the position of the river bed are determined in the sub-terrain area to be expanded. Therefore, even if the target terrain area displayed by current rendering is amplified, the displayed target object cannot lack the display logic, and the authenticity of the target terrain area after the expansion is ensured.
After the target terrain attribute information of the sub-terrain area to be expanded is determined, corresponding target terrain patch data can be determined, the sub-terrain area to be expanded and the second target sub-terrain area can be spliced by utilizing the terrain patch data of the second target sub-terrain area, the target terrain patch data of the target terrain area is updated, and the expanded target terrain area is rendered and displayed by utilizing the updated target terrain patch data.
Therefore, when the target terrain area is expanded, the terrain data of the target terrain area does not need to be determined again, the target terrain area is rendered and displayed by repeatedly utilizing the terrain data, the operation is simpler, and the efficiency is higher.
It will be appreciated by those skilled in the art that in the above-described method of the specific embodiments, the written order of steps is not meant to imply a strict order of execution but rather should be construed according to the function and possibly inherent logic of the steps.
Based on the same inventive concept, the embodiment of the present disclosure further provides a rendering display device corresponding to the rendering display method, and since the principle of solving the problem by the device in the embodiment of the present disclosure is similar to that of the rendering display method in the embodiment of the present disclosure, the implementation of the device may refer to the implementation of the method, and the repetition is omitted.
Referring to fig. 8, a schematic diagram of a rendering display apparatus according to an embodiment of the disclosure is provided, where the apparatus includes a determining module 81, a generating module 82, a processing module 83, and a rendering module 84, where,
A determining module 81, configured to determine, based on terrain data determined for a target terrain area, terrain attribute information corresponding to each sub-terrain area in the target terrain area;
A generating module 82, configured to generate, for any sub-terrain area, terrain patch data for the sub-terrain area based on terrain attribute information corresponding to the sub-terrain area;
The processing module 83 is configured to perform a stitching process on each sub-topographic region by using topographic patch data corresponding to each sub-topographic region based on the position of each sub-topographic region in the target topographic region, respectively, and update the topographic patch data corresponding to each sub-topographic region based on the obtained stitching result;
the rendering module 84 is configured to determine target terrain patch data of the target terrain area based on the updated terrain patch data corresponding to each sub-terrain area, and render and display the target terrain area based on the target terrain patch data.
In an alternative implementation manner, the terrain attribute information corresponding to each sub-terrain area in the target terrain area respectively comprises information indicating a target object to be deployed in each sub-terrain area and a deployment position of the target object in the sub-terrain area, and the generation module 82 is used for generating terrain patch data for any sub-terrain area based on the terrain attribute information corresponding to the sub-terrain area when generating the terrain patch data for the sub-terrain area based on the object patch data corresponding to at least one target object to be deployed on the sub-terrain area respectively and the deployment position corresponding to the at least one target object in the sub-terrain area respectively.
In an alternative implementation manner, when the processing module 83 performs the splicing processing on each sub-terrain area by using the terrain patch data corresponding to each sub-terrain area based on the position of each sub-terrain area in the target terrain area, the processing module is configured to determine a plurality of positions to be spliced corresponding to each sub-terrain area based on the position of each sub-terrain area in the target terrain area, select, according to a preset splicing sequence, a current position to be spliced from the plurality of positions to be spliced, and perform the splicing processing on the first sub-terrain area and the second sub-terrain area associated with the current position to be spliced, so as to obtain a result of the splicing processing.
In an alternative implementation manner, when the processing module 83 performs the stitching on the first sub-terrain area and the second sub-terrain area associated with the current position to be stitched to obtain the stitching result, the processing module is configured to determine a first stitching boundary in the first sub-terrain area and determine a second stitching boundary in the second sub-terrain area based on the current position to be stitched, and perform the stitching on the first sub-terrain area and the second sub-terrain area based on the first stitching boundary and the second stitching boundary to obtain the stitching result.
In an alternative embodiment, before determining the target topographic patch data of the target topographic area based on the updated topographic patch data corresponding to each sub-topographic area, the rendering module 84 is further configured to determine a first target sub-topographic area associated with the modification operation from among the sub-topographic areas and update the topographic attribute information corresponding to the first target sub-topographic area, and to perform a stitching process on the first target sub-topographic area and a sub-topographic area adjacent to the first target sub-topographic area in each sub-topographic area based on a position of the first target sub-topographic area in the target topographic area and the topographic patch data generated based on the updated topographic attribute information of the first target sub-topographic area, and update the topographic patch data corresponding to the first target sub-topographic area and other sub-topographic areas associated with each sub-topographic area.
In an alternative implementation manner, the rendering display device further comprises an expansion module 85, wherein the expansion module is used for responding to expansion operation on the target topographic region, determining a sub-topographic region to be expanded corresponding to the expansion operation, determining a second target sub-topographic region adjacent to the sub-topographic region to be expanded from the sub-topographic regions, generating target topographic patch data of the sub-topographic region to be expanded based on target topographic attribute information determined for the sub-topographic region to be expanded, conducting expansion splicing processing on the sub-topographic region to be expanded and the second target sub-topographic region by utilizing the target topographic patch data and the topographic patch data corresponding to the second target sub-topographic region, updating the target topographic patch data based on the obtained expansion splicing processing result, and rendering and displaying the target topographic region after the expansion operation based on the updated target topographic patch data.
In an alternative embodiment, the expansion module 85 determines the target terrain attribute information for the sub-terrain area to be expanded in a manner that the target terrain attribute information for the sub-terrain area to be expanded is determined based on the terrain attribute information for the second target sub-terrain area.
The process flow of each module in the apparatus and the interaction flow between the modules may be described with reference to the related descriptions in the above method embodiments, which are not described in detail herein.
The embodiment of the disclosure further provides a computer device, as shown in fig. 9, which is a schematic structural diagram of the computer device provided by the embodiment of the disclosure, including:
A processor 10 and a memory 20, said memory 20 storing machine readable instructions executable by the processor 10, the processor 10 for executing machine readable instructions stored in the memory 20, said machine readable instructions when executed by the processor 10, the processor 10 performing the steps of:
The method comprises the steps of determining terrain attribute information corresponding to each sub-terrain area in a target terrain area based on terrain data determined for the target terrain area, generating terrain patch data for the sub-terrain area based on the terrain attribute information corresponding to the sub-terrain area for any sub-terrain area, performing splicing processing on each sub-terrain area based on the position of each sub-terrain area in the target terrain area by using the terrain patch data corresponding to each sub-terrain area, updating the terrain patch data corresponding to each sub-terrain area based on the obtained splicing processing result, determining the target terrain patch data of the target terrain area based on the updated terrain patch data corresponding to each sub-terrain area, and rendering and displaying the target terrain area based on the target terrain patch data.
The memory 20 includes a memory 210 and an external memory 220, wherein the memory 210 is also referred to as an internal memory, and is used for temporarily storing operation data in the processor 10 and data exchanged with the external memory 220 such as a hard disk, and the processor 10 exchanges data with the external memory 220 through the memory 210.
The specific execution process of the above instruction may refer to the steps of the rendering display method described in the embodiments of the present disclosure, which is not described herein.
The disclosed embodiments also provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the rendering display method described in the above method embodiments. Wherein the storage medium may be a volatile or nonvolatile computer readable storage medium.
The embodiments of the present disclosure further provide a computer program product, where the computer program product carries program code, and instructions included in the program code may be used to perform the steps of the rendering display method described in the foregoing method embodiments, and specifically reference may be made to the foregoing method embodiments, which are not described herein.
Wherein the above-mentioned computer program product may be realized in particular by means of hardware, software or a combination thereof. In an alternative embodiment, the computer program product is embodied as a computer storage medium, and in another alternative embodiment, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK), or the like.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described system and apparatus may refer to corresponding procedures in the foregoing method embodiments, which are not described herein again. In the several embodiments provided in the present disclosure, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present disclosure may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer readable storage medium executable by a processor. Based on such understanding, the technical solution of the present disclosure may be embodied in essence or a part contributing to the prior art or a part of the technical solution, or in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present disclosure. The storage medium includes a U disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
It should be noted that the foregoing embodiments are merely specific implementations of the disclosure, and are not intended to limit the scope of the disclosure, and although the disclosure has been described in detail with reference to the foregoing embodiments, it should be understood by those skilled in the art that any modification, variation or substitution of some of the technical features described in the foregoing embodiments may be made or equivalents may be substituted for those within the scope of the disclosure without departing from the spirit and scope of the technical aspects of the embodiments of the disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (10)

1. A rendering display method, comprising:
Determining terrain attribute information corresponding to each sub-terrain area in a target terrain area based on terrain data determined for the target terrain area;
Generating terrain patch data for any sub-terrain area based on terrain attribute information corresponding to the sub-terrain area;
Based on the positions of the sub-terrain areas in the target terrain areas, respectively, performing splicing processing on the sub-terrain areas by utilizing the terrain patch data corresponding to the sub-terrain areas, and updating the terrain patch data corresponding to the sub-terrain areas based on the obtained splicing processing result;
and determining target terrain patch data of the target terrain area based on the updated terrain patch data corresponding to each sub-terrain area, and rendering and displaying the target terrain area based on the target terrain patch data.
2. The method of claim 1, wherein the terrain attribute information for each sub-terrain region in the target terrain region comprises information indicating a target object to be deployed in each sub-terrain region and a deployment position of the target object in the sub-terrain region;
The generating terrain patch data for any sub-terrain area based on the terrain attribute information corresponding to the sub-terrain area includes:
and generating terrain patch data for the sub-terrain area based on object patch data respectively corresponding to at least one target object to be deployed on the sub-terrain area and deployment positions respectively corresponding to the at least one target object in the sub-terrain area.
3. The method of claim 1, wherein the stitching of each sub-terrain region using the terrain patch data corresponding to each sub-terrain region based on the location of each sub-terrain region in the target terrain region, respectively, comprises:
determining a plurality of positions to be spliced corresponding to each sub-terrain area based on the positions of each sub-terrain area in the target terrain area;
And selecting a current position to be spliced from the plurality of positions to be spliced according to a preset splicing sequence, and performing splicing treatment on a first sub-terrain area and a second sub-terrain area associated with the current position to be spliced to obtain a splicing treatment result.
4. The method according to claim 3, wherein the performing the stitching on the first sub-topographic region and the second sub-topographic region associated with the current position to be stitched to obtain the stitching result includes:
Determining a first splicing boundary in the first sub-terrain area and determining a second splicing boundary in the second sub-terrain area based on the current position to be spliced;
and based on the first splicing boundary and the second splicing boundary, splicing the first sub-terrain area and the second sub-terrain area to obtain a splicing processing result.
5. The method of claim 1, wherein prior to determining target terrain patch data for the target terrain area based on updated terrain patch data for each sub-terrain area, the method further comprises:
in response to a modification operation to the terrain data, determining a first target sub-terrain area associated with the modification operation from among the sub-terrain areas, and updating terrain attribute information corresponding to the first target sub-terrain area;
And based on the position of the first target sub-terrain area in the target terrain area and the terrain patch data generated based on the updated terrain attribute information of the first target sub-terrain area, performing splicing processing on the first target sub-terrain area and sub-terrain areas adjacent to the position of the first target sub-terrain area in each sub-terrain area, and updating the terrain patch data respectively corresponding to the first target sub-terrain area and other associated sub-terrain areas.
6. The method as recited in claim 1, further comprising:
In response to an expansion operation on the target topographic region, determining a sub-topographic region to be expanded, which corresponds to the expansion operation, and determining a second target sub-topographic region adjacent to the sub-topographic region to be expanded from among the sub-topographic regions;
Generating target terrain patch data of the sub-terrain area to be expanded based on the target terrain attribute information determined for the sub-terrain area to be expanded;
Performing expansion and splicing processing on the sub-terrain area to be expanded and the second target sub-terrain area by using the target terrain patch data and the terrain patch data corresponding to the second target sub-terrain area, and updating the target terrain patch data based on the obtained expansion and splicing processing result;
Rendering and displaying the target terrain area after the expansion operation based on the updated target terrain patch data.
7. The method of claim 6, wherein the target terrain attribute information is determined for the sub-terrain area to be augmented by:
And determining the target terrain attribute information of the sub-terrain area to be expanded based on the terrain attribute information of the second target sub-terrain area.
8. A rendering display device, comprising:
The determining module is used for determining the terrain attribute information corresponding to each sub-terrain area in the target terrain area based on the terrain data determined for the target terrain area;
the generation module is used for generating terrain patch data for any sub-terrain area based on the terrain attribute information corresponding to the sub-terrain area;
The processing module is used for carrying out splicing processing on each sub-terrain area by utilizing the terrain patch data corresponding to each sub-terrain area based on the position of each sub-terrain area in the target terrain area, and updating the terrain patch data corresponding to each sub-terrain area based on the obtained splicing processing result;
the rendering module is used for determining target terrain patch data of the target terrain area based on the updated terrain patch data corresponding to each sub-terrain area respectively, and rendering and displaying the target terrain area based on the target terrain patch data.
9. A computer device comprising a processor, a memory storing machine-readable instructions executable by the processor, the processor for executing the machine-readable instructions stored in the memory, the machine-readable instructions when executed by the processor performing the steps of the rendering display method of any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored which, when being run by a computer device, performs the steps of the rendering display method according to any one of claims 1 to 7.
CN202210339757.8A 2022-04-01 2022-04-01 A rendering display method, device, computer equipment and storage medium Active CN114693858B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210339757.8A CN114693858B (en) 2022-04-01 2022-04-01 A rendering display method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210339757.8A CN114693858B (en) 2022-04-01 2022-04-01 A rendering display method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114693858A CN114693858A (en) 2022-07-01
CN114693858B true CN114693858B (en) 2025-03-14

Family

ID=82140789

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210339757.8A Active CN114693858B (en) 2022-04-01 2022-04-01 A rendering display method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114693858B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113066183A (en) * 2021-04-28 2021-07-02 腾讯科技(深圳)有限公司 Virtual scene generation method and device, computer equipment and storage medium
CN113744401A (en) * 2021-09-09 2021-12-03 网易(杭州)网络有限公司 Terrain splicing method and device, electronic equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109658365B (en) * 2017-10-11 2022-12-06 阿里巴巴(深圳)技术有限公司 Image processing method, device, system and storage medium
CN114241132B (en) * 2021-12-16 2023-07-21 北京字跳网络技术有限公司 Scene content display control method, device, computer equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113066183A (en) * 2021-04-28 2021-07-02 腾讯科技(深圳)有限公司 Virtual scene generation method and device, computer equipment and storage medium
CN113744401A (en) * 2021-09-09 2021-12-03 网易(杭州)网络有限公司 Terrain splicing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN114693858A (en) 2022-07-01

Similar Documents

Publication Publication Date Title
US8665267B2 (en) System and method for generating 3D surface patches from unconstrained 3D curves
US8659599B2 (en) System and method for generating a manifold surface for a 3D model of an object using 3D curves of the object
US20170154468A1 (en) Method and electronic apparatus for constructing virtual reality scene model
CN108765539B (en) OpenGLES-based image rendering method, device, equipment and storage medium
KR102216749B1 (en) Method, apparatus and computer program for coloring of a target image
US20130332476A1 (en) Vector road network simplification
CN114429511B (en) Fusion rendering method, apparatus, computer device and storage medium
CN111338624B (en) Data processing method and related equipment
CN113409411A (en) Rendering method and device of graphical interface, electronic equipment and storage medium
CN110428386B (en) Map grid merging method and device, storage medium and electronic device
JP5028263B2 (en) Presentation display device, computer control method and program
CN114404954A (en) A method, device, terminal and storage medium for processing a small map
CN108280135B (en) Method and device for realizing visualization of data structure and electronic equipment
CN108830779A (en) Processing method, device, electronic equipment and the storage medium of three-dimensional modeling data
CN114693858B (en) A rendering display method, device, computer equipment and storage medium
CN114445536B (en) A fast text rendering method for embedded systems
CN114565546B (en) A method, device, computer equipment and storage medium for splicing terrain areas
JP2016191999A (en) Map data processing apparatus, map data processing method, and computer program
CN115601486A (en) Virtual river generation method and device
KR20160109692A (en) Method for generation of coloring design using 3d model, recording medium and device for performing the method
CN116204183A (en) Method and device for generating data large screen, computer equipment and storage medium
CN111179383B (en) Rendering lens reorganization method and device for CG animation production
CN117290916A (en) Construction method, device, equipment and readable storage medium for pavement lap joint model
US20080165208A1 (en) 3-Dimensional graphic processing apparatus and operating method thereof
CN105938431A (en) Web page developing method and 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
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载