Cave construction method, system, storage medium and electronic device

By creating and binding a data model of physical screen and motion capture rigid body in the UnityUGUI development platform, and updating the interface in real time, the problem of restarting the environment in existing Cave development is solved, and seamless switching and real-time deployment of the Cave environment is achieved. Effect.

CN118864792BActive Publication Date: 2025-02-14江西格如灵科技有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411337788.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-25
Publication Date
2025-02-14
Estimated Expiration
2044-09-25

AI Technical Summary

Technical Problem

Existing immersive Cave development requires the construction of an adaptive Cave environment in the engine editor. When the Cave environment changes, the editor needs to repackage or restart the program, resulting in inconvenience.

Method used

By creating a data model of the physical screen and a data model of the motion capture rigid body in the UnityUGUI development platform, and establishing a visual interface, the display and processing of physical screen information and motion capture rigid body information are realized. These data models are bidirectionally bound to the view of the visual interface, and events are monitored, and physical screen information is updated in real time to achieve seamless switching of the Cave environment.

Benefits of technology

It realizes seamless switching of different Caves at runtime, and can view the actual deployment effect in real time, improving the flexibility and operational convenience of the Cave environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118864792B_ABST
    Figure CN118864792B_ABST
Patent Text Reader

Abstract

The present invention provides a Cave construction method, system, storage medium and electronic device. The method creates a data model of a physical screen and a data model of a motion capture rigid body, and at the same time, establishes a visualization interface through a UnityUGUI development platform, wherein the visualization interface is used to display and process the physical screen information and motion capture rigid body information input by a user; the data model of the physical screen and the data model of the motion capture rigid body are bidirectionally bound to a view in the visualization interface; and events are monitored, wherein when the view changes, the corresponding data model is notified, and when the data model changes, the corresponding view is updated, so as to realize seamless switching of Caves of different styles at runtime, and the actual deployment effect can be viewed in real time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of Cave virtual simulation, and in particular relates to a Cave construction method, system, storage medium and electronic equipment. Background Art

[0002] Cave environment, full name Cave Automatic Virtual Environment, is a highly immersive virtual reality system. It is based on multi-channel view synchronization technology, three-dimensional space shaping correction algorithm, stereo display technology, etc. It forms a virtual space through multiple projection surfaces (usually four or six surfaces) to provide users with a room-sized cubic projection display space. This system can produce high-resolution three-dimensional projection images, allowing users to be fully immersed in an advanced virtual simulation environment surrounded by three-dimensional projection images.

[0003] Existing immersive Cave development requires building an adaptive Cave environment in the engine editor, or exporting the configuration file after building it through external software, and then importing it into the development engine. If the Cave environment changes, the editor needs to be repackaged or the program restarted. Summary of the invention

[0004] Based on this, an embodiment of the present invention provides a Cave construction method, system, storage medium and electronic device, which aims to achieve seamless switching of Caves of different styles during runtime and to view the actual deployment effect in real time.

[0005] A first aspect of an embodiment of the present invention provides a Cave construction method, which is applied to the UnityUGUI development platform, and the method includes:

[0006] Create a data model of the physical screen and a data model of the motion capture rigid body. At the same time, establish a visualization interface through the UnityUGUI development platform, which is used to display and process the physical screen information and motion capture rigid body information input by the user;

[0007] Bidirectionally binding the data model of the physical screen and the data model of the motion capture rigid body to the view in the visualization interface;

[0008] Listen to events, where when the view changes, the corresponding data model is notified, and when the data model changes, the corresponding view is updated.

[0009] Preferably, the data model of the physical screen is established through a virtual simulation editor, wherein a target data structure containing the actual physical screen length, width, spatial coordinates, screen name, 3D information and screen ID in meters as basic information is constructed.

[0010] Preferably, the method further comprises:

[0011] A screen data manager is established and responds immediately to data-driven physical screen information, wherein the screen data manager is used to manage the number of physical screens, the data in the target data structure, and the viewport of the screen, wherein the number of screens is managed by a screen list.

[0012] Preferably, in the step of establishing a screen data manager and instantly responding to data-driven physical screen information, the camera matrix transformation is constructed in the simulation engine with the length and width of the physical dimensions to correctly update the image effect according to the physical position of the eye.

[0013] Preferably, the method further comprises:

[0014] Collect head and hand position tracking, in which the state of switching between the left-hand coordinate system and the right-hand coordinate system is added to the conventional motion capture management.

[0015] Preferably, in the step of monitoring the event, the physical screen information is updated in real time, the number of Cave faces is reset according to the number of screens, and at the same time, the actual physical size and spatial coordinate information are updated according to the settings in the screen;

[0016] Reset the motion capture information according to the motion capture device and complete the view update.

[0017] Preferably, the step of monitoring the event includes:

[0018] Obtaining cave construction requirements, where the cave construction requirements at least include a known site area and a target number of screens;

[0019] According to the known site area and the target number of screens, a matching first Cave space is called from a pre-built database, where the first Cave space is a Cave space with modifiable parameters;

[0020] Acquire a three-dimensional model of the construction site, determine the entrances and exits planned in the three-dimensional model of the construction site, and generate a barrier-free passage according to the entrances and exits;

[0021] Controlling the first Cave space to expand outward to obtain a second Cave space consisting of the first Cave space and an expansion area;

[0022] Controlling the second Cave space to move along the edge of the barrier-free passage to determine a position that does not interfere with the three-dimensional model of the construction site;

[0023] A target position is determined among all positions that do not interfere with the three-dimensional model of the construction site, wherein the target position is an optimal position of the first cave space that meets the heat dissipation requirement.

[0024] A second aspect of an embodiment of the present invention provides a Cave construction system, which is used to implement the Cave construction method provided in the first aspect and is applied to the UnityUGUI development platform. The system includes:

[0025] A creation module is used to create a data model of a physical screen and a data model of a motion capture rigid body. At the same time, a visualization interface is established through the UnityUGUI development platform. The visualization interface is used to display and process the physical screen information and motion capture rigid body information input by the user;

[0026] A binding module, used for bidirectionally binding the data model of the physical screen and the data model of the motion capture rigid body with the view in the visualization interface;

[0027] The monitoring module is used to monitor events. When the view changes, the corresponding data model is notified, and when the data model changes, the corresponding view is updated.

[0028] A third aspect of an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the Cave construction method provided in the first aspect.

[0029] A fourth aspect of an embodiment of the present invention provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the Cave construction method provided in the first aspect when executing the program.

[0030] The cave construction method, system, storage medium and electronic device provided in the embodiments of the present invention have the following beneficial effects:

[0031] By creating a data model of the physical screen and a data model of the motion capture rigid body, and at the same time, establishing a visualization interface through the UnityUGUI development platform, the visualization interface is used to display and process the physical screen information and motion capture rigid body information input by the user; the data model of the physical screen and the data model of the motion capture rigid body are bidirectionally bound to the view in the visualization interface; the events are monitored, and when the view changes, the corresponding data model is notified, and when the data model changes, the corresponding view is updated, so as to achieve seamless switching of different styles of Caves at runtime, and the actual deployment effect can be viewed in real time. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1A flow chart of a Cave construction method according to the first embodiment of the present invention;

[0033] Figure 2 A structural block diagram of a Cave construction system provided in Embodiment 2 of the present invention;

[0034] Figure 3 This is a structural block diagram of an electronic device provided in Embodiment 3 of the present invention. DETAILED DESCRIPTION

[0035] In order to more clearly illustrate the technical solutions of the embodiments of this specification, the following is a brief introduction to the drawings required for the description of the embodiments. Obviously, the drawings described below are only some examples or embodiments of this specification. For ordinary technicians in this field, this specification can also be applied to other similar scenarios based on these drawings without creative work. Unless it is obvious from the language environment or otherwise explained, the same reference numerals in the figures represent the same structure or operation.

[0036] The Cave construction method provided in this embodiment can be executed in an intelligent terminal, a computer terminal, a network device, a chip, a chip module or a similar computing device. Mentioning "embodiment" in this application means that the specific features, structures or characteristics described in conjunction with the embodiment may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described in this application can be combined with other embodiments.

