CN111027113A - Method, system and storage medium for generating plane contour map based on building model - Google Patents

Method, system and storage medium for generating plane contour map based on building model Download PDF

Info

Publication number
CN111027113A
CN111027113A CN201911248383.3A CN201911248383A CN111027113A CN 111027113 A CN111027113 A CN 111027113A CN 201911248383 A CN201911248383 A CN 201911248383A CN 111027113 A CN111027113 A CN 111027113A
Authority
CN
China
Prior art keywords
primitive
building model
generating
floor plan
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911248383.3A
Other languages
Chinese (zh)
Other versions
CN111027113B (en
Inventor
裘斌
杜勇强
潘黎丽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Glodon Co Ltd
Original Assignee
Glodon Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Glodon Co Ltd filed Critical Glodon Co Ltd
Priority to CN201911248383.3A priority Critical patent/CN111027113B/en
Publication of CN111027113A publication Critical patent/CN111027113A/en
Application granted granted Critical
Publication of CN111027113B publication Critical patent/CN111027113B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/206Drawing of charts or graphs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/10Constructive solid geometry [CSG] using solid primitives, e.g. cylinders, cubes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2210/00Indexing scheme for image generation or computer graphics
    • G06T2210/04Architectural design, interior design

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • Computer Graphics (AREA)
  • Software Systems (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention belongs to the field of digital modeling display, and particularly relates to a method, a system and a storage medium for generating a plane contour map based on a building model. In the prior art, a plane contour map generated according to a building model usually contains all primitives, three-dimensional and two-dimensional synchronous rendering inevitably adds extra pressure to a rendering engine, and height cutting is difficult to accurately realize. Based on the building model serving as the rendering object, the attributes of all the primitives are obtained through file analysis corresponding to the rendering object, or the primitives in the building model are classified through a method of expanding data defined by a user, and then the filtered primitives are rendered to generate a plane outline drawing from the top view angle through a filtering rule defined by the user. The pressure of three-dimensional rendering is not increased, the problem of generating height by a tangle plane is not needed, so that the problem of splitting from the middle of a primitive is not needed to be worried about, and two-three-dimensional linkage is supported.

Description

Method, system and storage medium for generating plane contour map based on building model
Technical Field
The invention belongs to the field of digital modeling display, and particularly relates to a method, a system and a storage medium for generating a plane contour map based on a building model.
Background
In the process of browsing complex rendering models, especially building models, in addition to viewing three-dimensional effect graphs, the three-dimensional effect graphs are often viewed in combination with plan graphs for positioning or determining local details. In addition, the plane outline generated according to the building model is different according to different use scenes, and all primitives in the rendering model are not necessarily displayed.
At present, two methods for generating a plane contour map based on a building model are generally available: one is that when the building model is rendered in three dimensions, all or part of the primitives are rendered in two dimensions; another is to cut the building model in a cross-sectional manner through a level surface of a certain height.
However, the above production method has the following problems:
(1) the plane contour map generated according to the building model usually comprises all primitives, and the primitives with rendering values are not filtered according to actual requirements;
(2) the two-dimensional plane rendering is carried out while the three-dimensional rendering is carried out, so that extra pressure is inevitably added to a rendering engine;
(3) the difficulty of generating the plane contour diagram by sectioning the plane according to the section height is the selection of the section height, and the possibility that part of graphic elements in the building model are not sectioned exists;
(4) generally, the generated plane outline diagram only supports viewing, and no more functional support is provided, such as two-dimensional and three-dimensional linkage.
Disclosure of Invention
Some concepts to which the invention relates are explained herein.
A bounding box: in the field of computer graphics and computational geometry, bounding boxes are closed spaces that completely contain objects or combinations of objects. The efficiency of geometric operations can be improved by encapsulating complex objects in simple bounding volumes. Usually represented by a bright spot in space (two spots or a central spot in space, or a scalar representation of three directions).
And (3) SDK: a Software Development Kit (Software Development Kit) is generally a collection of Development tools that are used by Software engineers to create application Software for a particular Software package, Software framework, hardware platform, operating system, etc.
Mesh: a polygonal mesh (Polygon mesh) is a collection of vertices and polygons in three-dimensional computer graphics that represents a polyhedron shape, and is also called an unstructured mesh. These meshes are usually composed of triangles, quadrilaterals or other simple convex polygons, which may simplify the rendering process.
And (3) filtering the graphic elements: the invention particularly refers to a primitive which is obtained after filtering by a certain rule and needs to be rendered in a plane outline drawing.
The invention discloses a method, a system and a storage medium for generating a building plane contour map, wherein based on a building model serving as a rendering object, attributes of all primitives are obtained through file analysis corresponding to the rendering object, or the primitives in the building model are classified through a method of user-defined expansion data, reasonable lightweight storage is optionally performed, and then the filtered primitives are rendered to generate the plane contour map from the perspective of a top view through a user-defined filtering rule.
According to an aspect of the present invention, there is provided a method of generating a floor plan based on a building model, the method comprising the steps of:
s1, acquiring a graphic element data file from the building model;
s2, analyzing the primitive data file to obtain primitive geometric data and primitive attribute data, wherein the primitive attribute data comprise primitive attribute data such as primitive families and primitive categories;
s3, filtering the model primitives according to a set rule to obtain a primitive set obtained by filtering the model primitives according to primitive categories in the set floor;
and S4, rendering from the top view to generate a plane contour map.
Further, the group to which the primitive belongs includes a floor, a building number, a professional or a field cloth, and the like.
Further, the primitive classes include members of various families that make up the building model.
Further, after completing step S1, the primitive attribute data is expanded autonomously by the user for the building model with missing or incomplete primitive attribute data.
Further, when the primitive attribute data are expanded, the primitive attributes of the building model are assigned in batches in the classification files according to the classification files established by the building model according to the primitive attributes.
Further, in step S2, using an iterator capable of traversing all the primitives in the building model, geometric data such as vertices, vertex indexes, normal vectors, and map uv data associated with the primitives are obtained while traversing the primitives.
Further, in step S2, for the building model files with different file formats, the geometric data of the primitive is also converted into a data format supported by the rendering engine.
Further, after step S2 is completed, the obtained primitive geometry data and primitive attribute data are stored in a lightweight manner.
Further, in the lightweight storage, the graph element geometric data is compressed by an o3dgc or Draco compression algorithm and then stored, and the graph element attribute data is stored according to a classification sublist database.
Further, in step S3, the set rule includes a set floor for displaying and a primitive category obtained by filtering.
Further, in step S3, filtering is performed according to different requirements by using the building number, the specialty or the field cloth in the group to which the primitive belongs.
Further, in step S1, a bounding box of each primitive may be extracted from the primitive data file, and the bounding boxes of all primitives are combined and calculated to obtain a bounding box of the entire scene of the building model.
And further, determining the position of each primitive in the building model through the relation between the bounding box of the primitive and the bounding box of the whole scene, and displaying the primitives in a two-dimensional and three-dimensional linkage manner.
Further, when a floor plan is displayed, in the linked three-dimensional scene, the camera also moves to the floor, and hits different positions in the plane area in the floor plan, the camera of the three-dimensional scene moves to the corresponding position of the floor, and the orientation of the camera is unchanged.
Further, when browsing in a three-dimensional scene, along with the movement of the camera and the change of the lens direction, the position and the direction of the camera are synchronously embodied in the plane outline in the form of arrows in the linked plane outline.
According to another aspect of the present invention, there is also provided a system for generating a plane contour map based on a building model, the system comprising a primitive data file obtaining module, a primitive data file parsing module, a model primitive filtering module and a plane contour map rendering module, wherein the model primitive filtering module is used for obtaining a primitive data file, the model primitive data file is used for filtering a model primitive, and the plane contour map is used for rendering a plane contour map
The primitive data file acquisition module acquires a primitive data file from the building model;
the primitive data file analysis module analyzes the primitive data file to obtain primitive geometric data and primitive attribute data, wherein the primitive attribute data comprises primitive attribute data such as a primitive family and a primitive category;
the model primitive filtering module filters model primitives according to a set rule to obtain a primitive set obtained by filtering the model primitives according to primitive categories in a set floor;
the plan profile rendering module generates a plan profile from the top view rendering.
Further, the group to which the primitive belongs includes a floor, a building number, a professional or a field cloth, and the like.
Further, the primitive classes include members of various families that make up the building model.
The system further comprises a primitive attribute data expansion module, and for the building model with missing or incomplete primitive attribute data, a user independently expands the primitive attribute data.
Further, when the primitive attribute data are expanded, the primitive attributes of the building model are assigned in batches in the classification files according to the classification files established by the building model according to the primitive attributes.
Further, the primitive data file parsing module obtains, by using an iterator capable of traversing all primitives in the building model, geometric data such as vertices, vertex indexes, normal vectors, and mapping uv data associated with the primitives when traversing the primitives.
Furthermore, for building model files with different file formats, the primitive data file analysis module also needs to convert the geometric data of the primitives into a data format supported by a rendering engine.
Further, the system also comprises a lightweight storage module which is used for carrying out lightweight storage on the obtained primitive geometric data and primitive attribute data.
Further, in the lightweight storage, the graph element geometric data is compressed by an o3dgc or Draco compression algorithm and then stored, and the graph element attribute data is stored according to a classification sublist database.
Further, the set rules include the set floor for displaying and the primitive categories obtained by filtering.
Furthermore, the model primitive filtering module also utilizes the building number, the profession or the field cloth in the primitive family to filter according to different requirements.
Furthermore, the primitive data file acquisition module can also extract the bounding box of each primitive from the primitive data file, and the bounding boxes of all the primitives are combined and calculated to obtain the bounding box of the whole scene of the building model.
And further, determining the position of each primitive in the building model through the relation between the bounding box of the primitive and the bounding box of the whole scene, and displaying the primitives in a two-dimensional and three-dimensional linkage manner.
Further, when a floor plan is displayed, in the linked three-dimensional scene, the camera also moves to the floor, and hits different positions in the plane area in the floor plan, the camera of the three-dimensional scene moves to the corresponding position of the floor, and the orientation of the camera is unchanged.
Further, when browsing in a three-dimensional scene, along with the movement of the camera and the change of the lens direction, the position and the direction of the camera are synchronously embodied in the plane outline in the form of arrows in the linked plane outline.
According to another aspect of the present invention, there is also provided a storage medium having stored thereon a computer program which, when executed by a processor, performs a method as described above.
According to the method, the plane contour diagrams of different styles are generated by filtering based on the building model serving as the rendering object and the extended attributes, and are used for scenes with different requirements. The user can also quickly position based on the generated plane contour map to simply carry out two-dimensional and three-dimensional linkage.
Compared with the prior art, the invention has the following beneficial effects:
(1) the invention can generate the plane contour map while keeping the whole geometric structure of the rendering object, does not increase the pressure of three-dimensional rendering, and does not need to tie the problem of generating height of the plane, thereby not worrying about the problem of splitting from the middle of the primitive.
(2) And user-defined filtering rules are supported.
(3) The two-dimensional rendering position can be quickly positioned to the three-dimensional rendering position, and the two-dimensional and three-dimensional linkage can be simply carried out.
The foregoing is a summary of the present disclosure, and for the purposes of promoting a clear understanding of the technical means of the present disclosure, the present disclosure may be embodied in other specific forms without departing from the spirit or essential attributes thereof.
Drawings
FIG. 1 is a flow chart of a method of generating a floor plan based on a building model according to the present invention;
FIG. 2 is a data type of a render object;
FIG. 3 is a perspective rendering of a building model of an embodiment at a selected floor;
FIG. 4 is a plan profile generated by the building model of one embodiment at a selected floor;
FIG. 5 is a schematic diagram of two-dimensional and three-dimensional linkage between a three-dimensional rendering and a plan profile of a building model according to an embodiment of the present invention.
Detailed Description
The embodiments of the present disclosure are described below with specific examples, and other advantages and effects of the present disclosure will be readily apparent to those skilled in the art from the disclosure in the specification. It is to be understood that the described embodiments are merely illustrative of some, and not restrictive, of the embodiments of the disclosure. The disclosure may be embodied or carried out in various other specific embodiments, and various modifications and changes may be made in the details within the description without departing from the spirit of the disclosure. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
It is noted that various aspects of the embodiments are described below within the scope of the appended claims. It should be apparent that the aspects described herein may be embodied in a wide variety of forms and that any specific structure and/or function described herein is merely illustrative. Based on the disclosure, one skilled in the art should appreciate that one aspect described herein may be implemented independently of any other aspects and that two or more of these aspects may be combined in various ways. For example, an apparatus may be implemented and/or a method practiced using any number of the aspects set forth herein. Additionally, such an apparatus may be implemented and/or such a method may be practiced using other structure and/or functionality in addition to one or more of the aspects set forth herein.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present disclosure, and the drawings only show the components related to the present disclosure rather than the number, shape and size of the components in actual implementation, and the type, amount and ratio of the components in actual implementation may be changed arbitrarily, and the layout of the components may be more complicated.
In addition, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, it will be understood by those skilled in the art that the aspects may be practiced without these specific details.
Referring to fig. 1, the method for generating a plane contour map based on a building model according to the present invention comprises the following steps:
s1, obtaining the graphic element data file from the building model
Referring to fig. 2, a building model as a rendering object includes primitive data of the following types:
(1) primitive geometry data
The method specifically comprises parameterized geometric information data, mesh data, a primitive bounding box and the like, wherein the geometric data must be acquired from a building model and needs to be directly supported or can be indirectly converted into a data format supported by a rendering engine, so that the rendering engine can keep the accurate appearance shape of a rendering object in a top view generated according to the geometric data and can ensure that the relative position is unchanged.
(2) Primitive attribute data
Including but not limited to: the more complete the building model of the floor, building number, specialty, field cloth, primitive category and attribute data, the more kinds of plane contour diagrams can be generated, and the higher the fineness degree is. Attributes are described in categories as follows:
(a) the floor is indispensable, and this fundamental support the generation of the planar profile picture of different floors, provide important support for two three-dimensional linkage simultaneously, the concrete expression is: when a plane graph corresponding to a certain floor is clicked, the height (floor) of the plane graph can be obtained, and therefore the camera can jump to the corresponding height (floor) in the three-dimensional space;
(b) the building number is often used in the case that the model is large and comprises a plurality of different buildings, but a plane outline of a single model is expected to be generated, because the building attributes of the primitives are required to be separated at the time;
(c) professional and field distribution, which is often applied to support the situation that corresponding primitives are separated in batches according to different requirements;
(d) and the primitive categories serve as important references for defining the filtering rules in later-stage more detail.
Of the attributes of the building model, types (a), (b) and (c) belong to the division of the family of primitives. The type (d) is very important for the display effect, the primitive category is used as a filtering condition set by a user to select the primitive to be displayed in the rendering plane outline, when only one or more types of primitives need to be rendered in the plane graph, the categories of all the primitives in the building model need to be identified, and the primitives meeting the filtering condition are screened out, for example, the primitives only containing the wall category are required to be rendered in the plane graph.
(3) Bounding box data
In an optimized scheme, bounding box data of the building model can be extracted from the building model file and used for performing a two-three-dimensional linkage display scheme, the bounding box relates to a bounding box of each graphic primitive in the building model and a bounding box of an integral scene of the building model obtained by combining and calculating the bounding boxes of all the graphic primitives, the positions of the graphic primitives in the building model can be determined through the bounding boxes, and the two-three-dimensional linkage display scheme is a basis for performing two-three-dimensional linkage.
S2, for the building model with incomplete primitive attribute data, extending the primitive attribute data by the user
The step is an optional step, and if the building model establishes the classification file according to the primitive attributes, the primitive attributes of the building model can be directly assigned in the classification file, such as floors, specialties, field distribution and the like. If the building model covers more contents and cannot be classified by using a single attribute, the attributes of the primitives to be filtered can be comprehensively set in batches.
For example, a building is divided into floors and specialties, and the divided buildings are stored as individual model files (a floor model file and a speciality model file) of the building, and then defined in each model file, for example, floor information of the building is defined in the floor model file, speciality information of the building is defined in the speciality model file, and other relevant data (if any) are defined. And then, initiating integration to the model files, and writing the attribute data defined in the single model file into corresponding primitive attributes during integration. Generally speaking, the more detailed the attribute data, the more files are classified, so that the attribute data supported by the building model and the attribute data customized by the user are preferably complementary.
S3, analyzing the primitive data file
The step utilizes an iterator capable of traversing all primitives in the building model, obtains geometrical data and/or bounding box data such as vertexes, vertex indexes, normal vectors, and mapping uv hung on the primitives when traversing the primitives, and reads primitive attribute data through a corresponding API (application programming interface).
For building model files with different file formats, corresponding plug-ins or SDKs for secondary development are required to provide support for conversion, and geometric data of primitives are converted into data formats supported by a rendering engine. The mainstream modeling software at this point has corresponding support, such as the revit, SketchUp, 3dmax and other modeling software, and has support for providing corresponding SDK, and the files in the formats of 3dm, FBX, obj, gltf and the like also have many open-source three-way library supports.
S4, lightweight stored data
The step is an optional optimization scheme, namely, the primitive geometric data, the primitive attribute data and/or the bounding box data obtained in the steps S1-S3 are stored in a light weight mode.
For example, the attribute data of the graph element is stored according to a classification sublist database, the geometric data of the graph element is compressed by a compression algorithm such as o3dgc or Draco, and the gz compression mode of the json file is an optional scheme for facilitating web reading.
The light weight storage has the advantages that the efficiency of data reading can be improved, the memory space occupied by the data is reduced, the data can be conveniently read and written, and the data can be used as a basis for supporting secondary development, such as the display of a model at a Web end.
S5, filtering the model primitive according to the set rule
(1) Traversing attribute data of all primitives in the building model to obtain a set of primitives in a set floor, namely a set of various types of members in each floor
In the actual operation process, the floor attributes are generally used as the prior traversal objects, and the sets of different types of members under each floor are obtained. This is an essential step in generating a floor plan profile, and no matter which attribute is used for classification and filtering, the hierarchy is required based on the floor attribute.
(2) The other attributes comprise building numbers, professionalism, field distribution, primitive categories and the like, and are mainly used for separating the floors according to different requirements. For example, filtering by primitive categories, to extract one or more categories of primitives to be rendered from the floor.
S6, rendering and generating a plane outline drawing from the top view
And (4) rendering the primitive obtained by filtering in the step (S5) independently by adopting the angle of the top view according to the geometric data of the primitive, wherein the process of rendering the plane outline drawing is separated from the three-dimensional rendering, and no additional pressure is caused to the three-dimensional rendering. Therefore, a filtered plane outline graph of the floor selected by the building model is generated, and aiming at different rendering engines, only the stored graphic primitive geometric data are converted into data organization of each rendering engine.
The practical effects can be seen in fig. 3-4, where fig. 3 is a rendered object geometric display obtained by filtering an F01 layer of a building model according to an embodiment, and fig. 4 is a planar outline diagram generated by rendering a top view by a user by filtering only a wall and a structural frame, and it can be seen that fig. 4 substantially retains important outlines formed by the wall in F01, but removes primitives that can form partial occlusion or full occlusion after rendering of stairs, floors, doors, and the like.
In addition to the contour display, two-dimensional and three-dimensional linkage display can be performed, referring to fig. 5, because a building model often has a plurality of floors, on the premise that no floor is selected, a plurality of plane contour maps can be generated, and after a plane contour map of a floor is selected according to the floor in a plane contour map list, a camera of a three-dimensional scene moves to the floor. In the plane outline diagram, the camera of the three-dimensional scene moves to the corresponding position of the floor when the plane area is hit at different positions, and the orientation of the camera is unchanged. When browsing in a three-dimensional scene, the camera moves and the lens direction changes, and meanwhile, in the plane outline diagram, the position and the direction of the camera are synchronously represented in the plane outline diagram in the form of arrows.
When the plane contour diagram is clicked, the corresponding floor height of the corresponding plane contour diagram is known, so that in three-dimensional preview, the camera can be quickly positioned to the corresponding floor height, and by calculating the relation between the mouse click position and the bounding box position, under the condition that the building model bounding box data is obtained, the x value and the y value of the three-dimensional space position can be obtained directly or through the screen coordinate transformation of the mouse click, and the camera is moved to the corresponding position, and meanwhile, the visual angle direction is kept unchanged. And when the plane contour diagram is opened, moving the position of the camera in a three-dimensional space, directly or through the coordinate inverse transformation, obtaining two-dimensional x and y values (height z values are ignored), and moving the position marked by the arrow in the plane contour to the specified plane position. The direction of the arrow can be determined according to the X and Y values of the camera direction parameter in the three-dimensional scene (the Z value does not influence).

Claims (31)

1. A method for generating a floor plan based on a building model, the method comprising the steps of:
s1, acquiring a graphic element data file from the building model;
s2, analyzing the primitive data file to obtain primitive geometric data and primitive attribute data, wherein the primitive attribute data are original attribute data and comprise a primitive family and a primitive category;
s3, filtering the model primitives according to a set rule to obtain a primitive set obtained by filtering the model primitives according to primitive categories in the set floor;
and S4, rendering from the top view to generate a plane contour map.
2. The method for generating a floor plan based on a building model of claim 1, wherein: the group of the graphic elements comprises floors, building numbers, professions or field cloths.
3. The method for generating a floor plan based on a building model of claim 2, wherein: the primitive classes include members of various families that make up the building model.
4. The method for generating a floor plan based on a building model of claim 3, wherein: after step S1 is completed, the primitive attribute data is expanded autonomously by the user for building models in which the primitive attribute data is missing or incomplete.
5. The method for generating a floor plan based on a building model of claim 4, wherein: and when the primitive attribute data are expanded, assigning the primitive attributes of the building model in batches in the classification file according to the classification file established by the building model according to the primitive attributes.
6. The method for generating a floor plan based on a building model according to any one of claims 1-5, wherein: in step S2, using an iterator capable of traversing all primitives in the building model, geometric data associated with the primitives, including vertices, vertex indices, normal vectors, and map uv data, is obtained while traversing the primitives.
7. The method for generating a floor plan based on a building model according to any one of claims 1-5, wherein: in step S2, for the building model file with different file format, the geometric data of the primitive is further converted into a data format supported by the rendering engine.
8. The method for generating a floor plan based on a building model according to any one of claims 1-5, wherein: after step S2 is completed, the obtained primitive geometry data and primitive attribute data are stored in a lightweight manner.
9. The method for generating a floor plan based on a building model of claim 8, wherein: and in the process of lightweight storage, compressing and storing the graph element geometric data by using an o3dgc or Draco compression algorithm, and storing the graph element attribute data according to a classification and sub-table database.
10. The method for generating a floor plan based on a building model according to any one of claims 1-5, wherein: in step S3, the set rule includes a set floor for display and a primitive type obtained by filtering.
11. The method for generating a floor plan based on a building model of claim 10, wherein: in step S3, filtering is performed according to different requirements by using the building number, the specialty or the field cloth of the group to which the primitive belongs.
12. The method for generating a floor plan based on a building model according to any one of claims 1-5, wherein: in step S1, a bounding box of each primitive is also extracted from the primitive data file, and the bounding boxes of all primitives are combined and calculated to obtain a bounding box of the entire scene of the building model.
13. The method for generating a floor plan based on a building model of claim 12, wherein: and determining the position of each primitive in the building model according to the relation between the bounding box of the primitive and the bounding box of the whole scene, and displaying the primitives in a two-dimensional and three-dimensional linkage manner.
14. The method for generating a floor plan based on a building model of claim 13, wherein: when a floor plan is displayed, in the linked three-dimensional scene, the camera also moves to the floor, and hits different positions in the plane area in the floor plan, the camera of the three-dimensional scene moves to the corresponding position of the floor, and the orientation of the camera is unchanged.
15. The method for generating a floor plan based on a building model of claim 14, wherein: when browsing in a three-dimensional scene, along with the movement of the camera and the change of the lens direction, the position and the direction of the camera are synchronously embodied in the plane outline graph in the form of arrows in the linked plane outline graph.
16. A system for generating a floor plan based on a building model, comprising: the system comprises a primitive data file acquisition module, a primitive data file analysis module, a model primitive filtering module and a plane outline rendering module, wherein the primitive data file acquisition module, the primitive data file analysis module, the model primitive filtering module and the plane outline rendering module are connected with the model primitive filtering module through the data bus
The primitive data file acquisition module acquires a primitive data file from the building model;
the primitive data file analysis module analyzes the primitive data file to obtain primitive geometric data and primitive attribute data, wherein the primitive attribute data are original attribute data and comprise a primitive family and a primitive category;
the model primitive filtering module filters model primitives according to a set rule to obtain a primitive set obtained by filtering the model primitives according to primitive categories in a set floor;
the plan profile rendering module generates a plan profile from the top view rendering.
17. The system for generating a floor plan based on a building model of claim 16, wherein: the group of the graphic elements comprises floors, building numbers, professions or field cloths.
18. The system for generating a floor plan based on a building model of claim 17, wherein: the primitive classes include the various components that make up the building model.
19. The system for generating a floor plan based on a building model of claim 18, wherein: the system also comprises a primitive attribute data expansion module, and for the building model with incomplete primitive attribute data, a user independently expands the primitive attribute data.
20. The system for generating a floor plan based on a building model of claim 19, wherein: and when the primitive attribute data are expanded, assigning the primitive attributes of the building model in batches in the classification file according to the classification file established by the building model according to the primitive attributes.
21. A system for generating a floor plan based on a building model according to any one of claims 16-20, wherein: and the primitive data file analysis module obtains vertex data, vertex indexes, normal vectors and mapping uv data which are associated with the primitives when traversing the primitives by utilizing an iterator which traverses all the primitives in the building model.
22. A system for generating a floor plan based on a building model according to any one of claims 16-20, wherein: the primitive data file analysis module is used for converting the geometric data of the primitives into a data format supported by a rendering engine for building model files with different file formats.
23. A system for generating a floor plan based on a building model according to any one of claims 16-20, wherein: the system also comprises a lightweight storage module for carrying out lightweight storage on the obtained primitive geometric data and primitive attribute data.
24. The system for generating a floor plan based on a building model of claim 23, wherein: and in the process of lightweight storage, compressing and storing the graph element geometric data by using an o3dgc or Draco compression algorithm, and storing the graph element attribute data according to a classification and sub-table database.
25. A system for generating a floor plan based on a building model according to any one of claims 16-20, wherein: the set rules comprise set floors for displaying and primitive categories obtained by filtering.
26. The system for generating a floor plan based on a building model of claim 25, wherein: the model primitive filtering module also filters by utilizing the building number, the specialty or the field cloth in the primitive family according to different requirements.
27. A system for generating a floor plan based on a building model according to any one of claims 16-20, wherein: the pixel data file acquisition module also extracts the bounding box of each pixel from the pixel data file, and the bounding boxes of all the pixels are combined to calculate the whole bounding box of the building model.
28. The system for generating a floor plan based on a building model of claim 27, wherein: and determining the position of each primitive in the building model according to the relation between the bounding box of the primitive and the integral bounding box, and displaying the primitives in a two-dimensional and three-dimensional linkage manner.
29. The system for generating a floor plan based on a building model of claim 28, wherein: when a floor plan is displayed, in the linked three-dimensional scene, the camera also moves to the floor, and hits different positions in the plane area in the floor plan, the camera of the three-dimensional scene moves to the corresponding position of the floor, and the orientation of the camera is unchanged.
30. The system for generating a floor plan based on a building model of claim 29, wherein: when browsing in a three-dimensional scene, along with the movement of the camera and the change of the lens direction, the position and the direction of the camera are synchronously embodied in the plane outline graph in the form of arrows in the linked plane outline graph.
31. A storage medium, characterized by: stored thereon a computer program which, when executed by a processor, performs the method of any one of claims 1-15.
CN201911248383.3A 2019-12-09 2019-12-09 Method, system and storage medium for generating plane contour map based on building model Active CN111027113B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911248383.3A CN111027113B (en) 2019-12-09 2019-12-09 Method, system and storage medium for generating plane contour map based on building model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911248383.3A CN111027113B (en) 2019-12-09 2019-12-09 Method, system and storage medium for generating plane contour map based on building model

Publications (2)

Publication Number Publication Date
CN111027113A true CN111027113A (en) 2020-04-17
CN111027113B CN111027113B (en) 2023-06-09

Family

ID=70204892

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911248383.3A Active CN111027113B (en) 2019-12-09 2019-12-09 Method, system and storage medium for generating plane contour map based on building model

Country Status (1)

Country Link
CN (1) CN111027113B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111710014A (en) * 2020-08-20 2020-09-25 杭州品茗安控信息技术股份有限公司 Double-code network graph display method, device, equipment and storage medium
CN111783186A (en) * 2020-07-03 2020-10-16 北京安怀信科技股份有限公司 General CAD model result light-weight visual viewing method
CN111797153A (en) * 2020-07-01 2020-10-20 广联达科技股份有限公司 BIM (building information modeling) model preview method and device, computer equipment and readable storage medium
CN112035906A (en) * 2020-07-17 2020-12-04 中国二十冶集团有限公司 Diversified slag flushing ditch inlet electric calculation combination modeling fine adjustment method
CN112308975A (en) * 2020-11-06 2021-02-02 中国石油天然气集团有限公司 RVM binary model analysis method and system for three-dimensional lightweight engine
CN112380611A (en) * 2020-12-04 2021-02-19 江南造船(集团)有限责任公司 Design method, device, equipment and medium for deck plate of ship outfitting platform channel
CN112579945A (en) * 2020-12-30 2021-03-30 深圳须弥云图空间科技有限公司 Model data display method and device, equipment and computer readable storage medium
CN113506364A (en) * 2021-06-29 2021-10-15 中铁北京工程局集团有限公司 Model creation method, system, device and storage medium
CN113868280A (en) * 2021-11-25 2021-12-31 芯和半导体科技(上海)有限公司 Parameterized unit data updating method and device, computer equipment and storage medium
CN114067055A (en) * 2021-11-18 2022-02-18 北京优锘科技有限公司 Method, device, medium and equipment for rapidly generating building floor 3D model in real time
CN115329697A (en) * 2022-08-26 2022-11-11 北京国科恒通科技股份有限公司 Method, device and system for generating simulated three-dimensional circuit diagram and storage medium
CN117197300A (en) * 2023-11-06 2023-12-08 武汉方拓数字科技有限公司 Rendering synthesis method of three-dimensional wire frame perspective view map based on transparent channel

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020050988A1 (en) * 2000-03-28 2002-05-02 Michael Petrov System and method of three-dimensional image capture and modeling
CN103150751A (en) * 2013-01-10 2013-06-12 江苏易图地理信息工程有限公司 Three-dimensional modeling method for achieving building inside and outside integration in digital map
CN103530456A (en) * 2013-10-10 2014-01-22 中国电子科技集团公司第十五研究所 Method for building floor plan map and floor plan map generating system
US20140278264A1 (en) * 2013-03-14 2014-09-18 Tendril Networks, Inc. Personalization of recommendations based on building model and behavioral science
CN104680572A (en) * 2015-02-13 2015-06-03 上海同筑信息科技有限公司 BIM-based mobile terminal building model rendering performance optimization method and system
CN105303590A (en) * 2015-11-25 2016-02-03 中国地质大学(武汉) Method for cutting block model of three-dimensional ore body with attribute to generate two-dimensional profile map
US20160148422A1 (en) * 2014-11-24 2016-05-26 Pornchai Direkwut Method and System of Generating an indoor floor plan
CN107153723A (en) * 2017-04-17 2017-09-12 盈嘉互联(北京)科技有限公司 The data tissue and management method and system of a kind of 3-dimensional digital garden
CN108427810A (en) * 2017-08-12 2018-08-21 中民筑友科技投资有限公司 The data processing method and device of assembled architecture technological design based on BIM
CN109165401A (en) * 2018-07-09 2019-01-08 国核电力规划设计研究院有限公司 A kind of method and apparatus that two-dimentional construction drawing is generated based on civil engineering structure threedimensional model
CN109242969A (en) * 2018-09-29 2019-01-18 中民筑友科技投资有限公司 A kind of outer profile model generating method, device and the equipment of assembled architecture
CN109829962A (en) * 2019-01-29 2019-05-31 广联达科技股份有限公司 A kind of object space blanking line computation accelerated method using OPENGL
CN110334390A (en) * 2019-05-22 2019-10-15 郑州轻工业学院 Exterior wall recognition methods, device, storage medium and processor in CAD
CN110414148A (en) * 2019-07-30 2019-11-05 中北大学 The cross-platform online method for visualizing of open BIM based on WebGL
CN110516370A (en) * 2019-08-29 2019-11-29 同济大学建筑设计研究院(集团)有限公司 Prefabricated components deepen drawing creation method, apparatus, computer equipment and medium

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020050988A1 (en) * 2000-03-28 2002-05-02 Michael Petrov System and method of three-dimensional image capture and modeling
CN103150751A (en) * 2013-01-10 2013-06-12 江苏易图地理信息工程有限公司 Three-dimensional modeling method for achieving building inside and outside integration in digital map
US20140278264A1 (en) * 2013-03-14 2014-09-18 Tendril Networks, Inc. Personalization of recommendations based on building model and behavioral science
CN103530456A (en) * 2013-10-10 2014-01-22 中国电子科技集团公司第十五研究所 Method for building floor plan map and floor plan map generating system
US20160148422A1 (en) * 2014-11-24 2016-05-26 Pornchai Direkwut Method and System of Generating an indoor floor plan
CN104680572A (en) * 2015-02-13 2015-06-03 上海同筑信息科技有限公司 BIM-based mobile terminal building model rendering performance optimization method and system
CN105303590A (en) * 2015-11-25 2016-02-03 中国地质大学(武汉) Method for cutting block model of three-dimensional ore body with attribute to generate two-dimensional profile map
CN107153723A (en) * 2017-04-17 2017-09-12 盈嘉互联(北京)科技有限公司 The data tissue and management method and system of a kind of 3-dimensional digital garden
CN108427810A (en) * 2017-08-12 2018-08-21 中民筑友科技投资有限公司 The data processing method and device of assembled architecture technological design based on BIM
CN109165401A (en) * 2018-07-09 2019-01-08 国核电力规划设计研究院有限公司 A kind of method and apparatus that two-dimentional construction drawing is generated based on civil engineering structure threedimensional model
CN109242969A (en) * 2018-09-29 2019-01-18 中民筑友科技投资有限公司 A kind of outer profile model generating method, device and the equipment of assembled architecture
CN109829962A (en) * 2019-01-29 2019-05-31 广联达科技股份有限公司 A kind of object space blanking line computation accelerated method using OPENGL
CN110334390A (en) * 2019-05-22 2019-10-15 郑州轻工业学院 Exterior wall recognition methods, device, storage medium and processor in CAD
CN110414148A (en) * 2019-07-30 2019-11-05 中北大学 The cross-platform online method for visualizing of open BIM based on WebGL
CN110516370A (en) * 2019-08-29 2019-11-29 同济大学建筑设计研究院(集团)有限公司 Prefabricated components deepen drawing creation method, apparatus, computer equipment and medium

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
李娟娟;施昆;邱飞廷;: "基于ArcEngine与Skyline的二三维联动GIS系统平台设计与应用――以昆明三维城市规划辅助决策系统为例" *
杨若瑜,胡笳,匡海峰,蔡敏,蔡士杰: "建筑结构平面图辅助设计系统VHAutoFraming的设计与实现" *
汤君友等: "基于VR-Platform的城市三维景观动态仿真技术研究" *
洪洲;: "基于Cityengine平台的CGA规则室内三维建模方法研究" *
陈建祥,魏迎梅,吴玲达: "虚拟战场环境中的态势标绘与表现" *

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111797153A (en) * 2020-07-01 2020-10-20 广联达科技股份有限公司 BIM (building information modeling) model preview method and device, computer equipment and readable storage medium
CN111783186A (en) * 2020-07-03 2020-10-16 北京安怀信科技股份有限公司 General CAD model result light-weight visual viewing method
CN111783186B (en) * 2020-07-03 2021-03-16 北京安怀信科技股份有限公司 General CAD model result light-weight visual viewing method
CN112035906A (en) * 2020-07-17 2020-12-04 中国二十冶集团有限公司 Diversified slag flushing ditch inlet electric calculation combination modeling fine adjustment method
CN112035906B (en) * 2020-07-17 2023-12-22 中国二十冶集团有限公司 Diversified slag flushing ditch inlet electric calculation combined modeling refinement adjustment method
CN111710014A (en) * 2020-08-20 2020-09-25 杭州品茗安控信息技术股份有限公司 Double-code network graph display method, device, equipment and storage medium
CN112308975A (en) * 2020-11-06 2021-02-02 中国石油天然气集团有限公司 RVM binary model analysis method and system for three-dimensional lightweight engine
CN112380611B (en) * 2020-12-04 2022-11-15 江南造船(集团)有限责任公司 Method, device, equipment and medium for designing perforated steel plate of ship outfitting platform channel
CN112380611A (en) * 2020-12-04 2021-02-19 江南造船(集团)有限责任公司 Design method, device, equipment and medium for deck plate of ship outfitting platform channel
CN112579945A (en) * 2020-12-30 2021-03-30 深圳须弥云图空间科技有限公司 Model data display method and device, equipment and computer readable storage medium
CN113506364A (en) * 2021-06-29 2021-10-15 中铁北京工程局集团有限公司 Model creation method, system, device and storage medium
CN114067055B (en) * 2021-11-18 2022-11-11 北京优锘科技有限公司 Method, device, medium and equipment for rapidly generating building floor 3D model in real time
CN114067055A (en) * 2021-11-18 2022-02-18 北京优锘科技有限公司 Method, device, medium and equipment for rapidly generating building floor 3D model in real time
CN113868280B (en) * 2021-11-25 2022-03-25 芯和半导体科技(上海)有限公司 Parameterized unit data updating method and device, computer equipment and storage medium
CN113868280A (en) * 2021-11-25 2021-12-31 芯和半导体科技(上海)有限公司 Parameterized unit data updating method and device, computer equipment and storage medium
CN115329697A (en) * 2022-08-26 2022-11-11 北京国科恒通科技股份有限公司 Method, device and system for generating simulated three-dimensional circuit diagram and storage medium
CN117197300A (en) * 2023-11-06 2023-12-08 武汉方拓数字科技有限公司 Rendering synthesis method of three-dimensional wire frame perspective view map based on transparent channel
CN117197300B (en) * 2023-11-06 2024-01-30 武汉方拓数字科技有限公司 Rendering synthesis method of three-dimensional wire frame perspective view map based on transparent channel

Also Published As

Publication number Publication date
CN111027113B (en) 2023-06-09

Similar Documents

Publication Publication Date Title
CN111027113A (en) Method, system and storage medium for generating plane contour map based on building model
Cignoni et al. Representation and visualization of terrain surfaces at variable resolution
CN104346769B (en) The compression of three-dimensional modeling object
Aliaga et al. Interactive example-based urban layout synthesis
US8731876B2 (en) Creating editable feature curves for a multi-dimensional model
KR101465479B1 (en) Bim data processing system for displaying data of building based on bim
Liu et al. Industrial design using interpolatory discrete developable surfaces
JP5218109B2 (en) Visualization data processing device, visualization data processing device control method, and visualization data processing device control program
KR102356044B1 (en) Method of extracting and converting BIM data for Web Browser and VR/AR Application
WO2001008263A2 (en) Method and apparatus for generating atomic parts of graphic representation through skeletonization for interactive visualization applications
Demir et al. Proceduralization for editing 3d architectural models
CN113706713A (en) Live-action three-dimensional model cutting method and device and computer equipment
CN116051708A (en) Three-dimensional scene lightweight model rendering method, equipment, device and storage medium
WO2020097343A1 (en) Interactive system and method providing real-time virtual reality visualization of simulation data
US11450078B2 (en) Generating height maps from normal maps based on virtual boundaries
KR100809523B1 (en) System and method for constructing unified framework based on extensible styles for 3D non-photorealistic rendering
CN113096255A (en) WebGL-based three-dimensional view synchronous fusion non-invasive integration technical method
CN109858059B (en) Application method of virtual reality technology based on CAD (computer-aided design) super-large model in hydropower station simulation
KR20170142890A (en) System and Method for generating 3-Dimensional composited image of goods and packing box
Zhang et al. A geometry and texture coupled flexible generalization of urban building models
Kasperowski et al. Top-Down Drawings of Compound Graphs
KR102204031B1 (en) 3D visualization system of space based on geographic data and 3D visualization of space using it
Trapp Interactive rendering techniques for focus+ context visualization of 3d geovirtual environments
JP2002024298A (en) Three-dimensional shape processor, three-dimensional shape displaying method, and storage medium stored with program for implementing the same method
Smith 3D data representation, storage and processing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant