Building space model merging rendering method and device

By generating and merging outline models of varying sizes from three-dimensional space models, the method enhances rendering efficiency and reduces hardware demands in architectural space model rendering, addressing inefficiencies in existing methods.

CN119131216APending Publication Date: 2024-12-13BEIJING LONGZHI DIGITAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411181224.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-27
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

Existing methods for rendering architectural space models are inefficient, placing significant pressure on computer processors and requiring numerous stack calls due to rendering in units of buildings or apartment types, which leads to low efficiency and increased hardware demands.

Method used

A method involving generating first and second outline models of varying sizes based on a three-dimensional space model, merging and rendering units of a target size, and superimposing these models to create a final rendering model, thereby reducing the number of renderings needed.

Benefits of technology

Improves rendering efficiency, reduces hardware requirements, and alleviates the burden of stack calls by optimizing the rendering process through strategic model merging and superimposition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119131216A_ABST
    Figure CN119131216A_ABST
Patent Text Reader

Abstract

The invention provides an architectural space model merging rendering method and device. The method comprises the following steps: acquiring a three-dimensional space model of a target building; according to the three-dimensional space model, generating a first contour model which describes the target building and takes a target size as a unit and a second contour model which takes a preset size as a unit; performing combined rendering on each unit with the target size in the first contour model to obtain a preliminary rendering model of the target building; and superposing the preliminary rendering model and the second contour model to generate a target rendering model of the target building. By adopting the technical means, the problem of low building space model rendering efficiency in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of model rendering technology, and in particular to a method and device for merging and rendering architectural space models. Background Art

[0002] In order to enhance the display effect of the architectural space model, it is necessary to render the architectural space model according to the scene. Because the architectural space model is based on buildings or apartment types, the architectural space model is currently rendered in units of buildings or apartment types. For example, a building space model has 20 floors, and each floor has 5 apartment types. If the architectural space model is rendered in units of apartment types, it needs to be rendered 100 times, which puts a lot of pressure on the computer processor and stack calls (generally, rendering is performed through stack calls). Summary of the invention

[0003] In view of this, embodiments of the present application provide a method, device, electronic device and computer-readable storage medium for merging and rendering architectural space models to solve the problem of low efficiency in rendering architectural space models in the prior art.

[0004] In a first aspect of an embodiment of the present application, a method for merging and rendering a building space model is provided, comprising: obtaining a three-dimensional space model of a target building; generating a first outline model in units of a target size and a second outline model in units of a preset size that describe the target building based on the three-dimensional space model; merging and rendering each unit of the target size in the first outline model to obtain a preliminary rendering model of the target building; and superimposing the preliminary rendering model and the second outline model to generate a target rendering model of the target building.

[0005] According to a second aspect of an embodiment of the present application, a device for merging and rendering a building space model is provided, comprising: an acquisition module configured to acquire a three-dimensional space model of a target building; a generation module configured to generate a first outline model in units of a target size and a second outline model in units of a preset size that describe the target building based on the three-dimensional space model; a merging and rendering module configured to merge and render each unit of the target size in the first outline model to obtain a preliminary rendering model of the target building; and a superposition module configured to superimpose the preliminary rendering model and the second outline model to generate a target rendering model of the target building.

[0006] According to a third aspect of an embodiment of the present application, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.

[0007] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, which stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0008] Compared with the prior art, the embodiments of the present application have the following beneficial effects: obtaining a three-dimensional spatial model of a target building; generating a first outline model with a target size as a unit and a second outline model with a preset size as a unit to describe the target building based on the three-dimensional spatial model; merging and rendering each unit of the target size in the first outline model to obtain a preliminary rendering model of the target building; superimposing the preliminary rendering model and the second outline model to generate a target rendering model of the target building. The above technical means can solve the problem of low efficiency in rendering architectural spatial models in the prior art, thereby improving rendering efficiency, reducing hardware requirements, and alleviating the pressure of stack calls. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0010] Figure 1 It is a flowchart of a method for merging and rendering a building space model provided in an embodiment of the present application;

[0011] Figure 2 It is a flowchart of another method for merging and rendering architectural space models provided in an embodiment of the present application;

[0012] Figure 3 It is a structural schematic diagram of a combined rendering device for a building space model provided in an embodiment of the present application;

[0013] Figure 4 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0014] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0015] A method and device for merging and rendering architectural space models according to an embodiment of the present application will be described in detail below with reference to the accompanying drawings.