[0037] It should be understood that the "system", "device", "unit" and / or "module" used herein are a method for distinguishing different components, elements, parts, portions or assemblies at different levels. However, if other words can achieve the same purpose, the words can be replaced by other expressions.

[0038] As shown in this specification, unless the context clearly indicates an exception, the words "a", "an", "a kind" and / or "the" do not refer to the singular, but also include the plural. Generally speaking, the terms "include" and "comprise" only indicate the inclusion of the steps and elements that have been clearly identified, and these steps and elements do not constitute an exclusive list. The method or device may also include other steps or elements.

[0039] Embodiment 1

[0040] According to an embodiment of the present invention, a Cave construction method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0041] In this first embodiment, a Cave construction method is provided, which is applied to the UnityUGUI development platform. Specifically, Unity UGUI (Unity User Interface System) is the official system for developing user interfaces (UIs) in the Unity game engine. UGUI provides a complete set of tools that allow developers to easily create and manage various UI elements in games, such as buttons, text boxes, images, sliders, etc. It supports multiple platforms, including PC, mobile devices, VR / AR, etc., and is deeply integrated with Unity's physics engine, animation system, etc., making the interaction between the UI and the game world simple and intuitive. Please refer to Figure 1 , Figure 1 A flow chart of an implementation of a Cave construction method provided in the first embodiment of the present invention is shown, which specifically includes steps S01 to S03.

[0042] Step S01, create a data model of the physical screen and a data model of the motion capture rigid body, and at the same time, establish a visualization interface through the UnityUGUI development platform, which is used to display and process the physical screen information and motion capture rigid body information input by the user.

[0043] Specifically, the visualization interface includes a screen setting window, a physical screen setting window, a screen display window, a motion capture rigid body setting window, and a stereo setting window, among which the screen setting window can obtain the model and number of the screen. After selecting a screen with a certain number, the corresponding parameters will be called up; the physical screen setting window includes parameters such as environment height, environment width, screen position, screen rotation, and viewport, and users can set them according to actual conditions; in the motion capture rigid body setting window, you can see the rigid body number and the properties of the rigid body, such as whether it is a head motion capture rigid body or a hand motion capture rigid body; in the stereo setting window, you can display and set the stereo mode, pupil distance, and left and right eye swap; the screen display window can display accordingly according to the settings of the physical screen for user reference.

[0044] It should be noted that the data model of the physical screen is established through a virtual simulation editor, in which a target data structure is constructed containing the actual physical screen length, width, spatial coordinates, screen name, 3D information and screen ID as basic information in meters.

[0045] In the embodiment of the present invention, a screen data manager is established and responds to the physical screen information driven by data in real time. The screen data manager is used to manage the number of physical screens, the data in the target data structure and the viewport of the screen, wherein the number of screens is managed by a screen list. Specifically, in the step of establishing a screen data manager and responding to the physical screen information driven by data in real time, the matrix transformation of the camera is constructed in the simulation engine with the length and width of the physical size to correctly update the image effect according to the physical position of the eye, which can be expressed as:

[0046] m[0, 0] = 2.0f × n / (r - l)

[0047] m[0, 2] = (r + l) / (r - l)

[0048] m[1, 1] = 2.0f × n / (t - b)

[0049] m[1, 2] = (t + b) / (t - b)

[0050] m[2, 2] = -(f + n) / (f - n)

[0051] m[2, 3] = (-2.0f × f × n) / (f - n)

[0052] m[3, 2] = -1.0f

[0053] Among them, m[x, y] represents the frustum projection matrix, n represents the distance from the "eye" to the near clipping plane (screen), f represents the distance from the "eye" to the far clipping plane, l represents the distance from the physical center point of the cave space floor to the left edge of the screen, r represents the distance from the physical center point of the cave space floor to the right edge of the screen, b represents the distance from the physical center point of the cave space floor to the bottom edge of the screen, and t represents the distance from the physical center point of the cave space floor to the top edge of the screen.

[0054] Furthermore, the head and hand position tracking is collected, wherein the state of switching between the left-hand coordinate system and the right-hand coordinate system is added to the conventional motion capture management.

[0055] Step S02: bidirectionally bind the data model of the physical screen and the data model of the motion capture rigid body to the view in the visualization interface.

[0056] Step S03, monitoring events, wherein when the view changes, the corresponding data model is notified, and when the data model changes, the corresponding view is updated.

[0057] It can be understood that the physical screen information is updated in real time, and the number of Cave faces is reset according to the number of screens. At the same time, the actual physical size and spatial coordinate information are updated according to the settings in the screen; the motion capture information is reset according to the motion capture device to complete the view update.

[0058] In addition, by building a visual editing and broadcasting service and the corresponding data structure in the editor, the effect of the input information can be displayed in real time. The eye position takes the physical center point of the ground as the origin (0, 0, 0). After the physical screen information is entered, the data will be broadcast.

[0059] In a preferred embodiment of the present invention, the step of monitoring the event includes:

[0060] Obtain the cave construction requirements, which at least include the known site area and the target number of screens, that is, obtain the customer's needs, including the site information for the actual construction of the cave and the number of screens required by the customer. It should be noted that the size of the cave space needs to be planned according to actual needs, but usually enough space is required to accommodate projection equipment, users, and possible other equipment (such as sensors, controllers, etc.). Generally speaking, a basic cave system may require a space ranging from several meters to tens of meters, depending on the number and size of the projection surfaces. Furthermore, although the cave space does not necessarily require a strict rectangular or cubic shape, in order to facilitate projection and ensure that users get the best immersion, a relatively regular space shape is usually selected. For example, four projection surfaces can form a cubic structure, with three walls using rear projection and the ground using front projection (or using reflectors to save space);

[0061] According to the known site area and the target number of screens, a matching first Cave space is called from a pre-built database. The first Cave space is a Cave space with modifiable parameters, so as to provide personalized services to users. It can be understood that according to the known site area and the target number of screens that need to be built, a matching standard first Cave space can be called from the database, and on this basis, revisions can be made to quickly complete the simulation;

[0062] Acquire a three-dimensional model of the construction site, determine the entrances and exits planned in the three-dimensional model of the construction site, and generate a barrier-free passage according to the entrances and exits;

[0063] The first cave space is controlled to expand outward to obtain a second cave space consisting of the first cave space and the expansion area. Generally speaking, the cave space has certain safety requirements, that is, since the cave space may contain complex equipment and circuits, it is necessary to ensure the safety of the space, including setting up and installing heat dissipation equipment, installing fire-fighting equipment, etc., so a certain space needs to be reserved;

[0064] Control the second Cave space to move along the edge of the barrier-free passage to determine a position that does not interfere with the three-dimensional model of the construction site. For example, taking the site to be constructed with a fence around it as an example, align the entrance of the second Cave space with the edge of the barrier-free passage, and control the second Cave space to move along the edge of the barrier-free passage. During the movement, eliminate the position where the boundary of the second Cave space intersects with the fence or other obstacles, that is, determine a position that does not interfere with the three-dimensional model of the construction site;

[0065] Among all positions that do not interfere with the three-dimensional model of the construction site, a target position is determined, wherein the target position is the optimal position of the first Cave space that meets the heat dissipation requirements. Specifically, the outer contour of the three-dimensional model of the construction site and the boundary of the first Cave space are first determined, and the boundary of the first Cave space is extended outward until it intersects with the outer contour of the three-dimensional model of the construction site, wherein each screen of the first Cave space forms a closed area with the outer contour of the three-dimensional model of the construction site. It can be understood that as the second Cave space moves along the edge of the barrier-free passage, the volume of each closed area is changing. In order to determine the target position, the volume of each closed area is calculated in real time, and the position where the volume of each closed area is the largest is determined as the target position.

[0066] In summary, the Cave construction method in the above embodiment of the present invention creates a data model of the physical screen and a data model of the motion capture rigid body, and at the same time, establishes a visualization interface through the UnityUGUI development platform, and the visualization interface is used to display and process the physical screen information and motion capture rigid body information input by the user; the data model of the physical screen and the data model of the motion capture rigid body are bidirectionally bound to the view in the visualization interface; the event is monitored, wherein when the view changes, the corresponding data model is notified, and when the data model changes, the corresponding view is updated, so as to realize seamless switching of Caves of different styles at runtime, and the actual deployment effect can be viewed in real time.

