CN114722465A - Method, device and equipment for structure conversion in model - Google Patents

Method, device and equipment for structure conversion in model Download PDF

Info

Publication number
CN114722465A
CN114722465A CN202210318013.8A CN202210318013A CN114722465A CN 114722465 A CN114722465 A CN 114722465A CN 202210318013 A CN202210318013 A CN 202210318013A CN 114722465 A CN114722465 A CN 114722465A
Authority
CN
China
Prior art keywords
original structure
original
coordinates
model
triangular surfaces
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.)
Pending
Application number
CN202210318013.8A
Other languages
Chinese (zh)
Inventor
李劼
邬浩
郭丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Datamesh Technology Co ltd
Original Assignee
Beijing Datamesh Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Datamesh Technology Co ltd filed Critical Beijing Datamesh Technology Co ltd
Priority to CN202210318013.8A priority Critical patent/CN114722465A/en
Publication of CN114722465A publication Critical patent/CN114722465A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2119/00Details relating to the type or aim of the analysis or the optimisation
    • G06F2119/02Reliability analysis or reliability optimisation; Failure analysis, e.g. worst case scenario performance, failure mode and effects analysis [FMEA]

Abstract

The invention discloses a structure conversion method, a structure conversion device and a structure conversion device in a model, which relate to the technical field of model data processing, wherein the method comprises the following steps: acquiring an original structure and data of the original structure; respectively drawing at least two triangular surfaces of the original structure according to the data of the original structure; and splicing the at least two triangular surfaces to obtain a spliced frame structure, wherein the frame structure is used for replacing the original structure with the frame structure when the mobile equipment displays. Through the mode, the structure in the BIM is converted into the frame with smaller size, the performance consumption of the mobile equipment is reduced, and the user experience is enhanced.

Description

Structure conversion method, device and equipment in model
Technical Field
The invention relates to the technical field of model data processing, in particular to a structure conversion method, device and equipment in a model.
Background
Building Information Modeling (BIM) models are large in size and unique in structure, and can only be used in professional software, and mobile equipment is difficult to completely display the whole models once, so that the BIM models need to be partitioned to display local models, but only the local models are displayed, and users cannot feel the positions of the current models in the complete models.
Most of the prior art determines the allocation of the resource for object rendering according to the position and the importance of the node of the object model in the display environment by means of a level of Detail (LOD) model technology.
However, the conventional LOD technique requires that each original high-precision model corresponds to one or more levels of low-precision models, and in a super-large space, because the number of models is large and the models belong to low-precision models, the size of the whole program is greatly increased.
Based on this, how to convert the structure in the BIM model into a smaller-sized framework is a problem to be solved urgently by those skilled in the art.
Disclosure of Invention
In order to solve the above problems, a structure conversion method, device and apparatus in a model according to an embodiment of the present invention are provided.
According to an aspect of an embodiment of the present invention, there is provided a structure transformation method in a model, including:
acquiring an original structure and data of the original structure;
respectively drawing at least two triangular surfaces of the original structure according to the data of the original structure;
and splicing the at least two triangular surfaces to obtain a spliced frame structure, wherein the frame structure is used for replacing the original structure with the frame structure when the mobile equipment displays.
Optionally, the data of the original structure at least includes the following two types:
an outer bounding box of the original structure and a location of the original structure.
Optionally, the step of respectively drawing at least two triangular surfaces of the original structure according to the data of the original structure includes:
and respectively drawing twelve triangular surfaces of the original structure according to preset coordinates of an outer surrounding box of the original structure.
Optionally, the preset coordinates of the outer bounding box of the original structure at least include the following two coordinates:
highest point coordinates and lowest point coordinates within all coordinates of the bounding box outside the original structure.
Optionally, the drawing twelve triangular surfaces of the original structure according to the preset coordinates of the outer bounding box of the original structure includes:
obtaining corresponding eight range coordinates according to the highest point coordinate and the lowest point coordinate;
in the same Cartesian coordinate system, aiming at any four range coordinates, executing a first operation until planes in all Cartesian coordinate systems are divided into two triangles with equal areas, and obtaining twelve triangular surfaces of the original structure;
the first operation is:
randomly selecting three range coordinates from the four range coordinates to form a clockwise connecting line to form a first triangular surface;
and connecting the unselected range coordinates with two points corresponding to the hypotenuse of the first triangular surface in a clockwise manner to obtain a second triangular surface.
Optionally, the at least two triangular surfaces are spliced to obtain a spliced frame structure, including:
and splicing every two triangular surfaces corresponding to the bevel edges in the twelve triangular surfaces to obtain a spliced frame structure, wherein the spliced frame structure is a cubic structure.
Optionally, the position of the frame structure is the same as the position of the original structure.
Optionally, after obtaining the spliced frame structure, the method further includes:
and when the mobile equipment displays, replacing the original structure which does not accord with the preset rule with the frame structure, and reserving the original structure which accords with the preset rule.
According to another aspect of the embodiments of the present invention, there is provided a structure transformation apparatus in a model, the apparatus including:
the acquisition module is used for acquiring an original structure and data of the original structure;
the drawing module is used for respectively drawing at least two triangular surfaces of the original structure according to the data of the original structure;
and the conversion module is used for splicing the at least two triangular surfaces to obtain a spliced frame structure, and the frame structure is used for replacing the original structure with the frame structure when the mobile equipment displays.
According to still another aspect of an embodiment of the present invention, there is provided a computing device including: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the structure conversion method in the model.
According to a further aspect of the embodiments of the present invention, there is provided a computer storage medium, in which at least one executable instruction is stored, and the executable instruction causes a processor to execute operations corresponding to the structure transformation method in the above model.
According to the scheme provided by the embodiment of the invention, an original structure and data of the original structure are obtained; respectively drawing at least two triangular surfaces of the original structure according to the data of the original structure; and splicing the at least two triangular surfaces to obtain a spliced frame structure, wherein the frame structure is used for replacing the original structure with the frame structure when the mobile equipment displays. Through the mode, the structure in the BIM model is converted into the frame with smaller size, the performance consumption of the mobile equipment is reduced, and the user experience is enhanced.
The foregoing description is only an overview of the technical solutions of the embodiments of the present invention, and in order that the technical solutions of the embodiments of the present invention can be clearly understood, the embodiments of the present invention can be implemented according to the content of the description, and the above and other objects, features, and advantages of the embodiments of the present invention can be more clearly understood, the following detailed description of the embodiments of the present invention is given.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the embodiments of the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flow chart illustrating a method for structure transformation in a model according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a specific drawing of a cube triangle according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a specific procedure for drawing a cube according to an embodiment of the present invention;
fig. 4 shows a flowchart of a specific LOD display method implemented by data in a super-large space according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a structure transformation apparatus in a model provided by an embodiment of the invention;
fig. 6 shows a schematic structural diagram of a computing device provided by an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
Fig. 1 shows a flowchart of a structure transformation method in a model according to an embodiment of the present invention. As shown in fig. 1, the method comprises the steps of:
step 11, acquiring an original structure and data of the original structure;
step 12, respectively drawing at least two triangular surfaces of the original structure according to the data of the original structure;
and step 13, splicing the at least two triangular surfaces to obtain a spliced frame structure, wherein the frame structure is used for replacing the original structure with the frame structure when the mobile equipment displays.
In this embodiment, an original structure and data of the original structure are obtained; respectively drawing at least two triangular surfaces of the original structure according to the data of the original structure; and splicing the at least two triangular surfaces to obtain a spliced frame structure, wherein the frame structure is used for replacing the original structure with the frame structure when the mobile equipment displays. Through the mode, the structure in the BIM model is converted into the frame with smaller size, the performance consumption of the mobile equipment is reduced, and the user experience is enhanced.
In step 11, a compressed package may be generated from the obtained data of the original structure, and the content in the compressed package includes all the original structures and their information files in the original model, and the structures and their information files may also be compressed and stored separately.
In an optional embodiment of the present invention, the data of the original structure at least includes the following two types:
an outer bounding box of the original structure and a location of the original structure.
In this embodiment, the data of the original structure further includes: the type of structure, the location or coordinates of the structure, the rotational quaternion of the structure, raw data, etc., wherein the raw data includes materials, construction units, etc., but is not limited to the above.
A wireless mesh network (mesh) of structures can be rendered by the outer bounding box of the original structure and the location of the original structure.
In yet another alternative embodiment of the present invention, step 12 may comprise:
step 121, drawing twelve triangular surfaces of the original structure according to preset coordinates of an outer bounding box of the original structure, wherein the preset coordinates of the outer bounding box of the original structure at least comprise the following two coordinates:
highest point coordinates and lowest point coordinates within all coordinates of the outer bounding box of the original structure.
In this embodiment, any point may be taken from all coordinates of the outer bounding box of the original structure to obtain the highest coordinate (maxX, maxY, maxZ) and the lowest coordinate (minX, minY, minZ) of the outer bounding box.
In yet another alternative embodiment of the present invention, step 121 may comprise:
step 1211, obtaining corresponding eight range coordinates according to the highest point coordinate and the lowest point coordinate;
step 1212, in the same cartesian coordinate system, for any four range coordinates, executing a first operation until all planes in the cartesian coordinate system are divided into two triangles with equal area, to obtain twelve triangular faces of the original structure;
the first operation is:
step 12121, selecting three range coordinates clockwise connecting lines from the four range coordinates to form a first triangular surface;
step 12122, clockwise connecting the unselected range coordinates with the two points corresponding to the hypotenuse of the first triangular surface to obtain a second triangular surface.
As shown in fig. 2, in this embodiment, the following describes a method of drawing a cube in a specific example:
firstly, assuming that after obtaining the highest coordinates (maxX, maxY, maxZ) and the lowest coordinates (minX, minY, minZ) of the outer enclosure box of a certain structure, the lowest coordinates are used as the first vertex of the pre-generated cube, that is, the point 1(minX, minY, minZ) in fig. 2 corresponds to, then the highest coordinate point 7(maxX, maxY, maxZ) of the structure;
next, after obtaining the lowest coordinate point 1 and the highest coordinate point 7 of the structure, the coordinates (X, Y, Z) of the two points are arranged and combined to obtain 8 coordinates of the pre-generated cube, which correspond to the points 1 to 8 in fig. 2, that is: point 1(minX, minY, minZ), point 2(maxX, minY, minZ), point 3(maxX, maxY, minZ), point 4(minX, maxY, minZ), point 5(minX, minY, maxZ), point 6(maxX, minY, maxZ), point 7(maxX, maxY, maxZ), point 8(minX, maxY, maxZ).
Then, after obtaining 8 vertex coordinates of the pre-generated cube, 6 faces of the pre-generated cube may also be obtained, and in each face, twelve triangular faces of the cube are constructed according to the clockwise connecting line in fig. 2, but the construction method is not limited to the method of connecting lines clockwise as in the drawing.
In fig. 2, the front face of the pre-generated cube is taken as an example, two triangular faces 1-5-6 and 6-2-1 are formed, and the clockwise direction is selected to form the triangular faces. The same procedure was used to obtain a total of 12 other 5 faces of the pre-generated cube, which were: 1-5-6, 6-2-1, 2-6-7, 7-3-2, 7-8-4, 4-3-7, 4-8-5, 5-1-4, 5-8-7, 7-6-5, 4-1-2, 2-3-4.
In another optional embodiment of the present invention, in step 13, splicing the at least two triangular surfaces to obtain a spliced frame structure, may include:
and 131, splicing every two triangular surfaces corresponding to the oblique edges of the twelve triangular surfaces to obtain a spliced frame structure, wherein the spliced frame structure is a cubic structure.
As shown in fig. 3, in this embodiment, after obtaining 8 vertices and 12 triangle faces of the pre-generated cube, the cube structure may be obtained by a model mesh rendering method provided by a game engine (Unity), where fig. 3 is an API provided by Unity, but the method for generating the cube is not limited to the above.
In a further alternative embodiment of the invention, the position of the frame structure is the same as the position of the original structure.
In this embodiment, since the position of the original data is included when the data of the original structure is acquired, and the conversion is performed in the original position when the original structure is converted, the position of the frame structure is the same as the position of the original structure.
In still another optional embodiment of the present invention, after step 13, the method may further include:
step 132, replacing the original structure not meeting the preset rule with the frame structure when the mobile device displays, and reserving the original structure meeting the preset rule.
In this embodiment, the preset rule may be set according to an actual situation, for example: the original structure may be set within a range of 100 meters from the origin of the mobile device in the mobile device, and the frame structure may be set outside the range of 100 meters, or the frame structure may be set in the mobile device with a larger occupied memory, and the original structure with a smaller memory, but the above two are merely two examples, and the preset rule includes but is not limited to the above.
Fig. 4 shows a flowchart of a specific method for implementing a multiple level of detail (LOD) display on data in a super-large space according to an embodiment of the present invention, where as shown in fig. 4, the large space is divided into at least two blocks, each block includes corresponding component information, and a mesh of a component can be drawn through the information. Thus, the number of triangular faces of each member is 12, and LOD display of a large number of models can be satisfied.
The method has the core functions that: and generating a cube by using the constructed outer bounding box data. The resulting cube was used to simulate a member in a low-modulus state, wherein the member corresponds to the structure in the above-described embodiment.
The specific method comprises the following steps:
first, the model is split. The model splitting can be divided into two stages, firstly, the same building blocks are classified by analyzing the structure of the BIM model, and a classified JS Object numbered Notation (JSON) file is generated in the stage; secondly, exporting the BIM into a data file consisting of a three-dimensional model and large space data information of all components through a json file, wherein the data structure of the large space data comprises data of an outer bounding box.
Second, all required low modes can be generated after obtaining large spatial data of all models. The outer bounding box of each member is two coordinate points: the lowest point coordinates (minX, minY, minZ) and the highest point coordinates (maxX, maxY, maxZ) of the model in the coordinate system. The model mesh rendering method is provided by Unity, namely 8 vertexes and 12 triangular faces of a specified cube are generated into the cube.
Finally, when the program is started, the position of the camera is the origin. With the movement of the user control equipment, the coordinates of the camera dynamically change, only high-precision models in a small range around the camera need to be loaded according to the coordinates of the camera, and models outside the range are replaced by low models, so that the requirement that the user checks nearby models around can be met, the position of the user in a large space can be known, and the subsequent movement and operation are facilitated.
In the above embodiment of the present invention, an original structure and data of the original structure are obtained; respectively drawing at least two triangular surfaces of the original structure according to the data of the original structure; and splicing the at least two triangular surfaces to obtain a spliced frame structure, wherein the frame structure is used for replacing the original structure with the frame structure when the mobile equipment displays, so that the structure in the BIM model is converted into a frame with smaller size, the performance consumption of the mobile equipment is reduced, and the user experience is enhanced.
Fig. 5 is a schematic structural diagram of a structure converting apparatus 50 in the model provided by the embodiment of the present invention. As shown in fig. 5, the apparatus includes:
an obtaining module 51, configured to obtain an original structure and data of the original structure;
a drawing module 52, configured to draw at least two triangular surfaces of the original structure according to the data of the original structure;
a conversion module 53, configured to splice the at least two triangular surfaces to obtain a spliced frame structure, where the frame structure is used to replace the original structure with the frame structure when the mobile device displays the frame structure.
Optionally, the data of the original structure at least includes the following two types:
an outer bounding box of the original structure and a location of the original structure.
Optionally, the drawing module 52 is further configured to draw twelve triangular surfaces of the original structure according to preset coordinates of an outer bounding box of the original structure.
Optionally, the preset coordinates of the outer bounding box of the original structure at least include the following two coordinates:
highest point coordinates and lowest point coordinates within all coordinates of the bounding box outside the original structure.
Optionally, the drawing module 52 is further configured to obtain corresponding eight range coordinates according to the highest point coordinate and the lowest point coordinate;
in the same Cartesian coordinate system, aiming at any four range coordinates, executing a first operation until planes in all the Cartesian coordinate systems are divided into two triangles with equal areas, and obtaining twelve triangular surfaces of the original structure;
the first operation is:
randomly selecting three range coordinates from the four range coordinates to form a clockwise connecting line to form a first triangular surface;
and connecting the unselected range coordinates with two points corresponding to the hypotenuse of the first triangular surface in a clockwise manner to obtain a second triangular surface.
Optionally, the conversion module 53 is further configured to splice every two of the triangular surfaces corresponding to the oblique edges of the twelve triangular surfaces to obtain a spliced frame structure, where the spliced frame structure is a cubic structure.
Optionally, the position of the frame structure is the same as the position of the original structure.
Optionally, the conversion module 53 is further configured to replace the original structure that does not meet the preset rule with the frame structure and retain the original structure that meets the preset rule when the mobile device displays the frame structure.
It should be understood that the above description of the method embodiments illustrated in fig. 1 to 4 is merely an illustration of the technical solution of the present invention by way of alternative examples, and does not limit the structure transformation method in the model related to the present invention. In other embodiments, the execution steps and the sequence of the structure transformation method in the model according to the present invention may be different from those in the foregoing embodiments, and the embodiments of the present invention do not limit this.
It should be noted that this embodiment is an apparatus embodiment corresponding to the above method embodiment, and all the implementations in the above method embodiment are applicable to this apparatus embodiment, and the same technical effects can be achieved.
An embodiment of the present invention provides a non-volatile computer storage medium, where at least one executable instruction is stored in the computer storage medium, and the computer executable instruction may execute the structure transformation method in the model in any of the above method embodiments.
Fig. 6 illustrates a schematic structural diagram of a computing device according to an embodiment of the present invention, where the specific embodiment of the present invention does not limit a specific implementation of the computing device.
As shown in fig. 6, the computing device may include: a processor (processor), a Communications Interface (Communications Interface), a memory (memory), and a Communications bus.
Wherein: the processor, the communication interface, and the memory communicate with each other via a communication bus. A communication interface for communicating with network elements of other devices, such as clients or other servers. And the processor is used for executing the program, and particularly can execute the relevant steps in the structure conversion method embodiment in the model for the computing equipment.
In particular, the program may include program code comprising computer operating instructions.
The processor may be a central processing unit CPU or an application Specific Integrated circuit asic or one or more Integrated circuits configured to implement embodiments of the present invention. The computing device includes one or more processors, which may be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
And the memory is used for storing programs. The memory may comprise high-speed RAM memory, and may also include non-volatile memory, such as at least one disk memory.
The program may specifically be adapted to cause a processor to execute the structure transformation method in the model in any of the above-described method embodiments. For specific implementation of each step in the program, reference may be made to corresponding steps and corresponding descriptions in units in the embodiment of the structure transformation method in the above model, which are not described herein again. It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described devices and modules may refer to the corresponding process descriptions in the foregoing method embodiments, and are not described herein again.
The algorithms or displays presented herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. In addition, embodiments of the present invention are not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of embodiments of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of use of an embodiment of the present invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the embodiments of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components.
Furthermore, those skilled in the art will appreciate that while some embodiments herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components according to embodiments of the present invention. Embodiments of the invention may also be implemented as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing embodiments of the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that the word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. Embodiments of the invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names. The steps in the above embodiments should not be construed as limiting the order of execution unless specified otherwise.

