A 3D apartment space operation method
Through digital 3D space loading and mobile user interaction, the size and layout of the 3D apartment model are adjusted in real time, and the problems of poor operation experience, high cost and single functions in the existing technology are solved, and user-friendly private customization and interaction functions are realized.
Patent Information
- Application Number
- CN202410616842.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-17
- Publication Date
- 2025-03-07
- Estimated Expiration
- 2044-05-17
AI Technical Summary
In the prior art, the operating experience of the 3D apartment model is poor, has high cost and single functions, and cannot meet the real-time variable needs of users.
Through digital 3D space loading and stretching information collected by the user's mobile terminal, the size and layout of the 3D apartment model are adjusted in real time to realize the private customization of the model and user interaction.
It improves user operation convenience and experience, realizes arbitrary expansion and contraction of the 3D apartment model, meets the needs of users in different scenarios, and reduces costs.
Smart Images

Figure CN118470275B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of digital 3D technology, and in particular relates to a 3D apartment space operation method. Background Art
[0002] With the development of technology, 3D house models have been widely used in architectural design, interior design, home decoration and other fields. Users can understand the structure and layout of the house more intuitively through 3D house models, providing users with a convenient design and communication platform.
[0003] In the prior art, the main model making methods include online and offline. Among them, the offline 3D model of a fixed apartment type cannot be arbitrarily scaled according to user needs, which limits the user experience when viewing and operating the model, lacks the functions of private customization and user interaction, and requires the purchase of professional equipment to shoot 3D materials and 3D space on site, which is costly and time-consuming. Online model making uses a unified apartment type editor, which also has the defects of relatively single functions, fixed apartment types and models, and cannot well meet the user's real-time variable needs, and the cost is also relatively high. Summary of the invention
[0004] In order to solve the problems of poor user experience, high cost and single function in operating 3D apartment models in the prior art, the present invention aims to provide a 3D apartment space operation method.
[0005] The technical solution adopted by the present invention is:
[0006] A 3D apartment space operation method comprises the following steps:
[0007] According to the apartment data of the apartment space, the digital 3D space is loaded to obtain and visualize the corresponding 3D apartment model;
[0008] Based on the user's mobile terminal, the stretching information set by the user is collected; the stretching information includes the set stretching position of the model space and the stretching data for stretching;
[0009] According to the stretching information, the 3D apartment model is changed, and the corresponding changed 3D apartment model is obtained and visualized.
[0010] Furthermore, the apartment data includes space data, wall data, and layout data;
[0011] The space data includes space type, space attributes, preset dimensions, space wall attributes, and space layout attributes;
[0012] Wall data includes wall orientation attributes, wall model type, and fixed width attributes;
[0013] Layout data includes layout information, rotation properties, wall properties, and model dimensions.
[0014] Furthermore, according to the apartment data of the apartment space, the digital 3D space is loaded to obtain and visualize the corresponding 3D apartment model, including the following steps:
[0015] According to the spatial type of the spatial data in the apartment data, the corresponding spatial model is loaded; the spatial model is composed of an indoor spatial model and an outdoor spatial model;
[0016] According to the spatial wall attributes in the spatial data, a corresponding wall model is loaded into the spatial model to obtain a corresponding wall loading model;
[0017] According to the layout data in the apartment data, the corresponding furniture model is loaded into the wall loading model to obtain the corresponding 3D apartment model;
[0018] Based on the user's mobile terminal, the 3D apartment model is visualized.
[0019] Further, according to the spatial wall attributes in the spatial data, a corresponding wall model is loaded into the spatial model to obtain a corresponding wall loading model, including the following steps:
[0020] According to the wall orientation attribute and wall model type of the wall data in the apartment data, the setting order and preset sizes of the corresponding wall objects are obtained;
[0021] Based on the preset setting order of the wall object, according to the spatial attributes in the spatial data and the preset size of the wall object, the wall position information of the current wall object and the starting position information of the current setting direction are obtained;
[0022] Based on the setting direction of the preset setting order, if there is another wall object that has not been set, the wall position information, the starting position information and the wall size of the wall object to be set are obtained according to the starting position information of the current wall object in the current setting direction;
[0023] Traverse each wall object of the spatial model until obtaining the wall position information, starting position information and wall size of all wall objects;
[0024] According to the wall position information, the starting position information and the wall size of each wall object, all the wall objects of the space model are instantiated and loaded to obtain a number of corresponding wall models;
[0025] During the instantiation loading process, the deformation information of all wall models is obtained, and the deformation information and wall position information of the wall models are stored in the corresponding wall models;
[0026] Until all wall models of the space model are instantiated and loaded, the corresponding wall loading model is obtained.
[0027] Further, according to the layout data in the apartment data, the corresponding furniture model is loaded into the wall loading model to obtain the corresponding 3D apartment model, including the following steps:
[0028] According to the spatial layout attributes in the spatial data, the layout data corresponding to the wall loading model is obtained, and according to the layout information in the layout data, the corresponding furniture objects are obtained;
[0029] According to the rotation attribute of each furniture object in the layout data, obtain the corresponding rotation angle;
[0030] Acquire corresponding first position information according to the wall-facing attribute, model size, and corresponding rotation angle of each furniture object in the layout data;
[0031] Acquire corresponding second position information according to the reference object information in the layout data and the first position information of each furniture object;
[0032] According to the first position information and / or the second position information, instantiate and load the furniture object to obtain a corresponding furniture model;
[0033] Until all furniture models of the wall loading model are instantiated and loaded, the corresponding 3D apartment model is obtained.
[0034] Further, according to the stretching information, the 3D apartment model is changed to obtain and visualize the corresponding changed 3D apartment model, including the following steps:
[0035] According to the stretching information, the affected space model of the 3D apartment model is changed to obtain the corresponding changed space model;
[0036] Based on the changed space model, the wall model of the 3D apartment model is changed to obtain the corresponding changed wall model;
[0037] Based on the changed space model, the furniture model of the 3D apartment model is changed to obtain the corresponding changed furniture model;
[0038] Integrate the changed space model, the changed wall model and the changed furniture model to obtain the corresponding changed 3D apartment model;
[0039] Based on the user's mobile terminal, the changed 3D apartment model is visualized.
[0040] Furthermore, according to the stretching information, the affected space model of the 3D apartment model is changed to obtain a corresponding changed space model, including the following steps:
[0041] According to the core point of the 3D apartment model, obtain the quadrant information of all space models of the 3D apartment model;
[0042] According to the stretching position in the stretching information, the model space to be stretched in the space model of the 3D apartment model is used as the influencing model space;
[0043] According to the stretching position and the stretching data in the stretching information, a changed spatial area value of the spatial model of the 3D apartment model after stretching is obtained;
[0044] According to the quadrant information of the influencing model space and the area value of the changing space, the influencing model space is stretched and deformed to obtain the corresponding changed space model.
[0045] Further, based on the changed space model, the wall model of the 3D apartment model is changed to obtain the corresponding changed wall model, including the following steps:
[0046] In the process of stretching deformation of the influencing model space, the wall stretching direction and wall stretching ratio corresponding to all influencing wall models in the influencing model space are obtained according to the stretching position and the stretching data;
[0047] Based on the changed spatial model, all adjacent model spaces that affect the wall model are obtained;
[0048] According to the wall stretching direction and wall stretching ratio of the influencing wall model, all influencing wall models in the influencing model space and each adjacent wall model in all adjacent model spaces are synchronously stretched and deformed to obtain a number of corresponding changed wall models;
[0049] The changed wall model is patched to obtain the final changed wall model.
[0050] Further, based on the changed space model, the furniture model of the 3D apartment model is changed to obtain the corresponding changed furniture model, including the following steps:
[0051] Based on the changed space model, clear all initial furniture models in the affected model space and adjacent model spaces;
[0052] Obtaining the layout information in the changed space size and layout data that affects the model space / adjacent model space, and obtaining a number of corresponding suitable furniture objects according to the changed space size and the corresponding layout information;
[0053] Based on the changed space model, according to the stretching position and the stretching data, the furniture stretching direction and the furniture stretching ratio of the suitable furniture objects in the influencing model space / adjacent model space are obtained;
[0054] According to the furniture stretching direction and the furniture stretching ratio, obtaining the presentation size and third position information of each suitable furniture object in the influencing model space / adjacent model space;
[0055] According to the presentation size and the third position information, the appropriate furniture object is stretched, deformed and instantiated and loaded to obtain the corresponding furniture models after several changes.
[0056] Furthermore, the mobile terminal is equipped with a Web client, which uses a WebGL application to load the digital 3D space and visualize the 3D model of the house type.
[0057] The beneficial effects of the present invention are:
[0058] The present invention discloses a 3D apartment space operation method, wherein a user can view and adjust a 3D apartment model through a mobile terminal anytime and anywhere, thereby improving the user's operation convenience; real-time scaling interaction is adopted, so that when the 3D apartment model is presented on the mobile terminal, the size can be arbitrarily scaled, thereby meeting the user's needs in different scenarios and improving the user's experience when viewing and operating the model; the 3D apartment model private customization and user interaction functions are provided, thereby improving the functionality and meeting the user's real-time variable needs; a mobile terminal 3D rendering engine realizes the display and adjustment of the model, thereby having high rendering quality and operating efficiency, thereby further improving the user experience; the efficiency of rendering and visualization of the 3D apartment model is improved and the cost is reduced.
[0059] Other beneficial effects of the present invention will be further described in the specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Figure 1 It is a flowchart of the 3D apartment space operation method in the present invention. DETAILED DESCRIPTION
[0061] The present invention will be further explained below in conjunction with the accompanying drawings and specific embodiments.
[0062] Embodiment 1:
[0063] like Figure 1 As shown, this embodiment provides a charging pile monitoring method based on digital twins, comprising the following steps:
[0064] S1: According to the apartment data of the apartment space, digital 3D space loading is performed to obtain and visualize the corresponding apartment 3D model, including the following steps:
[0065] S1-1: Load the corresponding space model according to the space type of the space data in the apartment data; the space model consists of an indoor space model and an outdoor space model;
[0066] The apartment type is composed of multiple spaces, each of which is composed of the state of the wall (if there is a wall, then the wall model) and the furniture layout. The apartment type data includes space data, wall data and layout data;
[0067] The spatial data includes the spatial type, spatial attributes (spaceCenterX, spaceCenterY, used to determine the size of the space), preset dimensions (spaceWidth, spaceHeight, used to determine the position of the space), spatial wall attributes (wallID, used to load the specified wall data), and spatial layout attributes (LayoutID, used to load the specified layout data);
[0068] Wall data includes wall direction attribute (wallDirection, used to determine the wall direction of the operated space, including: east, west, south and north), wall model type (wallType, used to specify the wall model type, including: solid wall, window and door, etc.) and fixed width attribute (an identification value of 0 or 1, used to indicate whether the width is fixed. If it is 1, the width and wall model size are fixed. If it is 0, the width is not fixed, and the wall model will start the automatic stretching algorithm according to the size of the space, and automatically stretch the wall size according to the mutual relationship between the models);
[0069] The layout data includes layout information (used to match the corresponding furniture objects), rotation properties, wall properties (modelReference, used to configure the model reference, which can refer to the space wall or other models. The setting of the reference object enables the model to move automatically with the movement of the reference) and model size (modelSize, used to configure the original size of the model to facilitate the calculation of model scaling and position);
[0070] S1-2: According to the spatial wall attribute wallID in the spatial data, a corresponding wall model is loaded for the spatial model to obtain a corresponding wall loading model, including the following steps:
[0071] S1-2-1: According to the wall orientation attribute wallDirection and the wall model type wallType of the wall data in the apartment data, obtain the setting order and preset sizes of the corresponding wall objects;
[0072] S1-2-2: Based on the preset setting order of the wall objects (all wall objects in the north-south direction are set first, and all wall objects in the east-west direction are set subsequently in the order of north, south, east, and west), according to the spatial attributes (spaceCenterX, spaceCenterY) in the spatial data and the preset size (spaceWidth, spaceHeight) of the wall object, the wall position information of the current wall object and the starting position information of the current setting direction are obtained (the relative starting position of the wall objects in the north-south direction is calculated from the left side, and the relative starting position of the wall objects in the east-west direction is calculated from the top side);
[0073] S1-2-3: Based on the setting direction of the preset setting order, if there is another wall object that has not been set, then according to the starting position information of the current wall object in the current setting direction, obtain the wall position information, starting position information and wall size of the wall object to be set (the wall size of the wall object in the north-south direction is the wall width, and the wall size of the wall object in the east-west direction is the wall height);
[0074] S1-2-4, traversing each wall object of the spatial model until obtaining the wall position information, starting position information and wall size of all wall objects;
[0075] S1-2-5: According to the wall position information, the starting position information and the wall size of each wall object, instantiate and load all the wall objects of the space model to obtain a number of corresponding wall models;
[0076] In the embodiment, the WebGL technology of instantiated mesh is used to instantiate the wall objects of the same wall model only once;
[0077] S1-2-6: During the instantiation loading process, the deformation information of all wall models is obtained, and the deformation information and wall position information of the wall model are stored in the corresponding wall model; the position information and deformation information of the wall object are stored in the instantiated wall model in the form of a matrix, which greatly reduces the usage ratio of resources such as memory and GPU;
[0078] S1-2-7: until all wall models of the space model are instantiated and loaded, the corresponding wall loading model is obtained;
[0079] S1-3: According to the layout data in the apartment data, the corresponding furniture model is loaded into the wall loading model to obtain the corresponding apartment 3D model, including the following steps:
[0080] S1-3-1: According to the spatial layout attribute LayoutID in the spatial data, the layout data corresponding to the wall loading model is obtained, and according to the layout information in the layout data, the corresponding furniture objects are obtained;
[0081] S1-3-2: According to the rotation attribute of each furniture object in the layout data, obtain the corresponding rotation angle rotationY;
[0082] S1-3-3: Obtain corresponding first position information according to the wall-facing attributes (isStepAsideLeft, isStepAsideRight, isStepAsideTop, isStepAsideBottom), model size (modelWidth, modelHeight) and corresponding rotation angle of each furniture object in the layout data;
[0083] If the wall-against attribute indicates that the furniture object is against the wall, the first position information (coordinate information in the three-dimensional space) of the furniture object is calculated according to the rotation angle (rotationY) and the model size (modelWidth, modelHeight) of the furniture object;
[0084] S1-3-4: acquiring corresponding second position information according to the reference object information in the layout data (another furniture object is a reference object of the current furniture object) and the first position information of each furniture object;
[0085] If the reference object information indicates that the furniture object has reference object (another furniture model) information, the second position information of the current furniture object is recalculated according to the position information of the reference object (i.e., the first position information of the reference object: the three-dimensional coordinates of the reference object, the model size information of the reference object - height - width, and the distance relative to the reference object);
[0086] S1-3-5: instantiate and load the furniture object according to the first position information and / or the second position information to obtain a corresponding furniture model;
[0087] S1-3-6: until all furniture models of the wall loading model are instantiated and loaded, the corresponding apartment 3D model is obtained;
[0088] S1-4: Visualize the 3D model of the apartment based on the user's Web client;
[0089] The mobile terminal is equipped with a web client, which uses a WebGL application to load digital 3D space and visualize the 3D model of the apartment;
[0090] Using open source technology WebGL, the 3D apartment space visualization, 3D space dragging and changing, 3D space layout changes, 3D wall adaptive stretching changes, and 3D model adaptive adjustment are realized on the mobile terminal.
[0091] S2: Based on the user's Web client, collecting the stretching information set by the user; the stretching information includes the set stretching position of the model space and the stretching data for stretching;
[0092] S3: According to the stretching information, the 3D model of the apartment type is changed, and the corresponding changed 3D model of the apartment type is obtained and visualized, including the following steps:
[0093] S3-1: According to the stretching information, the affected space model of the apartment 3D model is changed to obtain the corresponding changed space model, including the following steps:
[0094] S3-1-1: According to the core point of the 3D model of the apartment type, obtain the quadrant information of all space models of the 3D model of the apartment type;
[0095] S3-1-2: according to the stretching position in the stretching information, the model space in the space model of the apartment 3D model that is stretched is used as the influencing model space;
[0096] S3-1-3: according to the stretching position and stretching data in the stretching information, obtain the changed spatial area value of the spatial model of the 3D model of the apartment after stretching; according to the latest area value, synchronously change the original area of the space to obtain the changed width and height of the space, and then obtain the corresponding changed spatial area value;
[0097] S3-1-4: According to the quadrant information of the influencing model space and the area value of the changing space, the influencing model space is stretched and deformed to obtain the corresponding changed space model;
[0098] If the affected model space is in quadrant 1 or 2, stretch the space model to the south or west; if the affected model space is in quadrant 3 or 4, stretch the space model to the south or east; and if the size of a single model space of the space model is modified, the associated model space will be calculated, and the model space size will be enlarged. The model spaces on the same side will be enlarged, and those on different sides will be reduced;
[0099] S3-2: Based on the changed space model, the wall model of the apartment 3D model is changed to obtain the corresponding changed wall model, including the following steps:
[0100] S3-2-1: in the process of stretching deformation of the influencing model space, obtaining the wall stretching direction and wall stretching ratio corresponding to all influencing wall models in the influencing model space according to the stretching position and stretching data;
[0101] S3-2-2: Based on the changed spatial model, obtain all adjacent model spaces that affect the wall model;
[0102] S3-2-3: According to the wall stretching direction and wall stretching ratio of the influencing wall model, all influencing wall models in the influencing model space and each adjacent wall model in all adjacent model spaces are synchronously stretched and deformed to obtain a number of corresponding changed wall models;
[0103] S3-2-4: Perform wall filling processing on the changed wall model to obtain the final changed wall model; check whether the model space of the changed wall model needs wall filling (when the space is in direct contact with the outside world and there is no wall on the contact surface), then add a section of solid wall model to the wall model of the model space;
[0104] S3-3: Based on the changed space model, the furniture model of the apartment 3D model is changed to obtain the corresponding changed furniture model, including the following steps:
[0105] S3-3-1: Based on the changed space model, clear all initial furniture models in the affected model space and adjacent model spaces;
[0106] S3-3-2: Obtain the layout information in the changed space size and layout data that affects the model space / adjacent model space, and obtain a number of corresponding suitable furniture objects according to the changed space size and the corresponding layout information; specifically, select a suitable maximum layout scheme according to the changed space size and the minimum size of the layout of the changed space, and obtain a number of corresponding suitable furniture objects according to the maximum layout scheme;
[0107] S3-3-3: Based on the changed space model, according to the stretching position and stretching data, obtain the furniture stretching direction and furniture stretching ratio of the suitable furniture objects in the affecting model space / adjacent model space;
[0108] S3-3-4: according to the furniture stretching direction and the furniture stretching ratio, obtaining the presentation size and third position information of each suitable furniture object in the influencing model space / adjacent model space;
[0109] S3-3-5: According to the presentation size and the third position information, stretch and deform the appropriate furniture object and instantiate and load it to obtain corresponding furniture models after several changes;
[0110] S3-4: Integrate the changed space model, the changed wall model and the changed furniture model to obtain the corresponding changed apartment 3D model;
[0111] S3-5: Based on the user's web client, the 3D model of the changed apartment is visualized.
[0112] The present invention discloses a 3D apartment space operation method, wherein a user can view and adjust a 3D apartment model through a mobile terminal anytime and anywhere, thereby improving the user's operation convenience; real-time scaling interaction is adopted, so that when the 3D apartment model is presented on the mobile terminal, the size can be arbitrarily scaled, thereby meeting the user's needs in different scenarios and improving the user's experience when viewing and operating the model; the 3D apartment model private customization and user interaction functions are provided, thereby improving the functionality and meeting the user's real-time variable needs; a mobile terminal 3D rendering engine realizes the display and adjustment of the model, thereby having high rendering quality and operating efficiency, thereby further improving the user experience; the efficiency of rendering and visualization of the 3D apartment model is improved and the cost is reduced.
[0113] The present invention is not limited to the above optional implementations, and anyone can derive other various forms of products under the enlightenment of the present invention. The above specific implementations should not be understood as limiting the scope of protection of the present invention. The scope of protection of the present invention should be based on the definition in the claims, and the description can be used to interpret the claims.
Claims
1. A 3D apartment space operation method, characterized by: The steps include: According to the apartment data of the apartment space, the digital 3D space is loaded to obtain and visualize the corresponding 3D apartment model; The apartment data includes space data, wall data and layout data; The space data includes space type, space attributes, preset dimensions, space wall attributes and space layout attributes; The wall data includes wall orientation attributes, wall model type and fixed width attributes; The layout data includes layout information, rotation attributes, wall attributes and model size; According to the apartment data of the apartment space, the digital 3D space is loaded to obtain and visualize the corresponding 3D apartment model, including the following steps: According to the spatial type of the spatial data in the apartment data, a corresponding spatial model is loaded; the spatial model is composed of an indoor spatial model and an outdoor spatial model; According to the spatial wall attributes in the spatial data, a corresponding wall model is loaded into the spatial model to obtain a corresponding wall loading model; According to the layout data in the apartment data, the corresponding furniture model is loaded into the wall loading model to obtain the corresponding 3D apartment model; Visualize the 3D apartment model based on the user's mobile terminal; Based on the user's mobile terminal, the stretching information set by the user is collected; the stretching information includes the set stretching position of the model space and the stretching data for stretching; According to the stretching information, the 3D apartment model is changed, and the corresponding changed 3D apartment model is obtained and visualized, including the following steps: According to the stretching information, the affected space model of the 3D apartment model is changed to obtain the corresponding changed space model, including the following steps: According to the core point of the 3D apartment model, obtain the quadrant information of all space models of the 3D apartment model; According to the stretching position in the stretching information, the model space to be stretched in the space model of the 3D apartment model is used as the influencing model space; According to the stretching position and the stretching data in the stretching information, a changed spatial area value of the spatial model of the 3D apartment model after stretching is obtained; According to the quadrant information of the influencing model space and the area value of the changing space, the influencing model space is stretched and deformed to obtain the corresponding changed space model; Based on the changed space model, the wall model of the 3D apartment model is changed to obtain the corresponding changed wall model, including the following steps: In the process of stretching deformation of the influencing model space, the wall stretching direction and wall stretching ratio corresponding to all influencing wall models in the influencing model space are obtained according to the stretching position and the stretching data; Based on the changed spatial model, all adjacent model spaces that affect the wall model are obtained; According to the wall stretching direction and wall stretching ratio of the influencing wall model, all influencing wall models in the influencing model space and each adjacent wall model in all adjacent model spaces are synchronously stretched and deformed to obtain a number of corresponding changed wall models; Perform wall filling processing on the changed wall model to obtain the final changed wall model; Based on the changed space model, the furniture model of the 3D apartment model is changed to obtain the corresponding changed furniture model, including the following steps: Based on the changed space model, clear all initial furniture models in the affected model space and adjacent model spaces; Obtaining the layout information in the changed space size and layout data that affects the model space / adjacent model space, and obtaining a number of corresponding suitable furniture objects according to the changed space size and the corresponding layout information; Based on the changed space model, according to the stretching position and the stretching data, the furniture stretching direction and the furniture stretching ratio of the suitable furniture objects in the influencing model space / adjacent model space are obtained; According to the furniture stretching direction and the furniture stretching ratio, obtaining the presentation size and third position information of each suitable furniture object in the influencing model space / adjacent model space; According to the presentation size and the third position information, stretching deformation and instantiation loading are performed on the appropriate furniture objects to obtain corresponding furniture models after several changes; Integrate the changed space model, the changed wall model and the changed furniture model to obtain the corresponding changed 3D apartment model; Based on the user's mobile terminal, the changed 3D apartment model is visualized.
2. A 3D apartment space operation method according to claim 1, characterized in that: According to the spatial wall attributes in the spatial data, a corresponding wall model is loaded into the spatial model to obtain a corresponding wall loading model, including the following steps: According to the wall orientation attribute and wall model type of the wall data in the apartment data, the setting order and preset sizes of the corresponding wall objects are obtained; Based on the preset setting order of the wall object, according to the spatial attributes in the spatial data and the preset size of the wall object, the wall position information of the current wall object and the starting position information of the current setting direction are obtained; Based on the setting direction of the preset setting order, if there is another wall object that has not been set, the wall position information, the starting position information and the wall size of the wall object to be set are obtained according to the starting position information of the current wall object in the current setting direction; Traverse each wall object of the spatial model until obtaining the wall position information, starting position information and wall size of all wall objects; According to the wall position information, the starting position information and the wall size of each wall object, all the wall objects of the space model are instantiated and loaded to obtain a number of corresponding wall models; During the instantiation loading process, the deformation information of all wall models is obtained, and the deformation information and wall position information of the wall models are stored in the corresponding wall models; Until all wall models of the space model are instantiated and loaded, the corresponding wall loading model is obtained.
3. A 3D apartment space operation method according to claim 1, characterized in that: According to the layout data in the apartment data, the corresponding furniture model is loaded into the wall loading model to obtain the corresponding 3D apartment model, including the following steps: According to the spatial layout attributes in the spatial data, the layout data corresponding to the wall loading model is obtained, and according to the layout information in the layout data, the corresponding furniture objects are obtained; According to the rotation attribute of each furniture object in the layout data, obtain the corresponding rotation angle; Acquire corresponding first position information according to the wall-facing attribute, model size, and corresponding rotation angle of each furniture object in the layout data; According to the reference object information in the layout data and the first position information of each furniture object, obtaining corresponding second position information; According to the first position information and / or the second position information, instantiate and load the furniture object to obtain a corresponding furniture model; Until all furniture models of the wall loading model are instantiated and loaded, the corresponding 3D apartment model is obtained.
4. A 3D apartment space operation method according to claim 1, characterized in that: The mobile terminal is equipped with a Web client, and uses a WebGL application to load digital 3D space and visualize the 3D model of the house type.
Citation Information
Patent Citations
House type user-defined design method, customization platform and readable storage medium
CN115758546A