[0067] Embodiment 2

[0068] See also Figure 2 , Figure 2: is a structural block diagram of a Cave construction system 200 provided in the second embodiment of the present invention. The Cave construction system 200 is applied to the UnityUGUI development platform, including: a creation module 21, a binding module 22 and a monitoring module 23, wherein:

[0069] A creation module 21 is used to create a data model of a physical screen and a data model of a motion capture rigid body. At the same time, a visualization interface is established through the UnityUGUI development platform. The visualization interface is used to display and process the physical screen information and motion capture rigid body information input by the user. The data model of the physical screen is established through a virtual simulation editor, wherein a target data structure containing the actual physical screen length, width, spatial coordinates, screen name, 3D information and screen ID in meters as basic information is constructed;

[0070] A binding module 22, used for bidirectionally binding the data model of the physical screen and the data model of the motion capture rigid body with the view in the visualization interface;

[0071] The monitoring module 23 is used to monitor events, wherein when the view changes, the corresponding data model is notified, and when the data model changes, the corresponding view is updated, wherein the physical screen information is updated in real time, and the number of Cave faces is reset according to the number of screens. At the same time, the actual physical size and spatial coordinate information are updated according to the settings in the screen; the motion capture information is reset according to the motion capture device to complete the view update.

[0072] Furthermore, in some optional embodiments of the present invention, the Cave construction system 200 further includes:

[0073] The first establishment module is used to establish a screen data manager and respond immediately to data-driven physical screen information. The screen data manager is used to manage the number of physical screens, the data in the target data structure, and the viewport of the screen, wherein the number of screens is managed by a screen list. In addition, the matrix transformation of the camera is constructed in the simulation engine with the length and width of the physical size to correctly update the image effect according to the physical position of the eye.

[0074] Furthermore, in some optional embodiments of the present invention, the Cave construction system 200 further includes:

[0075] The acquisition module is used to collect head and hand position tracking, wherein the state of switching between the left-hand coordinate system and the right-hand coordinate system is added to the conventional motion capture management.

[0076] Furthermore, in some optional embodiments of the present invention, the monitoring module 23 includes:

[0077] An acquisition module, used for acquiring Cave construction requirements, wherein the Cave construction requirements at least include a known site area and a target number of screens;

[0078] A calling module, used for calling a matching first Cave space from a pre-built database according to the known site area and the target number of screens, wherein the first Cave space is a Cave space with modifiable parameters;

[0079] A first determination module is used to obtain a three-dimensional model of the construction site, determine the entrances and exits planned in the three-dimensional model of the construction site, and generate a barrier-free passage according to the entrances and exits;

[0080] A first control module, used for controlling the first Cave space to expand outwards to obtain a second Cave space consisting of the first Cave space and an expansion area;

[0081] A second control module is used to control the second Cave space to move along the edge of the barrier-free passage to determine a position that does not interfere with the three-dimensional model of the construction site;

[0082] The second determination module is used to determine a target position among all positions that do not interfere with the three-dimensional model of the construction site, wherein the target position is an optimal position of the first Cave space that meets the heat dissipation requirement.

[0083] Embodiment 3

[0084] Another aspect of the present invention provides an electronic device, see Figure 3 , shown is an electronic device in Embodiment 3 of the present invention, including a memory 20, a processor 10, and a computer program 30 stored in the memory and executable on the processor, wherein the processor 10 implements the Cave construction method as described above when executing the computer program 30.

[0085] In some embodiments, the processor 10 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor or other data processing chip, used to run program codes or process data stored in the memory 20, such as executing access restriction programs.

[0086] Among them, the memory 20 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the memory 20 can be an internal storage unit of an electronic device, such as a hard disk of the electronic device. In other embodiments, the memory 20 can also be an external storage device of an electronic device, such as a plug-in hard disk equipped on the electronic device, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), etc. Further, the memory 20 can also include both an internal storage unit of the electronic device and an external storage device. The memory 20 can not only be used to store application software and various types of data of the electronic device, but also can be used to temporarily store data that has been output or is to be output.

[0087] It should be pointed out that Figure 3 The structure shown does not constitute a limitation on the electronic device. In other embodiments, the electronic device may include fewer or more components than those shown in the figure, or combine certain components, or arrange the components differently.

[0088] The embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the Cave construction method as described above is implemented.

[0089] Those skilled in the art will appreciate that the logic and / or steps represented in the flowchart or otherwise described herein, for example, may be considered as an ordered list of executable instructions for implementing logical functions, and may be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For purposes of this specification, "computer-readable medium" may be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0090] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0091] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or a combination thereof: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0092] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0093] The above embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present invention. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the present invention patent shall be subject to the attached claims.

Claims

1. A Cave construction method, characterized in that: Applied in the UnityUGUI development platform, the method includes: Create a data model of the physical screen and a data model of the motion capture rigid body. At the same time, establish a visualization interface through the UnityUGUI development platform, which is used to display and process the physical screen information and motion capture rigid body information input by the user; Bidirectionally binding the data model of the physical screen and the data model of the motion capture rigid body to the view in the visualization interface; Listen to events. When the view changes, notify the corresponding data model. When the data model changes, update the corresponding view. The step of monitoring the event includes: Obtaining cave construction requirements, where the cave construction requirements at least include a known site area and a target number of screens; According to the known site area and the target number of screens, a matching first Cave space is called from a pre-built database, where the first Cave space is a Cave space with modifiable parameters; Acquire a three-dimensional model of the construction site, determine the entrances and exits planned in the three-dimensional model of the construction site, and generate a barrier-free passage according to the entrances and exits; Controlling the first Cave space to expand outward to obtain a second Cave space consisting of the first Cave space and an expansion area; Controlling the second Cave space to move along the edge of the barrier-free passage to determine a position that does not interfere with the three-dimensional model of the construction site; A target position is determined among all positions that do not interfere with the three-dimensional model of the construction site, wherein the target position is an optimal position of the first cave space that meets the heat dissipation requirement.

2. The Cave construction method according to claim 1, characterized in that: The data model of the physical screen is established through a virtual simulation editor, wherein a target data structure containing basic information including the actual physical screen length, width, spatial coordinates, screen name and screen ID in meters is constructed.

3. The Cave construction method according to claim 2, characterized in that: The method further comprises: A screen data manager is established and responds immediately to data-driven physical screen information, wherein the screen data manager is used to manage the number of physical screens, the data in the target data structure, and the viewport of the screen, wherein the number of screens is managed by a screen list.

4. The Cave construction method according to claim 3, characterized in that: In the step of establishing a screen data manager and instantly responding to data-driven physical screen information, the camera matrix transformation is constructed in the simulation engine with the length and width of the physical size to correctly update the image effect according to the physical position of the eye.

5. The Cave construction method according to claim 4, characterized in that: The method further comprises: Collect head and hand position tracking, in which the state of switching between the left-hand coordinate system and the right-hand coordinate system is added to the conventional motion capture management.

6. The Cave construction method according to claim 5, characterized in that: In the step of monitoring the event, the physical screen information is updated in real time, the number of Cave faces is reset according to the number of screens, and at the same time, the actual physical size and spatial coordinate information are updated according to the settings in the screen; Reset the motion capture information according to the motion capture device and complete the view update.

7. A Cave construction system, characterized in that: The system is used to implement the Cave construction method according to any one of claims 1 to 6, and is applied to the UnityUGUI development platform. The system includes: A creation module is used to create a data model of a physical screen and a data model of a motion capture rigid body. At the same time, a visualization interface is established through the UnityUGUI development platform. The visualization interface is used to display and process the physical screen information and motion capture rigid body information input by the user; A binding module, used for bidirectionally binding the data model of the physical screen and the data model of the motion capture rigid body with the view in the visualization interface; The monitoring module is used to monitor events. When the view changes, the corresponding data model is notified, and when the data model changes, the corresponding view is updated.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the Cave construction method as described in any one of claims 1 to 6 is implemented.

9. An electronic device, characterized in that: The invention comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the Cave construction method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • System and method for creating an environment and for sharing a location based experience in an environment

    CN104641399A

  • Content presentation method based on CAVE system

    CN113345113A