Claims (11)

1. A structure transformation method in a model, which is applied to a mobile device, the method comprises:
acquiring an original structure and data of the original structure;
respectively drawing at least two triangular surfaces of the original structure according to the data of the original structure;
and splicing the at least two triangular surfaces to obtain a spliced frame structure, wherein the frame structure is used for replacing the original structure with the frame structure when the mobile equipment displays the image.
2. The method of structure transformation in a model of claim 1, wherein said data of original structure comprises at least two of:
an outer bounding box of the original structure and a location of the original structure.
3. The method of structure transformation in a model according to claim 2, wherein rendering at least two triangular faces of the original structure, respectively, from the data of the original structure comprises:
and respectively drawing twelve triangular surfaces of the original structure according to preset coordinates of an outer surrounding box of the original structure.
4. The structure transformation method in model according to claim 3, wherein the preset coordinates of the outer bounding box of the original structure at least comprise the following two coordinates:
highest point coordinates and lowest point coordinates within all coordinates of the bounding box outside the original structure.
5. The method of claim 4, wherein the drawing twelve triangular surfaces of the original structure according to the preset coordinates of the outer bounding box of the original structure comprises:
obtaining corresponding eight range coordinates according to the highest point coordinate and the lowest point coordinate;
in the same Cartesian coordinate system, aiming at any four range coordinates, executing a first operation until planes in all the Cartesian coordinate systems are divided into two triangles with equal areas, and obtaining twelve triangular surfaces of the original structure;
the first operation is:
randomly selecting three range coordinates from the four range coordinates to form a clockwise connecting line to form a first triangular surface;
and connecting the unselected range coordinates with two points corresponding to the hypotenuse of the first triangular surface in a clockwise manner to obtain a second triangular surface.
6. The method of claim 3, wherein the step of splicing the at least two triangular surfaces to obtain a spliced frame structure comprises:
and splicing every two triangular surfaces corresponding to the bevel edges in the twelve triangular surfaces to obtain a spliced frame structure, wherein the spliced frame structure is a cubic structure.
7. The method of structure transformation in a model according to claim 2, wherein the position of the frame structure is the same as the position of the original structure.
8. The method of structure transformation in a model according to claim 1, further comprising, after obtaining the spliced framework structure:
and when the mobile equipment displays, replacing the original structure which does not accord with the preset rule with the frame structure, and reserving the original structure which accords with the preset rule.
9. An apparatus for converting a structure in a model, applied to a mobile device, the apparatus comprising:
the acquisition module is used for acquiring an original structure and data of the original structure;
the drawing module is used for respectively drawing at least two triangular surfaces of the original structure according to the data of the original structure;
and the conversion module is used for splicing the at least two triangular surfaces to obtain a spliced frame structure, and the frame structure is used for replacing the original structure with the frame structure when the mobile equipment displays the image.
10. A computing device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is for storing at least one executable instruction that when executed causes the processor to perform the method of structure transformation in a model according to any of claims 1-8.
11. A computer storage medium having stored therein at least one executable instruction that when executed causes a computing device to perform a method of structure transformation in a model as claimed in any one of claims 1 to 8.
CN202210318013.8A 2022-03-29 2022-03-29 Method, device and equipment for structure conversion in model Pending CN114722465A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210318013.8A CN114722465A (en) 2022-03-29 2022-03-29 Method, device and equipment for structure conversion in model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210318013.8A CN114722465A (en) 2022-03-29 2022-03-29 Method, device and equipment for structure conversion in model

