Roof model generation method and device and storage medium

By generating the initial roof model and adjusting it according to the control parameters, the problem of inefficient production of traditional roof models is solved, and fast and flexible roof model generation is achieved to meet the high-intensity and fast-paced production needs.

CN119903586AActive Publication Date: 2025-04-29YOUKU CULTURE TECH (BEIJING) CO LTD

Patent Information

Application Number
CN202510081986.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-17
Publication Date
2025-04-29
Estimated Expiration
2045-01-17

AI Technical Summary

Technical Problem

The traditional roof model production method relies on manual operation and is inefficient, especially when large-scale production or frequent modifications are required, resulting in extended project cycles and difficult to meet high-intensity and fast-paced production needs.

Method used

By obtaining the target roof type, an initial roof model is generated, and in response to the configuration operation of the control parameters, the initial roof model is adjusted to generate the target roof model. Control parameters are used to determine the geometry and/or appearance of the roof.

Benefits of technology

It realizes the rapid generation of roof models that meet the needs, improves the efficiency of roof models production and scene construction, and can quickly respond to creative feedback or customer modification suggestions to meet high-intensity and fast-paced production needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119903586A_ABST
    Figure CN119903586A_ABST
Patent Text Reader

Abstract

The invention relates to a roof model generation method and device and a storage medium. The method comprises the steps of obtaining a target roof type; generating an initial roof model based on the target roof type; and in response to a configuration operation on control parameters, adjusting the initial roof model to generate a target roof model, the control parameters being used to determine the geometry and / or appearance of the roof. According to the embodiment of the invention, the roof model meeting the requirements can be quickly generated through the control parameters, and the manufacturing and scene building efficiency of the roof model is improved. Moreover, creative feedback or customer modification suggestions can be quickly responded, the roof model can be adjusted in a more targeted manner, and the high-strength and fast-pace manufacturing requirements are met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of artificial intelligence technology, and in particular to a roof model generation method, device and storage medium. Background Art

[0002] In games, animation, film and television works, ancient architectural scenes are often important visual elements, and the production of roofs is one of the most time-consuming and complex parts of ancient architectural modeling. At present, the traditional method of making roof models mainly relies on the manual operation of 3D modelers, and all details need to be modeled one by one. This method is not only time-consuming, it usually takes 1 to 2 weeks to make a complete roof model, and when faced with the need to modify the shape or structure, it takes several days or even longer to adjust.

[0003] This manual production method is inefficient, especially in scenes that require mass production or frequent modifications. For example, in a large ancient building complex in a film or TV series, dozens or even hundreds of roofs of different styles may be required, and relying on manual modeling will significantly extend the project cycle. On the other hand, the ability to quickly respond to creative feedback or customer modification suggestions is also limited, and it is often difficult to meet the needs of high-intensity, fast-paced productions. Therefore, how to improve the efficiency of roof model generation has become an urgent problem that needs to be solved. Summary of the invention

[0004] In view of this, the present disclosure proposes a roof model generation method, device and storage medium.

[0005] According to one aspect of the present disclosure, a method for generating a roof model is provided. The method comprises:

[0006] Get the target roof type;

[0007] Generate an initial roof model based on the target roof type;

[0008] In response to the configuration operation of the control parameters, the initial roof model is adjusted to generate a target roof model, and the control parameters are used to determine the geometric structure and / or appearance of the roof.

[0009] In a possible implementation, the control parameters include parameters for controlling the geometric structure of the roof, and in response to a configuration operation on the control parameters, the initial roof model is adjusted to generate a target roof model, including:

[0010] In response to the configuration operation on the parameters controlling the roof geometry, adjusting the geometry of the initial roof model to generate a target roof model;

[0011] Among them, the parameters controlling the roof geometry are associated with the target roof type.

[0012] In a possible implementation, the target roof type is any one of a hard-roofed roof, a gabled roof, a hip roof, a hip roof, a pointed roof, and a double-eave roof, and the parameters controlling the geometric structure of the roof include any one or more of a length, a width, a height, a slope, a ridge shape, and a warp shape;

[0013] In response to the target roof type being a gable roof or a double eave roof, the parameters controlling the roof geometry structure further include a ridge curvature;

[0014] In response to the target roof type being a gable roof, the parameters controlling the roof geometry structure further include a ridge curvature and / or a side eave length;

[0015] In response to the target roof type being a peaked roof, the parameters controlling the geometric structure of the roof further include any one or more of a radius and the number of sides;

[0016] In response to the target roof type being a hip roof, the parameters controlling the roof geometry further include a ridge length ratio and / or a ridge curvature;

[0017] In response to the target roof type being a hip roof, the parameters controlling the geometric structure of the roof further include any one or more of a hip roof height, a hip roof angle, and an eaves slope curve.

[0018] In a possible implementation manner, any one or more of the length, width, radius, and bottom surface shape of the initial roof model is determined based on the main structural information of the building.

[0019] In a possible implementation, the control parameters include parameters for controlling the tile shape, and in response to a configuration operation on the control parameters, the initial roof model is adjusted to generate a target roof model, including:

[0020] In response to the configuration operation of the parameters controlling the tile morphology, the tile morphology on the initial roof model is adjusted to generate a target roof model;

[0021] The parameters controlling the tile shape include any one or more of the tile size, tile spacing, and tile style.

[0022] In a possible implementation, the control parameters include parameters for controlling the decorative components, and in response to a configuration operation on the control parameters, the initial roof model is adjusted to generate a target roof model, including:

[0023] In response to the configuration operation of the parameters controlling the decorative components, the corresponding decorative components are placed at preset positions on the initial roof model, or the shapes of the corresponding decorative components on the initial roof model are adjusted to generate a target roof model;

[0024] The preset position is associated with the target roof type, and the decorative components include any one or more of a ridge, a ridge ornament, and a pediment.