[0016] Figure 1 It is a flowchart of a method for merging and rendering a building space model provided in an embodiment of the present application. Figure 1 The combined rendering method of the architectural space model can be executed by a computer or a server, or software on the computer or the server. Figure 1 As shown, the combined rendering method of the architectural space model includes:

[0017] S101, obtaining a three-dimensional space model of a target building;

[0018] S102, generating a first outline model with a target size as a unit and a second outline model with a preset size as a unit to describe the target building according to the three-dimensional space model;

[0019] S103, performing merged rendering on each target-sized unit in the first outline model to obtain a preliminary rendering model of the target building;

[0020] S104, superimposing the preliminary rendering model and the second outline model to generate a target rendering model of the target building.

[0021] The three-dimensional spatial model of the target building is a model that describes the spatial structure and spatial distribution of the target building, such as how many floors the target building has, how many units on each floor, the area and shape distribution of each unit, the structural distribution within each unit, and other detailed information. The preset size is generally one floor or one unit, and the target size is multiple floors or multiple units. The first outline model describes multiple units of the target size and the area and shape distribution of each unit of the target size, and the second outline model describes multiple units of the preset size and the area and shape distribution of each unit of the preset size. The three models have information from the least to the most, namely the first outline model, the second outline model, and the three-dimensional spatial model.

[0022] The prior art uses floors or apartment types as units, and finally obtains a rendered model through multiple renderings. For example, a building space model has 20 floors, and each floor has 5 apartment types. The prior art renders the building space model according to the apartment type, which requires rendering 100 times. The embodiment of the present application merges and renders the units of each target size in the first outline model, which is equivalent to merging the units of preset sizes in each unit of the target size, and rendering all the units of preset sizes in each unit of the target size together, and the number of renderings is equal to the number of target sizes in the first outline model. The number of renderings can be reduced by adjusting the target size. In general, the target size is much larger than the preset size, so the number of renderings in the embodiment of the present application is much smaller than that in the prior art.

[0023] Because after merging and rendering each unit of the target size in the first outline model, the preliminary rendering model of the target building only has units of the target size, and the units of the preset size in the units of the target size cannot be seen, the preliminary rendering model and the second outline model are superimposed to obtain the target rendering model. The second outline model is to add the outline information of the units of the preset size to the preliminary rendering model.

[0024] According to the technical solution provided in the embodiment of the present application, a three-dimensional spatial model of a target building is obtained; a first contour model with a target size as a unit and a second contour model with a preset size as a unit are generated based on the three-dimensional spatial model to describe the target building; each unit of the target size in the first contour model is merged and rendered to obtain a preliminary rendering model of the target building; the preliminary rendering model and the second contour model are superimposed to generate a target rendering model of the target building. The above technical means can solve the problem of low efficiency in rendering architectural spatial models in the prior art, thereby improving rendering efficiency, reducing hardware requirements, and alleviating the pressure of stack calls.

[0025] Furthermore, a first outline model of the overall structure of the target building and a second outline model with a preset size as a unit are generated based on the three-dimensional space model; the first outline model is merged and rendered to obtain a preliminary rendering model of the target building; the preliminary rendering model and the second outline model are superimposed to generate a target rendering model of the target building.

[0026] If the renderings of all units of preset sizes in the final target rendering model are the same, then a first outline model of the overall structure of the target building can be generated, and the first outline model is merged and rendered as a whole to obtain a preliminary rendering model. The first outline model only has information such as the overall length, width, and height of the target building, as well as the area, shape, and distribution of the target building. The contour information is superimposed on the preliminary rendering model according to the second outline model to obtain the target rendering model.

[0027] Furthermore, before generating a first outline model in units of a target size and a second outline model in units of a preset size that describe a target building based on the three-dimensional space model, the method also includes: obtaining a rendering identifier for each unit of a preset size in the three-dimensional space model; and counting the number of adjacent units of a preset size that have the same rendering identifier to obtain the target size.

[0028] For example, in the 3D space model, Unit 1 (preset size is one unit), Unit 2, Unit 6 and Unit 7 are adjacent and have the same rendering identifier, then Unit 1, Unit 2, Unit 6 and Unit 7 can be grouped together, and the target size is 4 units. Adjacent means adjacent in six directions: up, down, left, right, front and back.

[0029] Furthermore, before generating a first outline model in units of a target size and a second outline model in units of a preset size that describe a target building based on the three-dimensional space model, the method also includes: dividing adjacent units of a preset size that have the same rendering identifier into a group to obtain a plurality of first combinations, wherein the rendering identifier of each first combination is the same as the rendering identifier of the unit of the preset size in the first combination; dividing the units of the preset size between the first combination that is smaller than a preset spacing and has the same identifier and the first combination that has the same rendering identifier into a group to obtain a plurality of second combinations, wherein the rendering identifier of each second combination is the same as the rendering identifier of the first combination in the second combination, and the number of units of the preset size in each second combination that have a different rendering identifier from the second combination is less than a preset number; and counting the number of units of the preset size in each second combination to obtain the target size.

[0030] The preset size is the apartment type. For example, apartment type 1, apartment type 2, apartment type 6, and apartment type 7 are adjacent and have the same rendering identifier (the rendering identifier is recorded as the target rendering identifier). These four apartment types are a first combination. Apartment type 4, apartment type 5, apartment type 9, and apartment type 10 are adjacent and have a target rendering identifier. These four apartment types are a first combination. Apartment types 3 and 8 are in the middle of these two first combinations, separating the two first combinations. The preset spacing is two apartment types. The spacing between these two first combinations is less than the preset spacing. Apartment types 1 to 10 can be divided into the second combination. There are 10 apartment types in the second combination, so the target size is 10 apartment types.

[0031] Furthermore, before superimposing the rendering model and the second contour model to generate a target rendering model of the target building, the method also includes: merging and rendering the units of the target size in the first contour model according to the rendering identifier of the second combination corresponding to each unit of the target size, to obtain a fuzzy rendering model of the target building; merging and rendering the units of the preset size in the fuzzy rendering model according to the rendering identifier of the unit of the preset size in the second combination corresponding to each unit of the target size that is different from the rendering identifier of the second combination, to obtain a preliminary rendering model.

[0032] If most units in an area of ​​a three-dimensional space model have the same rendering identifier, the rendering identifier is red, and only individual units have different rendering identifiers, the entire area can be rendered red, and then the individual units in the area with different rendering identifiers are rendered according to their rendering identifiers. Based on this principle, adjacent units of preset sizes with the same rendering identifier are divided into a first combination, and the units of the preset size between the first combination with the same identifier and the first combination with the same rendering identifier that are smaller than the preset spacing are divided into a second combination. The second combination is an area, and the units of the preset size between the first combination with the same rendering identifier are the individual units with different rendering identifiers in the area.

[0033] For example, apartment types 1 to 10 are a unit of a target size, and apartment types 3 and 8 are individual apartment types with different rendering identifiers in the unit of the target size. The unit of the target size may be rendered as a rendering identifier of a second combination corresponding to the unit of the target size, and then apartment types 3 and 8 may be rendered according to their rendering identifiers.

[0034] Figure 2 FIG. 1 is a flow chart of another method for merging and rendering architectural space models provided in an embodiment of the present application. Figure 2 As shown, the method includes:

[0035] Execute the following loop:

[0036] S201, performing merge rendering on the units of the i-th target size in the first contour model according to the second combined rendering identifier corresponding to the units of the i-th target size, to obtain a fuzzy rendering model corresponding to the i-th target size;

[0037] S202, merging and rendering the units of the preset size in the fuzzy rendering model corresponding to the unit of the i-th target size according to the rendering identifier of the units of the preset size in the second combination corresponding to the unit of the i-th target size that is different from the rendering identifier of the second combination, to obtain a preliminary rendering model corresponding to the unit of the i-th target size;

[0038] S203, determining whether i is equal to N, where N is the number of units of the target size in the first contour model;

[0039] S204, when i is equal to N, the preliminary rendering model corresponding to the unit of the i-th target size is used as the preliminary rendering model of the target building, and the loop is exited;

[0040] S205, when i is less than N, i is updated with the value of i plus 1, and the loop continues.

[0041] The embodiment of the present application renders the units of each target size in sequence until all the units of the target size in the first contour model are rendered, and then the loop is exited. Otherwise, the loop continues.

[0042] Superimposing the preliminary rendering model and the second outline model to generate a target rendering model of the target building includes: determining a plurality of target points from the three-dimensional space model; determining the position of each target point on the preliminary rendering model and the second outline model respectively; and superimposing the preliminary rendering model and the second outline model according to the position of each target point on the preliminary rendering model and the second outline model to generate the target rendering model.