Publications (1)

Publication Number Publication Date
CN114722465A true CN114722465A (en) 2022-07-08

Family

ID=82239778

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210318013.8A Pending CN114722465A (en) 2022-03-29 2022-03-29 Method, device and equipment for structure conversion in model

Country Status (1)

Country Link
CN (1) CN114722465A (en)

Similar Documents

Publication Publication Date Title
CN107358649B (en) Processing method and device of terrain file
US9916674B2 (en) Baking path rendering objects into compact and efficient memory representations
US8725466B2 (en) System and method for hybrid solid and surface modeling for computer-aided design environments
CN105574931A (en) Electronic map road drawing method and device
CN112749244A (en) Method and device for realizing digital twin city space coordinate system based on illusion engine and storage medium
CN113724401A (en) Three-dimensional model cutting method and device, computer equipment and storage medium
KR101552827B1 (en) Method Of Dividing Three-dimensional Object Model
CN115578536A (en) Node merging method and device for layered and partitioned three-dimensional model and electronic device
CN112785676B (en) Image rendering method, device, equipment and storage medium
RU2680355C1 (en) Method and system of removing invisible surfaces of a three-dimensional scene
CN112734900A (en) Baking method, baking device, baking equipment and computer-readable storage medium of shadow map
CN110378948B (en) 3D model reconstruction method and device and electronic equipment
CN111950057A (en) Loading method and device of Building Information Model (BIM)
CN112132941A (en) Character rendering method, device and equipment and storage medium
CN108553900B (en) Method capable of being repeatedly used by overlapping storage based on UE engine
CN114722465A (en) Method, device and equipment for structure conversion in model
KR101919085B1 (en) Apparatus and method for simplification of 3D mesh data
CN112115680B (en) Font splitting method and device, computer equipment and computer readable storage medium
CN114564268A (en) Equipment management method and device, electronic equipment and storage medium
CN114332203A (en) Method and device for determining light source information of virtual light source
CN114519762A (en) Model normal processing method and device, storage medium and electronic equipment
CN112465692A (en) Image processing method, device, equipment and storage medium
US20220005261A1 (en) Method for instant rendering of voxels
CN116309974B (en) Animation scene rendering method, system, electronic equipment and medium
US7593011B2 (en) Light map compression

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