[0025] In a possible implementation, the control parameters include parameters for controlling the roof damage morphology. In response to the configuration operation of the control parameters, the initial roof model is adjusted to generate the target roof model, including:

[0026] In response to the configuration operation of the parameters controlling the roof damage morphology, adjusting the damage morphology on the initial roof model to generate a target roof model;

[0027] The parameters controlling the roof damage morphology include parameters controlling the roof hole morphology and / or parameters controlling the roof deformation morphology.

[0028] In a possible implementation, the control parameters include parameters for controlling the bottom surface style of the roof. In response to the configuration operation of the control parameters, the initial roof model is adjusted to generate the target roof model, including:

[0029] In response to the configuration operation of the parameters controlling the bottom surface style of the roof, adjusting the bottom surface style of the initial roof model to generate a target roof model;

[0030] The parameters controlling the bottom surface style of the roof include any one or more of parameters related to the bottom surface shape, parameters related to the fascia board, parameters related to the rafters, and parameters related to the overhanging eaves beam.

[0031] According to another aspect of the present disclosure, a roof model generation device is provided. The device comprises:

[0032] An acquisition module, used to acquire the target roof type;

[0033] A first generation module is used to generate an initial roof model based on a target roof type;

[0034] The second generation module is used to adjust the initial roof model in response to the configuration operation of the control parameters to generate a target roof model, and the control parameters are used to determine the geometric structure and / or appearance of the roof.

[0035] In a possible implementation, the control parameters include parameters for controlling the geometric structure of the roof, and the second generation module is used to:

[0036] In response to the configuration operation on the parameters controlling the roof geometry, adjusting the geometry of the initial roof model to generate a target roof model;

[0037] Among them, the parameters controlling the roof geometry are associated with the target roof type.

[0038] In a possible implementation, the target roof type is any one of a hard-roofed roof, a gabled roof, a hip roof, a hip roof, a pointed roof, and a double-eave roof, and the parameters controlling the geometric structure of the roof include any one or more of a length, a width, a height, a slope, a ridge shape, and a warp shape;

[0039] In response to the target roof type being a gable roof or a double eave roof, the parameters controlling the roof geometry structure further include a ridge curvature;

[0040] In response to the target roof type being a gable roof, the parameters controlling the roof geometry structure further include a ridge curvature and / or a side eave length;

[0041] In response to the target roof type being a peaked roof, the parameters controlling the geometric structure of the roof further include any one or more of a radius and the number of sides;

[0042] In response to the target roof type being a hip roof, the parameters controlling the roof geometry further include a ridge length ratio and / or a ridge curvature;

[0043] In response to the target roof type being a hip roof, the parameters controlling the geometric structure of the roof further include any one or more of a hip roof height, a hip roof angle, and an eaves slope curve.

[0044] In a possible implementation manner, any one or more of the length, width, radius, and bottom surface shape of the initial roof model is determined based on the main structural information of the building.

[0045] In a possible implementation, the control parameter includes a parameter for controlling the tile morphology, and the second generating module is configured to:

[0046] In response to the configuration operation of the parameters controlling the tile morphology, the tile morphology on the initial roof model is adjusted to generate a target roof model;

[0047] The parameters controlling the tile shape include any one or more of the tile size, tile spacing, and tile style.

[0048] In a possible implementation, the control parameters include a second parameter generation module for controlling the decorative component, which is used to:

[0049] In response to the configuration operation of the parameters controlling the decorative components, the corresponding decorative components are placed at preset positions on the initial roof model, or the shapes of the corresponding decorative components on the initial roof model are adjusted to generate a target roof model;

[0050] The preset position is associated with the target roof type, and the decorative components include any one or more of a ridge, a ridge ornament, and a pediment.

[0051] In a possible implementation, the control parameters include parameters for controlling the roof damage morphology, and the second generation module is used to:

[0052] In response to the configuration operation of the parameters controlling the roof damage morphology, adjusting the damage morphology on the initial roof model to generate a target roof model;

[0053] The parameters controlling the roof damage morphology include parameters controlling the roof hole morphology and / or parameters controlling the roof deformation morphology.

[0054] In a possible implementation, the control parameters include parameters for controlling the bottom surface style of the roof, and the second generating module is used to:

[0055] In response to the configuration operation of the parameters controlling the bottom surface style of the roof, adjusting the bottom surface style of the initial roof model to generate a target roof model;

[0056] The parameters controlling the bottom surface style of the roof include any one or more of parameters related to the bottom surface shape, parameters related to the fascia board, parameters related to the rafters, and parameters related to the overhanging eaves beam.

[0057] According to another aspect of the present disclosure, a roof model generating device is provided, comprising: a processor; a memory for storing processor executable instructions; wherein the processor is configured to implement the above method when executing the instructions stored in the memory.

[0058] According to another aspect of the present disclosure, a non-volatile computer-readable storage medium is provided, on which computer program instructions are stored, wherein the computer program instructions implement the above method when executed by a processor.

[0059] According to another aspect of the present disclosure, a computer program product is provided, including a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes the above method.

[0060] According to the disclosed embodiment, by acquiring the target roof type, an initial roof model is generated based on the target roof type; in response to the configuration operation of the control parameters, the initial roof model is adjusted to generate the target roof model, so that a roof model that meets the requirements can be quickly generated through the control parameters, thereby improving the efficiency of roof model production and scene building. Among them, the control parameters are used to determine the geometric structure and / or appearance of the roof, so that creative feedback or customer modification suggestions can be quickly responded to, and the roof model can be adjusted more specifically to meet the high-intensity, fast-paced production requirements.

[0061] Further features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the disclosure and, together with the description, serve to explain the principles of the disclosure.

[0063] Figure 1 A schematic diagram showing an application scenario according to an embodiment of the present disclosure.

[0064] Figure 2 A flowchart of a method for generating a roof model according to an embodiment of the present disclosure is shown.

[0065] Figure 3 A schematic diagram showing an initial roof model according to an embodiment of the present disclosure.

[0066] Figure 4 A schematic diagram showing the tile morphology according to an embodiment of the present disclosure.

[0067] Figure 5 A schematic diagram showing a target roof model according to an embodiment of the present disclosure.

[0068] Figure 6 A structural diagram of a roof model generating device according to an embodiment of the present disclosure is shown.

[0069] Figure 7 It is a block diagram of a device 1900 for generating a roof model according to an exemplary embodiment. DETAILED DESCRIPTION

[0070] Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.

[0071] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.

[0072] In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present disclosure can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present disclosure.

[0073] In games, animation, film and television works, ancient architectural scenes are often important visual elements, and the production of roofs is one of the most time-consuming and complex parts of ancient architectural modeling. At present, the traditional method of making roof models mainly relies on the manual operation of 3D modelers, and all details need to be modeled one by one. This method is not only time-consuming, it usually takes 1 to 2 weeks to make a complete roof model, and when faced with the need to modify the shape or structure, it takes several days or even longer to adjust.

[0074] This manual production method is inefficient, especially in scenes that require mass production or frequent modifications. For example, in a large ancient building complex in a film or TV series, dozens or even hundreds of roofs of different styles may be required, and relying on manual modeling will significantly extend the project cycle. On the other hand, the ability to quickly respond to creative feedback or customer modification suggestions is also limited, and it is often difficult to meet the needs of high-intensity, fast-paced productions. Therefore, how to improve the efficiency of roof model generation has become an urgent problem that needs to be solved.

[0075] In view of this, the present disclosure provides a method, device and storage medium for generating a roof model. The method of the embodiment of the present disclosure obtains a target roof type and generates an initial roof model based on the target roof type; in response to the configuration operation of the control parameters, the initial roof model is adjusted to generate a target roof model, so that a roof model that meets the requirements can be quickly generated through the control parameters, thereby improving the efficiency of roof model production and scene building. Among them, the control parameters are used to determine the geometric structure and / or appearance of the roof, so that creative feedback or customer modification suggestions can be quickly responded to, and the roof model can be adjusted more specifically to meet the high-intensity, fast-paced production requirements.

[0076] Figure 1 The schematic diagram of the application scenario according to the embodiment of the present disclosure is shown. The roof model generation system of the embodiment of the present disclosure can be widely used in various scenes that require the production of ancient buildings, such as games, animation, and film and television. Figure 1 As shown, in a possible application scenario, the roof model generation system of the embodiment of the present disclosure can be constructed as a roof procedural content generation (PCG) tool based on any 3D computer graphics software (such as Houdini, etc.). The roof model generation system of the embodiment of the present disclosure can not only be applied to any 3D computer graphics software, but also can be extended to engine software (such as Unreal Engine, etc.) as a plug-in provided by the corresponding 3D computer graphics software, thereby efficiently realizing the automated construction of the roof model of the ancient building.

[0077] The roof model generation system of the disclosed embodiment can first generate an initial roof model based on the roof type configured by the user, and the user can configure control parameters on the initial roof model. The roof model generation system can adjust the generated initial roof model based on the control parameters configured by the user to obtain a target roof model. The target roof model can be coordinated with models of other building main structures to obtain a complete ancient building model, which can be applied to production scenes of games, animations, films and television works.

[0078] The roof model generation system of the disclosed embodiment can be used for a terminal device or a server, and the terminal device can be any one or more of a mobile phone, a foldable electronic device, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, and a vehicle-mounted device. The disclosed embodiment does not impose any special restrictions on the specific type of the terminal device, and it can have a wired or wireless communication function. The server can be located locally or in the cloud, and can be a physical device or a virtual device, such as a virtual machine, a container, etc., with a wireless communication function, wherein the wireless communication function can be set in the chip (system) or other parts or components of the server. The wireless communication function can be realized, for example, by mobile communication technologies such as 2G / 3G / 4G / 5G, as well as Wi-Fi, Bluetooth, frequency modulation (FM), digital radio, satellite communication, etc. Communication can also be carried out by wired connection to achieve interaction with other devices.

[0079] Figure 2 FIG. 1 is a flow chart showing a method for generating a roof model according to an embodiment of the present disclosure. The method can be used in the above-mentioned roof model generating system, such as Figure 2 As shown, the method may include:

[0080] Step S201, obtaining the target roof type.

[0081] The roof in the disclosed embodiment may be a roof related to ancient buildings, and the roof type may be a roof of common styles in ancient buildings, such as hard roof, gable roof, hip roof, hip roof, pointed roof, double eaves, etc. The roof type may also be further subdivided, for example, the "hip roof" type may be further subdivided into "ordinary hip roof" and "cross hip roof", and the "pointed roof" type may be further subdivided into "round pointed roof", "polygonal pointed roof", etc. In the disclosed embodiment, the division granularity of the roof type may be set as needed to meet the modeling requirements of different scenarios.

[0082] Different roof types may be associated with specific roof geometry parameters and appearance parameters (collectively referred to as control parameters). The geometry parameters may include, for example, the length, width, bottom shape, etc. of the roof. The appearance parameters may include, for example, the tile form, decorative components, damage form, bottom style, etc. Different roof types may include different combinations of geometry parameters and / or appearance parameters, and the geometry parameters and appearance parameters of different roof types may be set to different values.

[0083] The roof type can also be a roof with other geometric structures and appearances that are different from the common styles of ancient buildings, which can be set as needed. For example, the user can pre-configure the values ​​of the control parameters as needed to obtain a set of control parameter combinations, and define it as a new roof type to expand to non-traditional styles or creatively designed architectural scenes. For example, corresponding to 100 different control parameters, the user can choose to configure 20 of the control parameters as specific values ​​and the remaining 80 control parameters as default values ​​to obtain a new set of 100 control parameter combinations and define it as a new roof type.

[0084] The target roof type may be any of the above-mentioned roof types, such as any of the hard-roofed roof, the gabled roof, the hip roof, the hip roof, the peaked roof, the double-eaved roof, or other customized roof types. The target roof type may be selected by the user and configured to the roof model generation system of the embodiment of the present disclosure. For example, the user may select the target roof type through the system interface, or determine the target roof type and configure the roof model generation system in the form of a configuration file.

[0085] Step S202: Generate an initial roof model based on the target roof type.

[0086] The initial roof model can represent a basic roof model, and can be subsequently adjusted on the basis of the initial roof model to adapt to different scene requirements. The roof model in the embodiment of the present disclosure can be a three-dimensional model. Among them, the geometry and appearance of the initial roof model can be determined based on the target roof type, and the geometry and appearance of the initial roof model can be set to parameter values ​​corresponding to the target roof type. The parameter values ​​are initial values ​​that have not been adjusted. The initial values ​​can be pre-set by the user or automatically set by the system. For the initial roof models corresponding to different roof types, there may be some identical default values ​​in their control parameters, or there may be different parameter values.

[0087] For example, in the default settings of the parameters corresponding to the roof type, the appearance parameters such as the tile shape can be kept consistent between different roof types to ensure the uniformity of the basic style of the generated initial roof model. However, the geometric structural parameters closely related to the roof shape (such as the length, width, height, radius, etc. of the roof) may use different values ​​for different roof types to accurately reflect the unique structural characteristics of each type of roof in the generated initial roof model.

[0088] Figure 3 FIG. 2 shows a schematic diagram of an initial roof model according to an embodiment of the present disclosure. Figure 3 As shown, in the order from left to right and from top to bottom, the six parts of the pictures correspond to (1) the initial roof model corresponding to the gable roof type; (2) the initial roof model corresponding to the hip roof type; (3) the initial roof model corresponding to the hip roof type; (4) the initial roof model corresponding to the polygonal roof type; (5) the initial roof model corresponding to the double-eaved roof type; (6) the initial roof model corresponding to the circular roof type. It can be seen from the figure that the initial roof models corresponding to different roof types have their own unique geometric structure / appearance characteristics. For example, taking the geometric structure parameters as an example, for the initial roof models in (1), (2), (3), and (5), different parameters such as length and width can be set based on the roof type, and the radius can be set to the default value; for the initial roof models in (4) and (6), different parameters such as radius can be set based on the roof type, and the length and width can be set to the default value.

[0089] In the embodiment of the present disclosure, any one or more of the length, width, radius and bottom surface shape of the initial roof model may also be determined based on the main structural information of the building.

[0090] In this way, relevant parameter values ​​can be determined dynamically and adaptively, making the process of roof model generation more flexible and convenient, and obtaining a roof model that meets actual modeling needs.

[0091] The main building structure information may be structural parameter values ​​such as the length, width, and radius of the facade. The facade may represent the top outline or plane shape of the main building directly connected to the roof. The main building structure information may be configured by the user or obtained based on a generated model related to the main building directly connected to the roof. For example, for a quadrilateral facade, the length and width of the roof model may be determined based on the length and width of the facade, respectively; for a circular facade, the radius of the roof model may be determined based on the radius of the facade; and the bottom surface shape of the initial roof model may also be made consistent with the facade shape of the main building.

[0092] Step S203: In response to the configuration operation of the control parameters, the initial roof model is adjusted to generate a target roof model.

[0093] According to the disclosed embodiment, by acquiring the target roof type, an initial roof model is generated based on the target roof type; in response to the configuration operation of the control parameters, the initial roof model is adjusted to generate the target roof model, so that a roof model that meets the requirements can be quickly generated through the control parameters, thereby improving the efficiency of roof model production and scene building. Among them, the control parameters are used to determine the geometric structure and / or appearance of the roof, so that creative feedback or customer modification suggestions can be quickly responded to, and the roof model can be adjusted more specifically to meet the high-intensity, fast-paced production requirements.

[0094] The control parameters can be used to determine the geometry and / or appearance of the roof. The three-dimensional form of the roof can be adjusted by the control parameters used to determine the geometry of the roof. The material, texture and other details of the roof can be adjusted by the control parameters used to determine the appearance of the roof.

[0095] For an initial roof model determined based on the target roof type, the corresponding control parameters have preset values ​​(or called initial values), such as Figure 3 The initial roof model shown has its control parameters such as length, width, height, and radius set to preset values. The user can configure the control parameters on this basis to adjust the values ​​of the control parameters, and adjust the geometric structure and / or appearance of the initial roof model based on the adjusted values ​​of the control parameters to generate a target roof model.

[0096] The embodiments of the present disclosure do not limit the manner of performing configuration operations. For example, a user may input the value of one or more control parameters on a system interface, thereby adjusting the corresponding geometry and / or appearance of the initial roof model based on the values ​​input by the user. For another example, a configuration document may be obtained, and one or more corresponding control parameters may be adjusted based on the parameter values ​​in the configuration document, and the corresponding geometry and / or appearance of the initial roof model may be adjusted based on the adjusted control parameter values.

[0097] The control parameters may include parameters for controlling the geometry of the roof, and the parameters for controlling the geometry of the roof may include any one or more of the length, width, height, slope, ridge shape, and angle shape. The slope may include a slope curve / curvature. The ridge may include a ridge and an eave, and the ridge shape may include a ridge curvature, an eave curvature, a ridge shape curve, a ridge shape curve, a weight transition curve (indicating a shape change from the ridge to the eave), etc. The angle shape may represent the shape of the corner of the roof eave, and may include, for example, an angle rise degree, an angle stretch degree, an angle smoothness, a smoothing range, a smoothing transition range, an angle rise curve, an angle stretch curve, etc.

[0098] The parameters controlling the roof geometry structure are associated with the target roof type, and the parameters of the roof geometry structure included in different roof types may be completely or partially different.

[0099] In this way, the geometric structure of the roof can be controlled and adjusted more finely for different roof types, making the generated roof model more realistic and in line with actual and scene requirements.

[0100] Among them, in response to the target roof type being a gable roof or a double-eaved roof, the parameters controlling the roof geometry may also include the ridge radian, which may be used to control the curvature of the roof ridge line; in response to the target roof type being a gable roof, the parameters controlling the roof geometry may also include the ridge radian and / or the side eaves length, which may be used to control the extension of the eaves; in response to the target roof type being a spire roof, the parameters controlling the roof geometry may also include any one or more of the radius and the number of sides, wherein the number of sides may be used to control the polygonal structure of the roof, such as a triangle, a quadrilateral or a polygon with more sides; in response to the target roof type being a hip roof, the parameters controlling the roof geometry may also include the ridge length ratio and / or the ridge radian, and the ridge ratio length may be used to control the length ratio between the ridge and the bottom edge of the eaves; in response to the target roof type being a hip roof, the parameters controlling the roof geometry may also include any one or more of the hip roof height, the hip roof angle, and the eaves slope curve, wherein the hip roof angle may be used to control the angle between the hip roof slope and the ground, and the eaves slope curve may be used to control the contour curve of the lower edge of the roof in the hip roof.

[0101] In step S203, you can:

[0102] In response to the configuration operations on the parameters controlling the roof geometry, the geometry of the initial roof model is adjusted to generate a target roof model.

[0103] In this way, fine-tuning of the roof geometry can be achieved, making the generated target roof model more realistic and in line with scene requirements.

[0104] Part or all of the roof geometry parameters may be configured, that is, the values ​​of part or all of the roof geometry parameters may be adjusted, and the geometry in the initial roof model may be changed accordingly based on the adjusted parameter values.

[0105] For example, the user can enter a new roof length value in the system interface, and change the roof length value from 10 meters to 15 meters. In the process of adjustment, the system of the embodiment of the present disclosure can receive the parameter value input by the user through the interface or parameterization module, and modify the geometric structure and related parameters of the initial roof model according to the new parameter value. For example, the updated length will cause the supporting structure of the roof (such as the ridge, etc.) to stretch to the new length. Other parameters associated with the modified parameters can also be automatically and adaptively adjusted, such as adjusting the arrangement position and number of tiles accordingly, so as to obtain a modified roof model, and further, a target roof model can be obtained based on the modified roof model.

[0106] The control parameters may also include parameters for controlling the morphology of tiles, wherein the parameters for controlling the morphology of tiles may include any one or more of the size of tiles, the spacing of tiles, and the style of tiles. The size of tiles may represent the length, width, or diameter of each tile. The spacing of tiles may be used to control the spacing between adjacent tiles, such as column spacing, row spacing, etc. The style of tiles may be used to control the shape and surface texture of tiles, and the shapes may include flat tiles, tubular tiles, drip tiles, etc. The style of tiles may also include the color of tiles. It may also be possible to select whether to turn on the tile damage effect in the tile style and preset the appearance ratio of incomplete tiles, the appearance ratio of broken tiles, the tile distortion strength and frequency, etc., or display special texture effects on tiles (such as tiles along the ridge displaying moss effects, etc.). Figure 4 FIG. 1 is a schematic diagram showing a tile form according to an embodiment of the present disclosure. Figure 4 As shown, six different tile forms are shown from left to right and from top to bottom.

[0107] In step S203, you can:

[0108] In response to the configuration operation on the parameters controlling the tile morphology, the tile morphology on the initial roof model is adjusted to generate a target roof model.

[0109] In this way, the tile shape of the roof can be finely adjusted, making the generated target roof model more realistic.

[0110] Part or all of the parameters controlling the tile morphology may be configured, that is, the values ​​of part or all of the parameters controlling the tile morphology may be adjusted, and the tile morphology in the initial roof model may be changed accordingly based on the adjusted parameter values. The user may change part or all of the parameters controlling the tile morphology by inputting parameter values ​​in the system interface, and may also adjust part or all of the parameters controlling the tile morphology through configuration files and the like. In the disclosed embodiment, one or more combinations of parameters controlling the tile morphology may also be pre-configured, and the user may quickly adjust the tile morphology by selecting any combination of parameters in the system interface.

[0111] For example, the user can choose to turn on the tile damage effect and preset the appearance ratio of the defective tiles in the system interface to configure the parameters controlling the tile shape. During the adjustment process, the system of the embodiment of the present disclosure can receive the parameter value input by the user through the interface or parameterization module, and modify the tile shape of the initial roof model according to the new parameter value. For example, according to the preset appearance ratio of the defective tiles, the defective tiles are displayed on the initial roof model according to the preset ratio, thereby obtaining the modified roof model, and further, the target roof model can be obtained based on the modified roof model.

[0112] The control parameters may also include parameters for controlling the decorative components, and may include parameters for controlling the shape, quantity, position, etc. of the decorative components. The decorative components may include any one or more of ridges, ridge ornaments, and pediments. The decorative components may be associated with the target roof type. For example, the ridge may include a vertical ridge, a wide ridge, a ridge with a concave corner, etc. For a hip roof, it may also include a ridge with a ridge, and for a double-eaved roof, it may also include a surrounding ridge, a corner kiss, etc. Ridge ornaments may include a ridge with a ridge, a vertical beast, a flying eaves, a top of a building, a pagoda, etc.

[0113] In the disclosed embodiment, other types of decorative components may also be pre-configured, for example, decorative components of special styles that may be pre-modeled to be added to the above-mentioned decorative components.

[0114] In step S203, you can:

[0115] In response to the configuration operation of the parameters controlling the decorative components, the corresponding decorative components are placed at preset positions on the initial roof model, or the shapes of the corresponding decorative components on the initial roof model are adjusted to generate the target roof model.

[0116] In this way, the appearance of the roof model can be further improved, and a more refined roof model that meets the scene requirements can be obtained.

[0117] The preset position may be a default value or may be obtained according to parameter configuration of controlling the decorative component.

[0118] For example, the configuration operation of the parameters controlling the decorative components may be to turn on additional pediments. According to the configuration operation, additional pediments may be added and displayed at a preset position of the initial roof model to obtain a modified roof model. Further, the target roof model may be obtained based on the modified roof model.

[0119] For another example, the configuration operation of the parameters controlling the decorative components may be to scale the roof to 1.5 times. According to the configuration operation, the roof in the initial roof model may be scaled to 1.5 times to obtain a modified roof model. Further, the target roof model may be obtained based on the modified roof model.

[0120] The control parameters may also include parameters for controlling the damaged form of the roof, and the parameters for controlling the damaged form of the roof may include parameters for controlling the form of the hole on the roof and / or parameters for controlling the deformation form of the roof. The parameters for controlling the form of the hole on the roof may include parameters for enabling the hole function, parameters for controlling the shape of the hole, parameters for controlling the noise at the edge of the hole (including noise amplitude and size, used to define the strength of the irregular fluctuations at the edge of the hole and the density of the edge details), parameters for controlling the collapse form around the hole, etc. The parameters for controlling the deformation form of the roof may include parameters for enabling the deformation function, parameters for controlling the deformation strength, parameters for controlling the size of the deformation noise (indicating whether the deformation effect is local deformation or overall deformation), parameters for controlling the size scaling of the deformation noise (indicating whether the deformation effect is smoother and more uniform), etc.

[0121] In step S203, you can:

[0122] In response to the configuration operation of the parameters controlling the roof damage morphology, the damage morphology on the initial roof model is adjusted to generate a target roof model.

[0123] Therefore, the damaged shape of the roof model can be flexibly adjusted to meet diverse needs, and the expressiveness of the model can be further enhanced based on refined parameters.

[0124] For example, the configuration operation of the parameters controlling the decorative parts can be to turn on the hole function and control the hole shape to the configured shape, display the hole effect at a preset position of the roof of the initial roof model (such as the default position or the configured position), and the hole is displayed in the configured shape.

[0125] For another example, the configuration operation of the parameters controlling the decorative components may be to turn on the deformation function. According to the configuration operation, the deformation effect may be displayed at a preset roof position (such as a default position or a configured position) of the initial roof model to obtain a modified roof model. Furthermore, the target roof model may be obtained based on the modified roof model.

[0126] The control parameters may also include parameters for controlling the bottom style of the roof, and the parameters for controlling the bottom style of the roof may include any one or more of parameters related to the bottom shape, parameters related to the lookout board, parameters related to the rafters, and parameters related to the eaves beam. The parameters related to the bottom shape may include parameters for controlling the inward contraction of the bottom surface and parameters for controlling the height offset of the bottom surface. The parameters related to the lookout board may include the thickness of the main lookout board, the number of lookout board layers, the thickness of the lookout board, the indentation of each lookout board, etc. The parameters related to the rafters may include parameters for controlling whether to open the rafters, the rafter spacing, the vertical offset of the rafters, the telescopic extension of the rafter ends, the scaling of the rafter size, etc. The parameters related to the eaves beam may include parameters for controlling whether to open the eaves beam, the position offset of the eaves beam, the height of the eaves beam, the thickness of the eaves beam, etc.

[0127] In step S203, you can:

[0128] In response to the configuration operation of the parameters controlling the bottom surface style of the roof, the bottom surface style of the initial roof model is adjusted to generate the target roof model.

[0129] Thus, the bottom surface style of the roof model can be flexibly adjusted to meet the diverse needs of facade shapes and scenes, and the generated roof model can be made more realistic.

[0130] For example, the user can choose to turn on the rafters in the system interface and configure other rafter-related parameters to default values. During the adjustment process, the system of the embodiment of the present disclosure can receive the parameter values ​​related to the rafters input by the user through the interface or parameterization module, and modify the bottom surface style of the initial roof model according to the new parameter values. For example, according to the parameters related to the rafters, the rafters are displayed at a predetermined position on the initial roof model according to the preset rafter spacing, rafter vertical offset, rafter end extension, and rafter size scaling, thereby obtaining a modified roof model, and further, the target roof model can be obtained based on the modified roof model.

[0131] In the embodiment of the present disclosure, after obtaining the initial roof model, any control parameter can be configured, for example, any one or more parameters of the above-mentioned parameters for controlling the geometric structure of the roof, the parameters for controlling the shape of the tiles, the parameters for controlling the decorative components, the parameters for controlling the damaged shape of the roof, and the parameters for controlling the bottom surface style of the roof can be configured, wherein the roof model generation system of the embodiment of the present disclosure can obtain the configured parameter values ​​by the user inputting parameters on the system interface or uploading a predefined configuration file, and the parameter values ​​of the initial roof model can be used for the unconfigured parameters, and the parameter values ​​of the associated parameters with the configured parameters (such as automatically updating the number of tiles and the bottom surface shape when adjusting the length) can also be adaptively updated. Thus, based on the changed parameter values, the geometric structure or appearance associated with the changed parameter values ​​in the initial roof model can be adjusted.

[0132] For example, when the user increases the length and / or width of the roof through configuration operations, the number of tiles, bottom surface shape, etc. displayed can be adaptively modified while extending the geometric dimensions in the roof model to maintain the integrity and consistency of the roof model. The modified roof model can be visualized so that the user can view the modified roof model in real time through a visualization interface, and the modified roof model can be used as a target roof model when it meets the scene requirements.