[0043] For example, eight vertices of a three-dimensional space model cube are determined from the three-dimensional space model as target points, the positions of the eight target points are found on the preliminary rendering model and the second contour model, and the preliminary rendering model and the second contour model are superimposed according to the eight target points to obtain a target rendering model.

[0044] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.

[0045] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0046] Figure 3 It is a schematic diagram of a combined rendering device for a building space model provided in an embodiment of the present application.

[0047] like Figure 3 As shown, the combined rendering device of the building space model includes:

[0048] An acquisition module 301 is configured to acquire a three-dimensional space model of a target building;

[0049] A generating module 302 is configured to generate a first outline model with a target size as a unit and a second outline model with a preset size as a unit describing a target building according to the three-dimensional space model;

[0050] The merged rendering module 303 is configured to merge and render each unit of the target size in the first outline model to obtain a preliminary rendering model of the target building;

[0051] The superposition module 304 is configured to superimpose the preliminary rendering model and the second outline model to generate a target rendering model of the target building.

[0052] According to the technical solution provided in the embodiment of the present application, a three-dimensional spatial model of a target building is obtained; a first contour model with a target size as a unit and a second contour model with a preset size as a unit are generated based on the three-dimensional spatial model to describe the target building; each unit of the target size in the first contour model is merged and rendered to obtain a preliminary rendering model of the target building; the preliminary rendering model and the second contour model are superimposed to generate a target rendering model of the target building. The above technical means can solve the problem of low efficiency in rendering architectural spatial models in the prior art, thereby improving rendering efficiency, reducing hardware requirements, and alleviating the pressure of stack calls.

[0053] In some embodiments, the overlay module 304 is further configured to generate a first outline model of the overall structure of the target building and a second outline model with a preset size as a unit based on the three-dimensional space model; merge and render the first outline model to obtain a preliminary rendering model of the target building; and overlay the preliminary rendering model and the second outline model to generate a target rendering model of the target building.

[0054] If the renderings of all units of preset sizes in the final target rendering model are the same, then a first outline model of the overall structure of the target building can be generated, and the first outline model is merged and rendered as a whole to obtain a preliminary rendering model. The first outline model only has information such as the overall length, width, and height of the target building, as well as the area, shape, and distribution of the target building. The contour information is superimposed on the preliminary rendering model according to the second outline model to obtain the target rendering model.

[0055] In some embodiments, the generation module 302 is further configured to obtain a rendering identifier of each unit of a preset size in the three-dimensional space model; and count the number of adjacent units of the preset size having the same rendering identifier to obtain a target size.

[0056] For example, in the 3D space model, Unit 1 (preset size is one unit), Unit 2, Unit 6 and Unit 7 are adjacent and have the same rendering identifier, then Unit 1, Unit 2, Unit 6 and Unit 7 can be grouped together, and the target size is 4 units. Adjacent means adjacent in six directions: up, down, left, right, front and back.

[0057] In some embodiments, the generation module 302 is further configured to divide adjacent units of preset size with the same rendering identifier into a group to obtain multiple first combinations, wherein the rendering identifier of each first combination is the same as the rendering identifier of the unit of the preset size in the first combination; divide the units of the preset size between the first combination with the same identifier and the first combination with the same rendering identifier that are smaller than the preset spacing into a group to obtain multiple second combinations, wherein the rendering identifier of each second combination is the same as the rendering identifier of the first combination in the second combination, and the number of units of the preset size in each second combination that have a different rendering identifier from the second combination is less than a preset number; and count the number of units of the preset size in each second combination to obtain the target size.

[0058] The preset size is the apartment type. For example, apartment type 1, apartment type 2, apartment type 6, and apartment type 7 are adjacent and have the same rendering identifier (the rendering identifier is recorded as the target rendering identifier). These four apartment types are a first combination. Apartment type 4, apartment type 5, apartment type 9, and apartment type 10 are adjacent and have a target rendering identifier. These four apartment types are a first combination. Apartment types 3 and 8 are in the middle of these two first combinations, separating the two first combinations. The preset spacing is two apartment types. The spacing between these two first combinations is less than the preset spacing. Apartment types 1 to 10 can be divided into the second combination. There are 10 apartment types in the second combination, so the target size is 10 apartment types.

