A method and system for realizing multi-dimensional interactive display of home furnishings through three-dimensional models
By using three-dimensional models in the home multi-interactive display system, users can perform virtual objects walking, object rotation, extended object display and object replacement operations, solving the problem that traditional virtual electronic model display products cannot interact and are cost-effective, and achieving a more efficient and user-friendly display experience.
Patent Information
- Application Number
- CN202210284227.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-22
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2042-03-22
AI Technical Summary
The display products in traditional virtual electronic model rooms cannot interact with three-dimensional scenes, and the display cost is high and practical.
The implementation method of multi-interactive display of home furnishings through three-dimensional models includes implementation steps at the production end and the display end. The production side receives preset operations from the user, setting the skeleton animation parameters of the virtual object, the rotation parameters of the object, the extended object parameters, and the replaceable object list. The display end enters a preset three-dimensional scene model and receives and executes simulated action operation instructions, including virtual object walking, object display, extended object display and object replacement.
It reduces the display cost, enhances the diverse interactivity between users and three-dimensional scenes, and improves the user experience.
Smart Images

Figure CN114663588B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of home furnishing display, and in particular to a method and system for realizing multi-dimensional interactive display of home furnishings through a three-dimensional model. Background Art
[0002] With the continuous deepening of three-dimensional technology, more and more businesses are displaying products in virtual electronic model rooms through electronic screens, such as 360 panoramic technology and VR-based three-dimensional scene real-life roaming. The former is actually pseudo-3D technology, which can only be viewed in a circular manner from a fixed point and cannot interact with the scene. Compared with true 3D display, the user experience is not ideal. The latter VR-based three-dimensional scene requires the support of VR glasses and other equipment, has high display costs and is not very practical. Summary of the invention
[0003] In view of the above-mentioned defects, the present invention proposes a method and system for realizing multi-dimensional interactive display of home furnishings through three-dimensional models, which aims to solve the problems that traditional virtual electronic model rooms cannot interact with three-dimensional scenes during product display, have high display costs and are not practical.
[0004] To achieve this object, the present invention adopts the following technical solutions:
[0005] A method for implementing a multi-dimensional interactive display of a home through a three-dimensional model, applied to a multi-dimensional interactive display system of a home, comprising a production end implementation step S1 and a display end implementation step S2;
[0006] The production end implements step S1 including:
[0007] Step S11: receiving a user's preset operation on a newly created or existing three-dimensional scene model, the preset operation including setting a virtual object's skeletal animation parameter, setting an object's rotation parameter, setting an extended object parameter, and setting a replaceable object list;
[0008] Step S12: in response to the preset operation, outputting a new three-dimensional scene model that has completed the preset;
[0009] The display end implements step S2 including:
[0010] Step S21: inputting a new 3D scene model that has been pre-set;
[0011] Step S22: receiving a simulation action operation instruction and executing the simulation action operation instruction, wherein the simulation action operation includes virtual object walking, object display, extended object display and object replacement.
[0012] Preferably, the virtual object skeleton animation parameters include the walking path and speed of the virtual object.
[0013] Preferably, the rotation parameters of the object include a rotation axis, a rotation center, a switching direction, a rotation speed and a rotation angle of a cabinet door of the object.
[0014] Preferably, the movement parameters of the object include the movement direction and movement amount values of the sliding cabinet door and the internal drawer of the object.
[0015] Preferably, the extended object parameters include the number of extended objects, and the number of extended objects is randomly generated.
[0016] Preferably, the replaceable object list includes objects storing extended information.
[0017] Preferably, the specific steps of virtual object walking are as follows:
[0018] Step S61: obtaining the walking path and speed of the virtual object, and calculating the number of times the virtual object is drawn along the walking path;
[0019] Step S62: Calculate the position and rotation angle of the current virtual object on the walking path according to the current drawing times and the walking speed of the current virtual object;
[0020] Step S63: Obtain the matrix of the current virtual object according to the obtained position and rotation angle.
[0021] Preferably, the object display includes opening or closing a cabinet door of the object, wherein the specific steps of opening the cabinet door are:
[0022] Step S71: Obtain the rotation axis, rotation center, door opening direction, rotation speed and rotation angle of the cabinet door;
[0023] Step S72: Calculate the total number of times of drawing required to complete an operation of opening the cabinet door according to the rotation angle and the rotation speed;
[0024] Step S73: judging whether the current drawing number is greater than the total drawing number according to the current drawing number, and if the current drawing number is greater than the total drawing number, calculating the current rotation angle of the current cabinet door;
[0025] Step S74: Obtain the rotation matrix of the current cabinet door according to the current rotation angle, rotation axis and rotation center of the cabinet door.
[0026] Preferably, the specific steps of object replacement are included:
[0027] Step S81: Identify objects storing extended information and generate a list of replaceable objects;
[0028] Step S82: receiving a selection operation from a list of replaceable objects by a user;
[0029] Step S83: In response to the selection operation, receiving an instruction to place the selected replacement object at the location of the original object, and executing the placement instruction.
[0030] Another aspect of the present application provides a household multi-element interactive display system, the system comprising
[0031] A receiving module, used for receiving a user's preset operation on a newly created or existing three-dimensional scene model;
[0032] A preset operation module is used to set the skeleton animation parameters of the virtual object, set the rotation parameters of the object, set the movement parameters of the object, set the extended object parameters and set the replaceable object list;
[0033] A response module, used for outputting a new three-dimensional scene model having completed the preset operation in response to the preset operation;
[0034] An input module, used for inputting a new 3D scene model that has been pre-set;
[0035] The simulation action operation module is used to receive and execute simulation action operation instructions. The simulation action operations include virtual object walking, object display, extended object display and object replacement.
[0036] The technical solution provided by the embodiments of the present application may have the following beneficial effects:
[0037] The settings of the production end and the display end are not only conducive to displaying the arrangement of various furniture models in the three-dimensional scene and reducing the display cost, but also enhance the diversified interactivity between users and the three-dimensional scene and improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 The invention is a flowchart of the steps of realizing a method of performing multi-dimensional interactive display of home furnishings through a three-dimensional model. DETAILED DESCRIPTION
[0039] The embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions from beginning to end. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.
[0040] A method for implementing a multi-dimensional interactive display of a home through a three-dimensional model, applied to a multi-dimensional interactive display system of a home, comprising a production end implementation step S1 and a display end implementation step S2;
[0041] The production end implements step S1 including:
[0042] Step S11: receiving a user's preset operation on a newly created or existing three-dimensional scene model, the preset operation including setting a virtual object's skeletal animation parameter, setting an object's rotation parameter, setting an extended object parameter, and setting a replaceable object list;
[0043] Step S12: in response to the preset operation, outputting a new three-dimensional scene model that has completed the preset;
[0044] The display end implements step S2 including:
[0045] Step S21: inputting a new 3D scene model that has been pre-set;
[0046] Step S22: receiving a simulation action operation instruction and executing the simulation action operation instruction, wherein the simulation action operation includes virtual object walking, object display, extended object display and object replacement.
[0047] With the continuous deepening of three-dimensional technology, more and more businesses are displaying products in virtual electronic model rooms through electronic screens, such as 360 panoramic technology and VR-based three-dimensional scene real-life roaming. The former is actually pseudo-3D technology, which can only be viewed in a circular manner from a fixed point and cannot interact with the scene. Compared with true 3D display, the user experience is not ideal. The latter VR-based three-dimensional scene requires the support of VR glasses and other equipment, has high display costs and is not very practical.
[0048] like Figure 1 The present invention provides a method for implementing diversified display of home furnishings through three-dimensional models, which is applied to a diversified interactive display system of home furnishings, and includes a production-end implementation step and a display-end implementation step; in the production-end implementation step, the first step is to receive a user's preset operation on a newly created or existing three-dimensional scene model, and the second step is to respond to the preset operation and output a new three-dimensional scene model that has completed the preset operation, wherein the preset operation includes setting the skeleton animation parameters of a virtual object, setting the rotation parameters of an object, setting the extended object parameters, and setting a replaceable object list; in the display-end implementation step, the first step is to input a new three-dimensional scene model that has completed the preset operation, and the second step is to receive a simulation action operation instruction and execute the simulation action operation instruction, wherein the simulation action operation instruction includes instructions for virtual object walking, object display, extended object display, and object replacement; after completing a series of implementation steps, it is not only conducive to displaying the arrangement of each furniture model in the three-dimensional scene, but also enhances the diversified interactivity with the three-dimensional scene and improves the user experience.
[0049] To further illustrate, virtual objects include virtual humans, virtual robots, virtual dogs, etc.; objects include furniture models; and extended objects include star-shaped virtual objects for hiding in furniture models.
[0050] Preferably, the virtual object skeleton animation parameters include the walking path and speed of the virtual object.
[0051] Specifically, users use 3D model production software such as Blend or Max to create skeletal animation models in fbx or glb formats, and use the GLTFLoader library in Three.js to load the skeletal animation model in glb format into the 3D scene to achieve the skeletal animation effect of the virtual object; the user uses the mouse to manually draw a closed composite line segment as the movement path of the virtual object on the production end, and the distance the composite line segment moves each time the 3D scene is drawn is used as the movement speed. The mobility of the virtual object makes the 3D scene more vivid and realistic, making it easier for users to interact with the 3D scene.
[0052] Preferably, the rotation parameters of the object include the rotation axis, rotation center, switching direction, rotation speed and rotation angle of the cabinet door of the object.
[0053] Specifically, setting the rotation parameters of any one or more objects in the three-dimensional scene can ensure that the cabinet door can be rotated, which is conducive to the user to perform the operation of opening the cabinet door and further realize the interaction with the three-dimensional scene. Further explanation: the cabinet door opening direction can be the direction of clockwise or counterclockwise rotation around the rotation axis, the rotation speed is the angle of rotation of the cabinet door each time the three-dimensional scene is drawn, and the range of the rotation angle is from the initial door opening angle to the end door opening angle.
[0054] Preferably, the movement parameters of the object include the movement direction and movement amount of the sliding door and the internal drawer of the object. Specifically, moving the sliding door and the internal drawer can allow the user to better observe the internal structure of the cabinet.
[0055] Preferably, the extended object parameters include the number of extended objects, and the number of extended objects is randomly generated.
[0056] Specifically, the object has several cabinet doors, and several extended objects are randomly set in the cabinet according to a random number algorithm. The user can observe the number of extended objects in the cabinet by judging and clicking on the cabinet door. If the number of extended objects is 0, it means that the cabinet door has no extended data of the extended object; if the number of extended objects is greater than or equal to 1, it means that the cabinet door has extended data of the extended object. The extended data will be automatically saved in the back-end database of the home multi-interactive display system, so that the home multi-interactive display system can identify the extended data of the extended object and display the extended object on the front-end interface.
[0057] In one embodiment, the extended object is a star-shaped virtual object, 10 cabinet doors are set, 3 of which are randomly selected to have star-shaped virtual objects, and extended data hideStars is stored. When the cabinet door is clicked, the home multi-interactive display system recognizes that there is hideStars and the front-end interface will display the corresponding star-shaped virtual object.
[0058] Preferably, the replaceable object list includes objects storing extended information. Specifically, the replaceable object list includes objects storing extended information, which can effectively identify the model of each furniture model, and according to the model of each furniture model, the user can find furniture models of the same category as replaceable furniture models.
[0059] Preferably, the specific steps of virtual object walking are as follows:
[0060] Step S61: obtaining the walking path and speed of the virtual object, and calculating the number of times the virtual object is drawn along the walking path;
[0061] Step S62: Calculate the position and rotation angle of the current virtual object on the walking path according to the current drawing times and the walking speed of the current virtual object;
[0062] Step S63: Obtain the matrix of the current virtual object according to the obtained position and rotation angle.
[0063] In one embodiment, the virtual object is set as a virtual puppy. The user sets the walking path and speed of the virtual puppy at the production end. Specifically, the walking path is a closed triangular path with three points p1, p2, and p3 respectively. The distance dis1 from p1 to p2 corresponds to the line segment line1, the distance dis2 from p2 to p3 corresponds to the line segment line2, and the distance dis3 from p3 to p1 corresponds to the line segment line3. Then the sum of the distances disAll = dis1 + dis2 + dis3. During the modeling of the virtual puppy, the center point of the virtual puppy is placed at the origin, and the head is facing the positive direction of the x-axis. Based on the current walking speed speed and disAll of the virtual puppy, the user can calculate that the number of drawing times required for the virtual puppy to complete one lap of this path is drawCount = disAll / speed. Since the three line segments of the triangle are at different angles, it is necessary to calculate which line segment the current drawing count currentDrawCount is on. For example, if the current walked length of the virtual puppy is walkDistance = currentDrawCount * speed, and if walkDistance > dis1 and walkDistance < dis1 + dis2, then the virtual puppy is currently on line2, the rotation angle is the angle angle2 from p2 to p3, and the current position of the virtual puppy is on the connection line from p2 to p3, and the distance from p2 is (dis1 + dis2 - walkDistance). Based on the position and rotation angle of the virtual puppy, the current matrix matrix of the virtual puppy can be obtained. Every time the user draws a three-dimensional scene at the production end, the current matrix of the virtual puppy is updated, so that the virtual puppy bone animation effect can be achieved on the display end.
[0064] Preferably, the object display includes opening or closing the cabinet door of the object. Among them, the specific steps for opening the cabinet door are as follows:
[0065] Step S71: Obtain the rotation axis, rotation center, door opening direction, rotation speed, and rotation angle of the cabinet door;
[0066] Step S72: Calculate the total number of drawing times required to complete one operation of opening the cabinet door according to the rotation angle and rotation speed;
[0067] Step S73: According to the current drawing count, determine whether the current drawing count is greater than the total drawing count. If the current drawing count is greater than the total drawing count, calculate the current rotation angle of the current cabinet door;
[0068] Step S74: Obtain the rotation matrix of the current cabinet door according to the current rotation angle, rotation axis, and rotation center of the cabinet door.
[0069] In one embodiment, the user sets the rotation axis "axis", rotation center "center", rotation speed "speed", opening direction, and rotation angle "rotateAngle" of the cabinet door of the furniture model at the production end. The total number of times "drawCount" required to draw for one operation of opening the cabinet door is "drawCount = rotateAngle / speed". If the current number of draws is "currentDrawCount", then when "currentDrawCount < drawCount", the rotation angle "currentAngle" of the cabinet door is "currentAngle = currentDrawCount * speed". According to the current rotation angle "currentAngle", rotation axis "axis", and rotation center "center" of the cabinet door, the rotation matrix "rotateMatrix" of the current cabinet door is obtained. Every time the user draws the three-dimensional scene at the production end, the rotation matrix of the current cabinet door is updated, so that the effect of opening the cabinet door can be achieved at the display end.
[0070] Preferably, it includes the specific steps of object replacement:
[0071] Step S81: Identify the object storing the extended information and generate a list of replaceable objects;
[0072] Step S82: Receive the selection operation of the user from the list of replaceable objects;
[0073] Step S83: In response to the selection operation, receive the instruction to place the selected replacement object at the position of the original object and execute the placement instruction.
[0074] Specifically, during the placement process, the GLTFLoader library in Three.js is called to load the replacement object, and the replacement object is moved to the position of the original object to implement the replacement operation of the furniture model, enhancing the diversified interaction with the three-dimensional scene.
[0075] Further explanation, when generating the list of replaceable objects, when quoting, the system will automatically count the existing object list in the three-dimensional scene, perform a differential check with the original object list, and obtain the objects replaced by the user.
[0076] Another aspect of the present application provides a home diversified interaction display system, and the system includes
[0077] A receiving module, configured to receive the preset operation of the user on the newly created or existing three-dimensional scene model;
[0078] A preset operation module, configured to set the bone animation parameters of the virtual object, set the rotation parameters of the object, set the movement parameters of the object, set the extended object parameters, and set the list of replaceable objects;
[0079] A response module, used for outputting a new three-dimensional scene model having completed the preset operation in response to the preset operation;
[0080] An input module, used for inputting a new 3D scene model that has been pre-set;
[0081] The simulation action operation module is used to receive and execute simulation action operation instructions. The simulation action operations include virtual object walking, object display, extended object display and object replacement.
[0082] A household multi-element interactive display system comprises a receiving module, a preset operation module, a response module, an input module and a simulated action operation module.
[0083] The preset operation module also includes a first setting subunit, which is used to set the virtual object skeleton animation parameters, and the virtual object skeleton animation parameters include the walking path and speed of the virtual object;
[0084] A second setting subunit is used to set the rotation parameters of the object, the rotation parameters of the object include the rotation axis, rotation center, switch direction, rotation speed and rotation angle of the cabinet door of the object;
[0085] The third setting subunit is used to set the moving direction and moving amount value of the sliding cabinet door and the internal drawer of the object;
[0086] The fourth setting subunit is used to set the extended object parameters, the extended object parameters include the number of extended objects, and the number of extended objects is randomly generated;
[0087] The fifth setting subunit is used to set a replaceable object list, where the replaceable object list includes objects storing extended information.
[0088] The simulation action operation module also includes a first simulation action operation sub-unit, which is used to realize the walking of the simulated object. Specifically, the walking path and speed of the virtual object are obtained in the sub-unit, and the number of drawing times required for the virtual object to walk along the walking path is calculated; according to the current number of drawing times and the current walking speed of the virtual object, the position and rotation angle of the current virtual object on the walking path are calculated; according to the obtained position and rotation angle, the matrix of the current virtual object is obtained;
[0089] The second simulation action operation subunit is used to realize the display of the object, and the object display includes opening or closing the cabinet door of the object. Specifically, the rotation axis, rotation center, door opening direction, rotation speed and rotation angle of the cabinet door are obtained in the subunit; according to the rotation angle and rotation speed, the total number of drawing times required to complete the operation of opening the cabinet door is calculated; according to the current number of drawing times, it is judged whether the current number of drawing times is greater than the total number of drawing times, and if the current number of drawing times is greater than the total number of drawing times, the current rotation angle of the current cabinet door is calculated; according to the current rotation angle, rotation axis and rotation center of the cabinet door, the rotation matrix of the current cabinet door is obtained;
[0090] The third simulation action operation sub-unit is used to realize the display of extended objects; specifically, a number of cabinet doors of the object in the sub-unit are set, and a number of extended objects are randomly set in the cabinet according to a random number algorithm. The user can observe the number of extended objects in the cabinet by judging and clicking on the cabinet door. If the number of extended objects is 0, it means that the cabinet door has no extended data of the extended object; if the number of extended objects is greater than or equal to 1, it means that the cabinet door has extended data of the extended object, and the extended data will be automatically saved in the back-end database to facilitate the display of the extended object on the front-end interface.
[0091] The fourth simulation action operation sub-unit is used to realize the replacement of objects. Specifically, objects storing extended information are identified in the sub-unit, and a list of replaceable objects is generated; a selection operation from the list of replaceable objects is received; in response to the selection operation, an instruction to place the selected replacement object at the position of the original object is received, and the placement instruction is executed.
[0092] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0093] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention.
Claims
1. A method for implementing multi-dimensional interactive display of home furnishings through a three-dimensional model, characterized in that: Applied to a household multi-element interactive display system, including a production end implementation step S1 and a display end implementation step S2; The production end implements step S1 including: Step S11: receiving a user's preset operation on a newly created or existing three-dimensional scene model, the preset operation including setting a virtual object's skeletal animation parameter, setting an object's rotation parameter, setting an object's movement parameter, setting an extended object parameter, and setting a replaceable object list; The virtual object skeleton animation parameters include the walking path and speed of the virtual object; the object rotation parameters include the rotation axis, rotation center, switch direction, rotation speed and rotation angle of the cabinet door of the object; the object movement parameters include the movement direction and movement value of the sliding cabinet door and internal drawer of the object; the extended object parameters include the number of extended objects, the number of extended objects is randomly generated, and the extended objects are objects in the cabinet; the replaceable object list includes objects storing extended information; Step S12: in response to the preset operation, outputting a new three-dimensional scene model that has completed the preset; The display end implements step S2 including: Step S21: inputting a new 3D scene model that has been pre-set; Step S22: receiving a simulation action operation instruction and executing the simulation action operation instruction, wherein the simulation action operation includes virtual object walking, object display, extended object display and object replacement; Object display includes opening or closing the door of the object, wherein the specific steps of opening the door are: Step S71: Obtain the rotation axis, rotation center, door opening direction, rotation speed and rotation angle of the cabinet door; Step S72: Calculate the total number of draw times required to complete an operation of opening the cabinet door according to the rotation angle and the rotation speed; Step S73: judging whether the current drawing number is greater than the total drawing number according to the current drawing number, and if the current drawing number is greater than the total drawing number, calculating the current rotation angle of the current cabinet door; Step S74: Obtain the rotation matrix of the current cabinet door according to the current rotation angle, rotation axis and rotation center of the cabinet door.
2. A method for implementing a multi-dimensional interactive display of a home through a three-dimensional model according to claim 1, characterized in that: Including the specific steps of virtual object walking: Step S61: obtaining the walking path and speed of the virtual object, and calculating the number of times the virtual object is drawn along the walking path; Step S62: Calculate the position and rotation angle of the current virtual object on the walking path according to the current drawing times and the walking speed of the current virtual object; Step S63: Obtain the matrix of the current virtual object according to the obtained position and rotation angle.
3. The method for realizing multi-dimensional interactive display of home furnishings through a three-dimensional model according to claim 1, characterized in that: Including the specific steps of object replacement: Step S81: Identify objects storing extended information and generate a list of replaceable objects; Step S82: receiving a selection operation from a list of replaceable objects by a user; Step S83: In response to the selection operation, receiving an instruction to place the selected replacement object at the location of the original object, and executing the placement instruction.
4. A household multi-element interactive display system, characterized in that: The method for realizing multi-dimensional interactive display of home furnishings through a three-dimensional model according to any one of claims 1 to 3, wherein the system comprises A receiving module, used for receiving a user's preset operation on a newly created or existing three-dimensional scene model; A preset operation module is used to set the skeleton animation parameters of the virtual object, set the rotation parameters of the object, set the movement parameters of the object, set the extended object parameters and set the replaceable object list; A response module, used for outputting a new three-dimensional scene model having completed the preset operation in response to the preset operation; An input module, used for inputting a new 3D scene model that has been pre-set; The simulation action operation module is used to receive and execute simulation action operation instructions. The simulation action operations include virtual object walking, object display, extended object display and object replacement.
Citation Information
Patent Citations
Experience type intelligent kitchen system
CN106777643A
Home design method and system based on virtual reality
CN108961426A