[0133] Furthermore, the modified roof model can be adjusted for multiple rounds, and the adjustment process is consistent with the above-mentioned adjustment of the initialization model. After each adjustment, the adjusted model can be visualized, so that the user can repeatedly optimize the model according to needs until the adjusted model meets the scene requirements and obtains the target roof model. Figure 5 FIG. 2 shows a schematic diagram of a target roof model according to an embodiment of the present disclosure. Figure 5 As shown, from left to right, different roof models obtained by modeling based on the method of the embodiment of the present disclosure are respectively shown, wherein the first and the second are respectively obtained by superimposing two different roof models (each of which includes a double-eave type roof model). Since the various control parameters in the embodiment of the present disclosure have been classified and sorted, they are easy to find and sort, and the rapid production of roof models can be achieved while meeting the production needs for a rich variety of ancient building roofs. Generating a roof model may only take a few minutes to complete, thereby improving the efficiency of 3D model production and scene building.

[0134] Figure 6 FIG. 2 shows a structural diagram of a roof model generating device according to an embodiment of the present disclosure. Figure 6 As shown, the device may include:

[0135] An acquisition module 601 is used to acquire a target roof type;

[0136] A first generating module 602 is used to generate an initial roof model based on a target roof type;

[0137] The second generation module 603 is used to adjust the initial roof model and generate a target roof model in response to the configuration operation of the control parameters. The control parameters are used to determine the geometric structure and / or appearance of the roof.

[0138] In a possible implementation, the control parameters include parameters for controlling the geometric structure of the roof, and the second generation module 603 is used to:

[0139] In response to the configuration operation on the parameters controlling the roof geometry, adjusting the geometry of the initial roof model to generate a target roof model;

[0140] Among them, the parameters controlling the roof geometry are associated with the target roof type.

[0141] In a possible implementation, the target roof type is any one of a hard-roofed roof, a gabled roof, a hip roof, a hip roof, a pointed roof, and a double-eave roof, and the parameters controlling the geometric structure of the roof include any one or more of a length, a width, a height, a slope, a ridge shape, and a warp shape;

[0142] In response to the target roof type being a gable roof or a double eave roof, the parameters controlling the roof geometry structure further include a ridge curvature;

[0143] In response to the target roof type being a gable roof, the parameters controlling the roof geometry structure further include a ridge curvature and / or a side eave length;

[0144] In response to the target roof type being a peaked roof, the parameters controlling the geometric structure of the roof further include any one or more of a radius and the number of sides;

[0145] In response to the target roof type being a hip roof, the parameters controlling the roof geometry further include a ridge length ratio and / or a ridge curvature;

[0146] In response to the target roof type being a hip roof, the parameters controlling the geometric structure of the roof further include any one or more of a hip roof height, a hip roof angle, and an eaves slope curve.

[0147] In a possible implementation manner, any one or more of the length, width, radius, and bottom surface shape of the initial roof model is determined based on the main structural information of the building.

[0148] In a possible implementation, the control parameter includes a parameter for controlling the tile morphology, and the second generation module 603 is configured to:

[0149] In response to the configuration operation of the parameters controlling the tile morphology, the tile morphology on the initial roof model is adjusted to generate a target roof model;

[0150] The parameters controlling the tile shape include any one or more of the tile size, tile spacing, and tile style.

[0151] In a possible implementation, the control parameters include a second parameter generation module 603 for controlling the decorative component, which is used to:

[0152] In response to the configuration operation of the parameters controlling the decorative components, the corresponding decorative components are placed at preset positions on the initial roof model, or the shapes of the corresponding decorative components on the initial roof model are adjusted to generate a target roof model;

[0153] The preset position is associated with the target roof type, and the decorative components include any one or more of a ridge, a ridge ornament, and a pediment.

[0154] In a possible implementation, the control parameters include parameters for controlling the roof damage morphology, and the second generation module 603 is used to:

[0155] In response to the configuration operation of the parameters controlling the roof damage morphology, adjusting the damage morphology on the initial roof model to generate a target roof model;

[0156] The parameters controlling the roof damage morphology include parameters controlling the roof hole morphology and / or parameters controlling the roof deformation morphology.

[0157] In a possible implementation, the control parameter includes a parameter for controlling the bottom surface style of the roof, and the second generating module 603 is used to:

[0158] In response to the configuration operation of the parameters controlling the bottom surface style of the roof, adjusting the bottom surface style of the initial roof model to generate a target roof model;

[0159] The parameters controlling the bottom surface style of the roof include any one or more of parameters related to the bottom surface shape, parameters related to the fascia board, parameters related to the rafters, and parameters related to the overhanging eaves beam.

[0160] According to the disclosed embodiment, by acquiring the target roof type, an initial roof model is generated based on the target roof type; in response to the configuration operation of the control parameters, the initial roof model is adjusted to generate the target roof model, so that a roof model that meets the requirements can be quickly generated through the control parameters, thereby improving the efficiency of roof model production and scene building. Among them, the control parameters are used to determine the geometric structure and / or appearance of the roof, so that creative feedback or customer modification suggestions can be quickly responded to, and the roof model can be adjusted more specifically to meet the high-intensity, fast-paced production requirements.

[0161] In some embodiments, the functions or modules included in the device provided by the embodiments of the present disclosure can be used to execute the method described in the above method embodiments. The specific implementation can refer to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.

[0162] The embodiment of the present disclosure also provides a computer-readable storage medium on which computer program instructions are stored, and the computer program instructions implement the above method when executed by a processor. The computer-readable storage medium can be a volatile or non-volatile computer-readable storage medium.

[0163] The embodiment of the present disclosure also proposes a roof model generation device, comprising: a processor; a memory for storing processor executable instructions; wherein the processor is configured to implement the above method when executing the instructions stored in the memory.

[0164] The embodiments of the present disclosure also provide a computer program product, including a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes the above method.