[0059] In some embodiments, the generation module 302 is further configured to merge and render the units of the target size in the first outline model according to the rendering identifier of the second combination corresponding to each unit of the target size, to obtain a fuzzy rendering model of the target building; and merge and render the units of the preset size in the fuzzy rendering model according to the rendering identifier of the units of the preset size in the second combination corresponding to each unit of the target size that is different from the rendering identifier of the second combination, to obtain a preliminary rendering model.

[0060] If most units in an area of ​​a three-dimensional space model have the same rendering identifier, the rendering identifier is red, and only individual units have different rendering identifiers, the entire area can be rendered red, and then the individual units in the area with different rendering identifiers are rendered according to their rendering identifiers. Based on this principle, adjacent units of preset sizes with the same rendering identifier are divided into a first combination, and the units of the preset size between the first combination with the same identifier and the first combination with the same rendering identifier that are smaller than the preset spacing are divided into a second combination. The second combination is an area, and the units of the preset size between the first combination with the same rendering identifier are the individual units with different rendering identifiers in the area.

[0061] For example, apartment types 1 to 10 are a unit of a target size, and apartment types 3 and 8 are individual apartment types with different rendering identifiers in the unit of the target size. The unit of the target size may be rendered as a rendering identifier of a second combination corresponding to the unit of the target size, and then apartment types 3 and 8 may be rendered according to their rendering identifiers.

[0062] In some embodiments, the overlay module 304 is further configured to execute the following loop: merging and rendering the units of the i-th target size in the first outline model according to the rendering identifier of the second combination corresponding to the unit of the i-th target size, to obtain a fuzzy rendering model corresponding to the i-th target size; merging and rendering the units of the preset size in the fuzzy rendering model corresponding to the unit of the i-th target size according to the rendering identifier of the units of the preset size in the second combination corresponding to the unit of the i-th target size that is different from the rendering identifier of the second combination, to obtain a preliminary rendering model corresponding to the unit of the i-th target size; determining whether i is equal to N, where N is the number of units of the target size in the first outline model; when i is equal to N, taking the preliminary rendering model corresponding to the unit of the i-th target size as the preliminary rendering model of the target building, and exiting the loop; when i is less than N, updating i with the value of i plus 1, and continuing the loop.

[0063] The embodiment of the present application renders the units of each target size in sequence until all the units of the target size in the first contour model are rendered, and then the loop is exited. Otherwise, the loop continues.

[0064] In some embodiments, the overlay module 304 is also configured to determine multiple target points from the three-dimensional space model; determine the position of each target point on the preliminary rendering model and the second contour model respectively; and overlay the preliminary rendering model and the second contour model according to the position of each target point on the preliminary rendering model and the second contour model to generate a target rendering model.

[0065] For example, eight vertices of a three-dimensional space model cube are determined from the three-dimensional space model as target points, the positions of the eight target points are found on the preliminary rendering model and the second contour model, and the preliminary rendering model and the second contour model are superimposed according to the eight target points to obtain a target rendering model.

[0066] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0067] Figure 4 Schematic diagram of an electronic device 4 provided in an embodiment of the present application. Figure 4 As shown, the electronic device 4 of this embodiment includes: a processor 401, a memory 402, and a computer program 403 stored in the memory 402 and executable on the processor 401. When the processor 401 executes the computer program 403, the steps in the above-mentioned method embodiments are implemented. Alternatively, when the processor 401 executes the computer program 403, the functions of the modules / units in the above-mentioned device embodiments are implemented.

[0068] The electronic device 4 may be a desktop computer, a notebook, a PDA, a cloud server, or other electronic device. The electronic device 4 may include, but is not limited to, a processor 401 and a memory 402. Those skilled in the art will appreciate that Figure 4 The electronic device 4 is merely an example and does not limit the electronic device 4 , and may include more or less components than those shown in the figure, or different components.

[0069] The processor 401 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.

[0070] The memory 402 may be an internal storage unit of the electronic device 4, for example, a hard disk or memory of the electronic device 4. The memory 402 may also be an external storage device of the electronic device 4, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 4. The memory 402 may also include both an internal storage unit and an external storage device of the electronic device 4. The memory 402 is used to store computer programs and other programs and data required by the electronic device.

[0071] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units.