[0165] Figure 7 1 is a block diagram of an apparatus 1900 for generating a roof model according to an exemplary embodiment. For example, the apparatus 1900 may be provided as a server or a terminal device. Figure 7 , the apparatus 1900 includes a processing component 1922, which further includes one or more processors, and a memory resource represented by a memory 1932 for storing instructions, such as an application, that can be executed by the processing component 1922. The application stored in the memory 1932 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute instructions to perform the above method.

[0166] The device 1900 may also include a power supply component 1926 configured to perform power management of the device 1900, a wired or wireless network interface 1950 configured to connect the device 1900 to a network, and an input / output interface 1958 (I / O interface). The device 1900 may operate based on an operating system stored in the memory 1932, such as Windows Server 2000. TM , MacOS X TM , Unix TM ,Linux TM , FreeBSD TM or similar.

[0167] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a memory 1932 including computer program instructions, which can be executed by the processing component 1922 of the device 1900 to perform the above method.

[0168] The present disclosure may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.

[0169] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0170] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0171] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.

[0172] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0173] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0174] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0175] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of special hardware and computer instructions.

[0176] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A method for generating a roof model, characterized in that: The method comprises: Get the target roof type; Based on the target roof type, generating an initial roof model; In response to the configuration operation of the control parameters, the initial roof model is adjusted to generate a target roof model, and the control parameters are used to determine the geometric structure and / or appearance of the roof.

2. The method according to claim 1, characterized in that The control parameters include parameters for controlling the geometric structure of the roof, and in response to the configuration operation of the control parameters, the initial roof model is adjusted to generate a target roof model, including: In response to the configuration operation of the parameters controlling the roof geometry, adjusting the geometry of the initial roof model to generate a target roof model; The parameters controlling the roof geometry are associated with the target roof type.

3. The method according to claim 2, characterized in that The target roof type is any one of a gable roof, a hip roof, a hip roof, a hip roof, a pointed roof, and a double eaves, and the parameters controlling the geometric structure of the roof include any one or more of a length, a width, a height, a slope, a ridge shape, and a warp angle shape; In response to the target roof type being a gable roof or a double eave roof, the parameters controlling the roof geometry structure further include a ridge curvature; In response to the target roof type being a gable roof, the parameters controlling the roof geometry structure further include a ridge curvature and / or a side eave length; In response to the target roof type being a peaked roof, the parameters controlling the geometric structure of the roof further include any one or more of a radius and a number of sides; In response to the target roof type being a hip roof, the parameters controlling the geometric structure of the roof further include a ridge length ratio and / or a ridge curvature; In response to the target roof type being a hip roof, the parameters controlling the geometric structure of the roof further include any one or more of a hip roof height, a hip roof angle, and an eaves slope curve.

4. The method according to claim 1, characterized in that: The control parameters include parameters for controlling the tile shape, and the initial roof model is adjusted in response to the configuration operation of the control parameters to generate a target roof model, including: In response to the configuration operation of the parameters controlling the tile morphology, adjusting the tile morphology on the initial roof model to generate a target roof model; The parameters controlling the tile shape include any one or more of the tile size, tile spacing, and tile style.

5. The method according to claim 1, characterized in that The control parameters include parameters for controlling the decorative components, and in response to the configuration operation of the control parameters, the initial roof model is adjusted to generate a target roof model, including: In response to the configuration operation of the parameters controlling the decorative components, a corresponding decorative component is placed at a preset position on the initial roof model, or the shape of the corresponding decorative component on the initial roof model is adjusted to generate a target roof model; The preset position is associated with the target roof type, and the decorative component includes any one or more of a ridge, a ridge ornament, and a pediment.

6. The method according to claim 1, characterized in that The control parameters include parameters for controlling the roof damage morphology, and in response to the configuration operation of the control parameters, the initial roof model is adjusted to generate a target roof model, including: In response to the configuration operation of the parameters controlling the roof damage morphology, adjusting the damage morphology on the initial roof model to generate a target roof model; The parameters for controlling the roof damage morphology include parameters for controlling the roof hole morphology and / or parameters for controlling the roof deformation morphology.

7. The method according to claim 1, characterized in that The control parameters include parameters for controlling the bottom surface style of the roof, and in response to the configuration operation of the control parameters, the initial roof model is adjusted to generate a target roof model, including: In response to the configuration operation of the parameters controlling the bottom surface style of the roof, adjusting the bottom surface style of the initial roof model to generate a target roof model; The parameters controlling the bottom surface style of the roof include any one or more of parameters related to the bottom surface shape, parameters related to the fascia board, parameters related to the rafters, and parameters related to the eaves beams.

8. The method according to claim 1, characterized in that: Any one or more of the length, width, radius and bottom surface shape of the initial roof model is determined based on the main structural information of the building.

9. A roof model generating device, characterized in that: The device comprises: An acquisition module, used to acquire the target roof type; A first generating module, used for generating an initial roof model based on the target roof type; The second generation module is used to adjust the initial roof model and generate a target roof model in response to a configuration operation on a control parameter, wherein the control parameter is used to determine the geometric structure and / or appearance of the roof.

10. A roof model generating device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to implement the method described in any one of claims 1 to 8 when executing the instructions stored in the memory.

11. A non-volatile computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 8 is implemented.

12. A computer program product, comprising a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code, wherein when the computer-readable code is executed in an electronic device, a processor in the electronic device executes the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Roof tile modeling method and system based on Revit platform

    CN107423482A

  • Roof parameterization reconstruction method and system based on single primitive analysis

    CN115115806A

  • Virtual building model generation method and device, and electronic equipment

    CN116246012A

  • Building roof modeling method, modeling device, equipment and medium

    CN116363319A

  • Model construction method and system for interior decoration design

    CN116702298A

Cited By

  • Ancient building roof parameter extraction and inverse process modeling method based on three-dimensional point cloud

    CN120931862A

  • A Method for Extracting and Reverse-Process Modeling Parameters of Ancient Building Roofs Based on 3D Point Clouds

    CN120931862B