[0072] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. The computer program may include computer program code, and the computer program code may be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electric carrier signals and telecommunication signals.

[0073] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical feature diagrams therein. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A combined rendering method for architectural space models, It is characterized in that include: Obtain a three-dimensional spatial model of the target building; Generating a first outline model with a target size as a unit and a second outline model with a preset size as a unit to describe the target building according to the three-dimensional space model; Merging and rendering each target-sized unit in the first outline model to obtain a preliminary rendering model of the target building; The preliminary rendering model and the second outline model are superimposed to generate a target rendering model of the target building.

2. The method according to claim 1, It is characterized in that The method further comprises: Generate a first outline model of the overall structure of the target building and a second outline model in units of a preset size according to the three-dimensional space model; Performing merged rendering on the first outline models to obtain a preliminary rendering model of the target building; The preliminary rendering model and the second outline model are superimposed to generate a target rendering model of the target building.

3. The method according to claim 1, It is characterized in that Before generating a first outline model in units of a target size and a second outline model in units of a preset size that describe the target building according to the three-dimensional space model, the method further includes: Obtaining a rendering identifier of each unit of a preset size in the three-dimensional space model; The number of adjacent units of a preset size having the same rendering identifier is counted to obtain the target size.

4. The method according to claim 1, It is characterized in that Before generating a first outline model in units of a target size and a second outline model in units of a preset size that describe the target building according to the three-dimensional space model, the method further includes: Dividing adjacent units of preset size having the same rendering identifier into a group to obtain a plurality of first combinations, wherein the rendering identifier of each first combination is the same as the rendering identifier of the unit of preset size in the first combination; The units of a preset size between the first combination having the same identifier and the first combination having the same rendering identifier and being smaller than the preset spacing are divided into a group to obtain a plurality of second combinations, wherein the rendering identifier of each second combination is the same as the rendering identifier of the first combination in the second combination, and the number of units of the preset size in each second combination having a different rendering identifier from the second combination is less than the preset number; The number of units of preset sizes in each second combination is counted to obtain the target size.

5. The method according to claim 4, It is characterized in that Before superimposing the rendering model and the second outline model to generate a target rendering model of the target building, the method further includes: Merging and rendering the units of the target size in the first outline model according to the second combined rendering identifier corresponding to each unit of the target size, to obtain a fuzzy rendering model of the target building; The units of the preset size in the fuzzy rendering model are merged and rendered according to the rendering identifiers of the units of the preset size in the second combination corresponding to each unit of the target size and different from the rendering identifier of the second combination, so as to obtain the preliminary rendering model.

6. The method according to claim 5, It is characterized in that The method further comprises: Execute the following loop: The units of the i-th target size in the first contour model are merged and rendered according to the second combined rendering identifier corresponding to the units of the i-th target size, so as to obtain a fuzzy rendering model corresponding to the i-th target size; According to the rendering identifier of the preset-size unit in the second combination corresponding to the unit of the i-th target size and different from the rendering identifier of the second combination, the unit of the preset-size in the fuzzy rendering model corresponding to the unit of the i-th target size is merged and rendered to obtain a preliminary rendering model corresponding to the unit of the i-th target size; Determine whether i is equal to N, where N is the number of units of the target size in the first contour model; When i is equal to N, the preliminary rendering model corresponding to the unit of the i-th target size is used as the preliminary rendering model of the target building, and the loop is exited; When i is less than N, i is updated with a value equal to i plus 1, and the loop continues.

7. The method according to claim 1, It is characterized in that Superimposing the preliminary rendering model and the second outline model to generate a target rendering model of the target building includes: Determining a plurality of target points from the three-dimensional space model; Determine the position of each target point on the preliminary rendering model and the second contour model respectively; According to the positions of each target point on the preliminary rendering model and the second contour model, the preliminary rendering model and the second contour model are superimposed to generate the target rendering model.

8. A combined rendering device for a building space model, It is characterized in that include: An acquisition module is configured to acquire a three-dimensional spatial model of a target building; A generating module, configured to generate a first outline model with a target size as a unit and a second outline model with a preset size as a unit describing the target building according to the three-dimensional space model; A merging and rendering module is configured to merge and render each target-sized unit in the first outline model to obtain a preliminary rendering model of the target building; The superposition module is configured to superimpose the preliminary rendering model and the second outline model to generate a target rendering model of the target building.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium storing a computer program. It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.