CN116681869A - Cultural relic 3D display processing method based on virtual reality application - Google Patents
Cultural relic 3D display processing method based on virtual reality application Download PDFInfo
- Publication number
- CN116681869A CN116681869A CN202310743502.2A CN202310743502A CN116681869A CN 116681869 A CN116681869 A CN 116681869A CN 202310743502 A CN202310743502 A CN 202310743502A CN 116681869 A CN116681869 A CN 116681869A
- Authority
- CN
- China
- Prior art keywords
- virtual
- control
- relics
- position information
- relic
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 16
- 238000009877 rendering Methods 0.000 claims abstract description 106
- 230000008859 change Effects 0.000 claims abstract description 4
- 238000012544 monitoring process Methods 0.000 claims description 24
- 230000009471 action Effects 0.000 claims description 12
- 238000004458 analytical method Methods 0.000 claims description 9
- 238000000034 method Methods 0.000 claims description 9
- 238000001514 detection method Methods 0.000 claims description 6
- 238000003708 edge detection Methods 0.000 claims description 6
- 230000003247 decreasing effect Effects 0.000 claims description 3
- 230000001360 synchronised effect Effects 0.000 description 8
- 238000011161 development Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000010422 painting Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating 3D models or images for computer graphics
- G06T19/006—Mixed reality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T15/00—3D [Three Dimensional] image rendering
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Graphics (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Processing Or Creating Images (AREA)
Abstract
The application discloses a cultural relic 3D display processing method based on virtual reality application, which comprises the following steps: loading a rendering scene and a space data packet corresponding to the rendering scene, obtaining at least one group of virtual relics to be displayed, and configuring a control thread for controlling the spatial position change of each virtual relic during display according to a display time sequence; an execution module is configured and used for calling a control thread to control virtual cultural relics to be rendered in real time in a rendering scene according to a control instruction sent by an externally arranged control handle; the application sets a plurality of control threads in the control thread pool by setting the control thread pool, wherein each control thread is configured to correspond to a unique virtual cultural relic so as to independently control the virtual cultural relic.
Description
Technical Field
The application relates to the technical field of virtual reality, in particular to a cultural relic 3D display processing technology oriented to virtual reality application, and particularly relates to a cultural relic 3D display processing method based on virtual reality application.
Background
The traditional cultural relics are displayed through a museum or a cultural relics display, and along with the development of virtual reality technology, some traditional cultural relics are digitally displayed, and particularly for the display of wall paintings and cultural gallery, the digital display has become a development trend.
When the cultural relics are displayed, the display configuration setting is needed, and the position switching setting of the virtual cultural relics is needed, and the design principle is that when the virtual cultural relics with more than two in the rendering scene are displayed, the virtual cultural relics cannot be shielded, otherwise, the two virtual entities are overlapped, and the display effect is affected.
Disclosure of Invention
In view of the above, the present application aims to provide a cultural relic 3D display processing method based on virtual reality application.
In order to achieve the above purpose, the application provides a cultural relic 3D display processing method based on virtual reality application, comprising the following steps:
loading a rendering scene and a space data packet corresponding to the rendering scene, analyzing the space data packet, configuring the space data packet into the rendering scene,
acquiring at least one group of virtual relics to be displayed, configuring a control thread for controlling the spatial position change of each virtual relic during display according to a display time sequence, and correspondingly loading three-dimensional coordinate data configured by each virtual relic;
an execution module is configured and used for calling a control thread to control virtual cultural relics to be rendered in real time in a rendering scene according to a control instruction sent by an externally arranged control handle;
configuring a task scheduling module, wherein the task scheduling module is used for switching control threads to correspondingly complete the display switching of the virtual cultural relics in the virtual scene;
the method comprises the steps that a monitoring module is configured and used for monitoring display switching actions of virtual relics in a rendering scene based on real-time monitoring analysis of control instructions, when any virtual relic in the rendering scene is monitored to generate the display switching actions, a feedback instruction for obtaining the position information of each virtual relic in the rendering scene is sent to an execution module, the execution module responds to the feedback instruction and sends the obtained position information of each virtual relic to a task scheduling module, and the task scheduling module limits the position control instructions contained in the control instructions based on the position information of each virtual relic, so that when the control instructions call a control thread to control the virtual relics to conduct real-time rendering in the rendering scene, the positions of other virtual relics in the rendering scene are avoided.
Further, when the three-dimensional coordinate data of each virtual cultural relic is configured, the three-dimensional coordinate data corresponding to the virtual cultural relic is constructed by taking the space data layout space data of the space data packet as a reference;
before the control thread controls the virtual cultural relics to be rendered in real time in a rendering scene, three-dimensional coordinate data and space data are converted, and the method comprises the following steps:
and acquiring a space data packet, analyzing the space data packet, and matching the three-dimensional coordinate data by using the space coordinate system and space data corresponding to the space coordinate system.
Further, the execution module includes:
the task execution manager is used for detecting the state of the control thread pool based on the control instruction sent by the control handle, and selecting an effective control thread from the control thread pool when the control thread pool is in an operation state;
the configuration unit is used for being connected to the task execution manager, receiving a control thread input by the task execution manager, carrying out corresponding configuration on the control thread so as to enable the control thread to form one-to-one correspondence control with the virtual cultural relics, recording configuration information between the control thread and the corresponding virtual cultural relics, and sending the configuration information to the task scheduling module and the task executor;
the task executor is connected with the configuration unit and the task execution management unit and is provided with a plurality of task management units, and each task management unit is used for calling a control thread to conduct real-time rendering on the corresponding virtual cultural relics in the rendering scene.
Further, the task execution manager is provided with an initialization setting unit, and the initialization setting unit is used for performing initialization setting on the control thread pool when the control thread pool is in a stop state, so that the control thread pool is in an operation state, and the control threads arranged in the control thread pool are all in the operation state.
Further, the task scheduling module has:
the storage library is connected with the execution module, forms a storage table according to basic parameters of the virtual cultural relics, and is used for receiving the position information of each virtual cultural relic sent by the execution module according to the corresponding time sequence and storing the position information of each virtual cultural relic in the storage table correspondingly;
the updating unit is connected with the storage library and used for detecting whether the received position information of each virtual cultural relic is changed with the position information of the virtual cultural relic stored under the storage table in real time, if not, the virtual cultural relic is not updated, if so, the virtual cultural relic is updated, and the position information of the changed virtual cultural relic is stored in the storage table correspondingly;
the logic control unit is connected with the configuration unit arranged in the execution module and is used for receiving configuration information between the control thread and the corresponding virtual cultural relics and generating logic control data based on the configuration information between the control thread and the corresponding virtual cultural relics;
the task scheduler is connected with the logic control unit and a task executor arranged in the execution module, a plurality of task scheduling units are arranged in the task scheduler, each task scheduling unit is used for calling a control thread based on the task management unit to conduct real-time rendering on a corresponding virtual cultural relic in a rendering scene, and meanwhile, under the control of the logic control unit, the control thread is controlled based on logic control data to correspondingly complete display switching of the virtual cultural relic in the virtual scene;
the position limiting unit is used for limiting the position control instruction contained in the control instruction based on the position information of each virtual cultural relic in the storage table, so that when the control instruction is used for calling the control thread to control the virtual cultural relic to conduct real-time rendering in the rendering scene, the position of other virtual cultural relics in the rendering scene is avoided.
Further, the position defining unit is provided with:
the analysis component is used for analyzing the control instruction to acquire the position control instruction contained in the control instruction and the switching position information determined when the virtual cultural relics are switched;
the comparison component is used for comparing the determined switching position information when one of the virtual relics is switched with the position information of other virtual relics set in the storage table to see whether the position information of at least one point is overlapped, if so, the determined switching position information when the virtual relics are switched is limited according to the set rule, so that when the control instruction is used for calling the control thread to control the virtual relics to conduct real-time rendering in the rendering scene, the positions of other virtual relics in the rendering scene are avoided, and if not, the control instruction is used for calling the control thread to control the virtual relics to conduct real-time rendering in the rendering scene.
Further, the setting rule is:
when the switching position information determined when one virtual cultural relic is switched is overlapped with the position information of at least one point position of the position information of other virtual cultural relics set in the storage table, taking the adjacent position with the overlapped position information as new switching position information;
wherein, the adjacent positions are adjacent positions of up, down, left, right, front and back with the overlapping position information as the center, and in the setting rule, the priorities are set as follows: the priority of setting rule position selection is set by gradually decreasing the above, the below, the left, the right, the front and the back.
Further, an edge detection unit is arranged in the comparison component, and the edge detection unit is used for determining switching position information when one of the virtual relics is switched, when the switching position information is overlapped with position information of at least one point position of the position information of other virtual relics set in the storage table, using the overlapped position information as a detection point, detecting whether the position of the overlapped position information in the rendering scene is in an edge range or not, detecting azimuth information of the edge range in the detection point, and determining whether to replace priority in a setting rule according to the azimuth information.
Further, the monitoring module has:
the monitoring unit is used for monitoring the display switching action of the virtual cultural relics in the rendering scene based on the real-time monitoring analysis of the control instruction;
and the feedback unit is connected with the monitoring unit and is used for forming a feedback instruction when the display switching action of any virtual cultural relics in the rendering scene is monitored, and sending the feedback instruction to the execution module.
According to the method and the device, the positions of the virtual relics in the rendering scene are obtained in real time when the virtual relics are rendered in the rendering scene, and the positions of other virtual relics in the rendering scene are correspondingly detected when the virtual relics are displayed and switched, so that the positions of the other virtual relics in the rendering scene are avoided when the virtual relics are rendered in real time, and the positions of two or more virtual relics in the rendering scene are prevented from being overlapped.
In order to achieve the position control of the virtual relics in the rendering scene, the control thread pool is provided with a plurality of control threads, and each control thread is configured to correspond to a unique virtual relic so as to independently control the virtual relics.
Drawings
FIG. 1 is a flow chart of the method of the present application;
FIG. 2 is a schematic diagram of a frame of an execution module according to the present application;
FIG. 3 is a schematic diagram of a task scheduling module according to the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It should be noted that: the virtual reality technology mainly carries out three-dimensional modeling on a real scene through AR and VR virtual reality equipment, and then carries out virtual image display according to a control handle (or an auxiliary mechanical arm) of the virtual equipment. The control handle is a key device for auxiliary control of VR virtual reality equipment.
It should be further noted that, in the description of the azimuth of the present application, based on the rendering scene, the rendering scene is generally set to be a cuboid space, and the description of the upper, lower, left, right, front and rear of any position is set according to the spatial structure azimuth description.
Referring to fig. 1 to 3, the application provides a cultural relic 3D display processing method based on virtual reality application, comprising the following steps:
loading a rendering scene and a space data packet corresponding to the rendering scene, analyzing the space data packet, configuring the space data packet into the rendering scene,
acquiring at least one group of virtual relics to be displayed, configuring a control thread for controlling the spatial position change of each virtual relic during display according to a display time sequence, and correspondingly loading three-dimensional coordinate data configured by each virtual relic;
an execution module is configured and used for calling a control thread to control virtual cultural relics to be rendered in real time in a rendering scene according to a control instruction sent by an externally arranged control handle;
configuring a task scheduling module, wherein the task scheduling module is used for switching control threads to correspondingly complete the display switching of the virtual cultural relics in the virtual scene;
the method comprises the steps that a monitoring module is configured and used for monitoring display switching actions of virtual relics in a rendering scene based on real-time monitoring analysis of control instructions, when any virtual relic in the rendering scene is monitored to generate the display switching actions, a feedback instruction for obtaining the position information of each virtual relic in the rendering scene is sent to an execution module, the execution module responds to the feedback instruction and sends the obtained position information of each virtual relic to a task scheduling module, and the task scheduling module limits the position control instructions contained in the control instructions based on the position information of each virtual relic, so that when the control instructions call a control thread to control the virtual relics to conduct real-time rendering in the rendering scene, the positions of other virtual relics in the rendering scene are avoided.
In order to facilitate implementation, when the three-dimensional coordinate data of each virtual cultural relic is configured, the three-dimensional coordinate data corresponding to the virtual cultural relic is constructed by taking a space coordinate system arranged in space data in a space data packet as a reference; generally, a rendering scene is set into a cuboid space, space data and a space coordinate system for the space data layout are obtained after the space data packet is analyzed, the space coordinate system is laid into the cuboid space, and then the space data is laid according to the space coordinate system; before the control thread controls the virtual cultural relics to be rendered in real time in a rendering scene, three-dimensional coordinate data and space data are converted, and the method comprises the following steps: and acquiring a space data packet, analyzing the space data packet, and matching the three-dimensional coordinate data by using the space coordinate system and space data corresponding to the space coordinate system.
In the above, the execution module includes: the task execution manager is used for detecting the state of the control thread pool based on the control instruction sent by the control handle, and selecting an effective control thread from the control thread pool when the control thread pool is in an operation state;
the configuration unit is used for being connected to the task execution manager, receiving a control thread input by the task execution manager, carrying out corresponding configuration on the control thread so as to enable the control thread to form one-to-one correspondence control with the virtual cultural relics, recording configuration information between the control thread and the corresponding virtual cultural relics, and sending the configuration information to the task scheduling module and the task executor;
the task executor is connected with the configuration unit and the task execution management unit and is provided with a plurality of task management units, and each task management unit is used for calling a control thread to conduct real-time rendering on the corresponding virtual cultural relics in the rendering scene.
It should be noted that, in the present application, the control thread pool has two states, namely an operation state and a stop state, when the control thread pool is in the operation state, all control threads in the control thread pool are in the working state, but not all control threads are in the effective state, when any one of the control threads controls virtual cultural relics to be rendered in a rendering scene along with the rendering task, it is indicated that the control thread is in the operation at this time, and the control thread is effective but not invoked by other control instructions which do not correspond to the control thread; when the control thread pool is in a stop state, all control threads in the control thread pool are in a non-callable state, namely, any control thread is in an invalid state; in order to solve the problem that the control thread pool is in a running state, the task execution manager is provided with an initialization setting unit which is used for initializing the control thread pool when the control thread pool is in the stopping state so as to ensure that the control thread pool is in the running state and the control threads arranged in the control thread pool are all in the running state.
In the above, the task scheduling module may include: the storage library is connected with the execution module, forms a storage table with basic parameters of the virtual cultural relics, and is used for receiving the position information of each virtual cultural relic sent by the execution module according to the corresponding time sequence and storing the position information of each virtual cultural relic in the storage table correspondingly;
the updating unit is connected with the storage library and used for detecting whether the received position information of each virtual cultural relic is changed with the position information of the virtual cultural relic stored under the storage table in real time, if not, the virtual cultural relic is not updated, if so, the virtual cultural relic is updated, and the position information of the changed virtual cultural relic is stored in the storage table correspondingly;
the logic control unit is connected with the configuration unit arranged in the execution module and is used for receiving configuration information between the control thread and the corresponding virtual cultural relics and generating logic control data based on the configuration information between the control thread and the corresponding virtual cultural relics;
the task scheduler is connected with the logic control unit and a task executor arranged in the execution module, a plurality of task scheduling units are arranged in the task scheduler, each task scheduling unit is used for calling a control thread based on the task management unit to conduct real-time rendering on a corresponding virtual cultural relic in a rendering scene, and meanwhile, under the control of the logic control unit, the control thread is controlled based on logic control data to correspondingly complete display switching of the virtual cultural relic in the virtual scene;
the position limiting unit is used for limiting the position control instruction contained in the control instruction based on the position information of each virtual cultural relic in the storage table, so that when the control instruction is used for calling the control thread to control the virtual cultural relic to conduct real-time rendering in the rendering scene, the position of other virtual cultural relics in the rendering scene is avoided.
In the above, when the repository is initially configured, the built virtual cultural relics and basic parameters of the virtual cultural relics are obtained, and the repository forms a storage table with the basic parameters of the virtual cultural relics, wherein the basic parameters are basic information of the virtual cultural relics, such as naming of the virtual cultural relics, basic introduction of the virtual cultural relics, numbering of the virtual cultural relics, and the like. And setting a storage catalog under the storage table, wherein the storage catalog is used for storing the position information of the virtual cultural relics in the rendering scene correspondingly, and the storage catalog can only store one position information (expressed as a position data set of the virtual cultural relics in the rendering scene).
The application is also provided with a synchronous control module which is respectively connected with the execution module and the task scheduling module, wherein the synchronous control module is provided with a synchronous clock unit and a synchronous control unit, the synchronous clock unit is used for providing a synchronous clock reference, and the synchronous control unit is used for configuring the synchronous clock reference into the execution module and the task scheduling module.
Based on the above, the position information under the storage directory is not unchanged, the position of the virtual cultural relics in the rendering scene is changed in real time along with the progress of the rendering task, based on the set clock reference, when the rendering task is performed, the position of the virtual cultural relics in the rendering scene is updated in real time through the updating unit by using the clock reference, and the changed position information of the virtual cultural relics is correspondingly stored in the storage table.
In the above, the position defining unit is provided with: the analysis component is used for analyzing the control instruction to acquire the position control instruction contained in the control instruction and the switching position information determined when the virtual cultural relics are switched;
the comparison component is used for comparing the determined switching position information when one of the virtual relics is switched with the position information of other virtual relics set in the storage table to see whether the position information of at least one point is overlapped, if so, the determined switching position information when the virtual relics are switched is limited according to the set rule, so that when the control instruction is used for calling the control thread to control the virtual relics to conduct real-time rendering in the rendering scene, the positions of other virtual relics in the rendering scene are avoided, and if the overlapping does not exist, the control instruction is used for calling the control thread to control the virtual relics to conduct real-time rendering in the rendering scene.
In the above, the setting rule is:
when the switching position information determined when one virtual cultural relic is switched is overlapped with the position information of at least one point position of the position information of other virtual cultural relics set in the storage table, taking the adjacent position with the overlapped position information as new switching position information;
wherein, the adjacent positions are adjacent positions of up, down, left, right, front and back with the overlapping position information as the center, and in the setting rule, the priorities are set as follows: the priority of setting rule position selection is set by gradually decreasing the above, the below, the left, the right, the front and the back.
The comparison component is internally provided with an edge detection unit, the edge detection unit is used for determining switching position information when one virtual cultural relics are switched, when the switching position information is overlapped with the position information of at least one point position of the position information of other virtual cultural relics set in the storage table, the overlapped position information is used as a detection point, whether the position of the overlapped position information in a rendering scene is in an edge range or not is detected, azimuth information of the edge range in the detection point is detected, and whether priority in a setting rule is replaced or not is determined according to the azimuth information.
In the above, the spatial data of the rendering scene is divided into the effective spatial data and the edge spatial data, wherein the effective spatial data is freely movable data, the edge spatial data is a restricted area, and when any one virtual relic approaches the restricted area, and when the position transformation is performed again, the restricted area cannot completely perform the position transformation and the replacement of the virtual relic, so the edge spatial data is the edge range.
In the above, the monitoring module has:
the monitoring unit is used for monitoring the display switching action of the virtual cultural relics in the rendering scene based on the real-time monitoring analysis of the control instruction;
and the feedback unit is connected with the monitoring unit and is used for forming a feedback instruction when the display switching action of any virtual cultural relics in the rendering scene is monitored, and sending the feedback instruction to the execution module.
According to the method and the device, the positions of the virtual relics in the rendering scene are obtained in real time when the virtual relics are rendered in the rendering scene, and the positions of other virtual relics in the rendering scene are correspondingly detected when the virtual relics are displayed and switched, so that the positions of the other virtual relics in the rendering scene are avoided when the virtual relics are rendered in real time, and the positions of two or more virtual relics in the rendering scene are prevented from being overlapped.
In order to achieve the position control of the virtual relics in the rendering scene, the control thread pool is provided with a plurality of control threads, and each control thread is configured to correspond to a unique virtual relic so as to independently control the virtual relics.
Although embodiments of the present application have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made therein without departing from the principles and spirit of the application, the scope of which is defined in the appended claims and their equivalents.
Claims (9)
1. The cultural relic 3D display processing method based on the virtual reality application is characterized by comprising the following steps of:
loading a rendering scene and a space data packet corresponding to the rendering scene, analyzing the space data packet, configuring the space data packet into the rendering scene,
acquiring at least one group of virtual relics to be displayed, configuring a control thread for controlling the spatial position change of each virtual relic during display according to a display time sequence, and correspondingly loading three-dimensional coordinate data configured by each virtual relic;
an execution module is configured and used for calling a control thread to control virtual cultural relics to be rendered in real time in a rendering scene according to a control instruction sent by an externally arranged control handle;
configuring a task scheduling module, wherein the task scheduling module is used for switching control threads to correspondingly complete the display switching of the virtual cultural relics in the virtual scene;
the method comprises the steps that a monitoring module is configured and used for monitoring display switching actions of virtual relics in a rendering scene based on real-time monitoring analysis of control instructions, when any virtual relic in the rendering scene is monitored to generate the display switching actions, a feedback instruction for obtaining the position information of each virtual relic in the rendering scene is sent to an execution module, the execution module responds to the feedback instruction and sends the obtained position information of each virtual relic to a task scheduling module, and the task scheduling module limits the position control instructions contained in the control instructions based on the position information of each virtual relic, so that when the control instructions call a control thread to control the virtual relics to conduct real-time rendering in the rendering scene, the positions of other virtual relics in the rendering scene are avoided.
2. The virtual reality application-based cultural relic 3D display processing method according to claim 1, wherein when three-dimensional coordinate data of each virtual cultural relic is configured, three-dimensional coordinate data corresponding to the virtual cultural relic is constructed by taking space data layout space data of a space data packet as a reference;
before the control thread controls the virtual cultural relics to be rendered in real time in a rendering scene, three-dimensional coordinate data and space data are converted, and the method comprises the following steps:
and acquiring a space data packet, analyzing the space data packet, and matching the three-dimensional coordinate data by using the space coordinate system and space data corresponding to the space coordinate system.
3. The virtual reality application-based cultural relic 3D display processing method according to claim 1, wherein the executing module comprises:
the task execution manager is used for detecting the state of the control thread pool based on the control instruction sent by the control handle, and selecting an effective control thread from the control thread pool when the control thread pool is in an operation state;
the configuration unit is used for being connected to the task execution manager, receiving a control thread input by the task execution manager, carrying out corresponding configuration on the control thread so as to enable the control thread to form one-to-one correspondence control with the virtual cultural relics, recording configuration information between the control thread and the corresponding virtual cultural relics, and sending the configuration information to the task scheduling module and the task executor;
the task executor is connected with the configuration unit and the task execution management unit and is provided with a plurality of task management units, and each task management unit is used for calling a control thread to conduct real-time rendering on the corresponding virtual cultural relics in the rendering scene.
4. The virtual reality application-based cultural relic 3D exhibition processing method according to claim 3, wherein the task execution manager is provided with an initialization setting unit, and the initialization setting unit is used for performing initialization setting on the control thread pool when the control thread pool is in a stop state, so that the control thread pool is in a running state, and all control threads arranged in the control thread pool are in a running state.
5. The virtual reality application-based cultural relic 3D presentation processing method according to claim 1, wherein the task scheduling module has:
the storage library is connected with the execution module, forms a storage table according to basic parameters of the virtual cultural relics, and is used for receiving the position information of each virtual cultural relic sent by the execution module according to the corresponding time sequence and storing the position information of each virtual cultural relic in the storage table correspondingly;
the updating unit is connected with the storage library and used for detecting whether the received position information of each virtual cultural relic is changed with the position information of the virtual cultural relic stored under the storage table in real time, if not, the virtual cultural relic is not updated, if so, the virtual cultural relic is updated, and the position information of the changed virtual cultural relic is stored in the storage table correspondingly;
the logic control unit is connected with the configuration unit arranged in the execution module and is used for receiving configuration information between the control thread and the corresponding virtual cultural relics and generating logic control data based on the configuration information between the control thread and the corresponding virtual cultural relics;
the task scheduler is connected with the logic control unit and a task executor arranged in the execution module, a plurality of task scheduling units are arranged in the task scheduler, each task scheduling unit is used for calling a control thread based on the task management unit to conduct real-time rendering on a corresponding virtual cultural relic in a rendering scene, and meanwhile, under the control of the logic control unit, the control thread is controlled based on logic control data to correspondingly complete display switching of the virtual cultural relic in the virtual scene;
the position limiting unit is used for limiting the position control instruction contained in the control instruction based on the position information of each virtual cultural relic in the storage table, so that when the control instruction is used for calling the control thread to control the virtual cultural relic to conduct real-time rendering in the rendering scene, the position of other virtual cultural relics in the rendering scene is avoided.
6. The virtual reality application-based cultural relic 3D display processing method according to claim 5, wherein the position defining unit is provided with:
the analysis component is used for analyzing the control instruction to acquire the position control instruction contained in the control instruction and the switching position information determined when the virtual cultural relics are switched;
the comparison component is used for comparing the determined switching position information when one of the virtual relics is switched with the position information of other virtual relics set in the storage table to see whether the position information of at least one point is overlapped, if so, the determined switching position information when the virtual relics are switched is limited according to the set rule, so that when the control instruction is used for calling the control thread to control the virtual relics to conduct real-time rendering in the rendering scene, the positions of other virtual relics in the rendering scene are avoided, and if not, the control instruction is used for calling the control thread to control the virtual relics to conduct real-time rendering in the rendering scene.
7. The virtual reality application-based cultural relic 3D display processing method according to claim 6, wherein the setting rule is:
when the switching position information determined when one virtual cultural relic is switched is overlapped with the position information of at least one point position of the position information of other virtual cultural relics set in the storage table, taking the adjacent position with the overlapped position information as new switching position information;
wherein, the adjacent positions are adjacent positions of up, down, left, right, front and back with the overlapping position information as the center, and in the setting rule, the priorities are set as follows: the priority of setting rule position selection is set by gradually decreasing the above, the below, the left, the right, the front and the back.
8. The virtual reality application-based cultural relic 3D display processing method according to claim 6, wherein an edge detection unit is provided in the comparison component, the edge detection unit is configured to determine switching position information when one of the virtual cultural relics is switched, when the switching position information is overlapped with position information of at least one point in position information of other virtual cultural relics set in the storage table, use the overlapped position information as a detection point, detect whether a position of the overlapped position information in a rendering scene is in an edge range, detect azimuth information of the edge range in the detection point, and determine whether to replace priority in a setting rule according to the azimuth information.
9. The virtual reality application-based cultural relic 3D display processing method according to claim 1, wherein the monitoring module has:
the monitoring unit is used for monitoring the display switching action of the virtual cultural relics in the rendering scene based on the real-time monitoring analysis of the control instruction;
and the feedback unit is connected with the monitoring unit and is used for forming a feedback instruction when the display switching action of any virtual cultural relics in the rendering scene is monitored, and sending the feedback instruction to the execution module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310743502.2A CN116681869B (en) | 2023-06-21 | 2023-06-21 | Cultural relic 3D display processing method based on virtual reality application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310743502.2A CN116681869B (en) | 2023-06-21 | 2023-06-21 | Cultural relic 3D display processing method based on virtual reality application |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116681869A true CN116681869A (en) | 2023-09-01 |
CN116681869B CN116681869B (en) | 2023-12-19 |
Family
ID=87780819
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310743502.2A Active CN116681869B (en) | 2023-06-21 | 2023-06-21 | Cultural relic 3D display processing method based on virtual reality application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116681869B (en) |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6803912B1 (en) * | 2001-08-02 | 2004-10-12 | Mark Resources, Llc | Real time three-dimensional multiple display imaging system |
US20100208033A1 (en) * | 2009-02-13 | 2010-08-19 | Microsoft Corporation | Personal Media Landscapes in Mixed Reality |
CN103500465A (en) * | 2013-09-13 | 2014-01-08 | 西安工程大学 | Ancient cultural relic scene fast rendering method based on augmented reality technology |
WO2018058601A1 (en) * | 2016-09-30 | 2018-04-05 | 深圳达闼科技控股有限公司 | Method and system for fusing virtuality and reality, and virtual reality device |
CN109213728A (en) * | 2017-06-29 | 2019-01-15 | 深圳市掌网科技股份有限公司 | Cultural relic exhibition method and system based on augmented reality |
CN111292405A (en) * | 2020-02-06 | 2020-06-16 | 腾讯科技(深圳)有限公司 | Image rendering method and related device |
CN111352670A (en) * | 2020-03-10 | 2020-06-30 | 简吉波 | Virtual reality scene loading method and device, virtual reality system and equipment |
CN111638794A (en) * | 2020-06-04 | 2020-09-08 | 上海商汤智能科技有限公司 | Display control method and device for virtual cultural relics |
US20200334893A1 (en) * | 2018-04-28 | 2020-10-22 | Tencent Technology (Shenzhen) Company Limited | Method for implementing virtual scene conversion and related apparatus |
US20200388070A1 (en) * | 2018-07-05 | 2020-12-10 | Tencent Technology (Shenzhen) Company Limited | Virtual scene switching method and apparatus, terminal device, and storage medium |
WO2022022029A1 (en) * | 2020-07-31 | 2022-02-03 | 北京市商汤科技开发有限公司 | Virtual display method, apparatus and device, and computer readable storage medium |
CN114494559A (en) * | 2022-02-15 | 2022-05-13 | 成都引力视创科技有限公司 | Three-dimensional rendering fusion method, system and medium based on multi-GPU cooperation |
US20220262074A1 (en) * | 2019-07-19 | 2022-08-18 | Huawei Technologies Co., Ltd. | Interaction Method in Virtual Reality Scenario and Apparatus |
WO2022259253A1 (en) * | 2021-06-09 | 2022-12-15 | Alon Melchner | System and method for providing interactive multi-user parallel real and virtual 3d environments |
CN116166123A (en) * | 2023-02-24 | 2023-05-26 | 浙江舟山群岛新区旅游与健康职业学院 | Non-material cultural heritage display system based on virtual reality technology |
-
2023
- 2023-06-21 CN CN202310743502.2A patent/CN116681869B/en active Active
Patent Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6803912B1 (en) * | 2001-08-02 | 2004-10-12 | Mark Resources, Llc | Real time three-dimensional multiple display imaging system |
US20100208033A1 (en) * | 2009-02-13 | 2010-08-19 | Microsoft Corporation | Personal Media Landscapes in Mixed Reality |
CN103500465A (en) * | 2013-09-13 | 2014-01-08 | 西安工程大学 | Ancient cultural relic scene fast rendering method based on augmented reality technology |
WO2018058601A1 (en) * | 2016-09-30 | 2018-04-05 | 深圳达闼科技控股有限公司 | Method and system for fusing virtuality and reality, and virtual reality device |
CN109213728A (en) * | 2017-06-29 | 2019-01-15 | 深圳市掌网科技股份有限公司 | Cultural relic exhibition method and system based on augmented reality |
US20200334893A1 (en) * | 2018-04-28 | 2020-10-22 | Tencent Technology (Shenzhen) Company Limited | Method for implementing virtual scene conversion and related apparatus |
US20200388070A1 (en) * | 2018-07-05 | 2020-12-10 | Tencent Technology (Shenzhen) Company Limited | Virtual scene switching method and apparatus, terminal device, and storage medium |
US20220262074A1 (en) * | 2019-07-19 | 2022-08-18 | Huawei Technologies Co., Ltd. | Interaction Method in Virtual Reality Scenario and Apparatus |
CN111292405A (en) * | 2020-02-06 | 2020-06-16 | 腾讯科技(深圳)有限公司 | Image rendering method and related device |
CN111352670A (en) * | 2020-03-10 | 2020-06-30 | 简吉波 | Virtual reality scene loading method and device, virtual reality system and equipment |
CN112181530A (en) * | 2020-03-10 | 2021-01-05 | 简吉波 | Virtual reality scene loading method based on cloud platform and virtual reality system |
CN111638794A (en) * | 2020-06-04 | 2020-09-08 | 上海商汤智能科技有限公司 | Display control method and device for virtual cultural relics |
WO2022022029A1 (en) * | 2020-07-31 | 2022-02-03 | 北京市商汤科技开发有限公司 | Virtual display method, apparatus and device, and computer readable storage medium |
WO2022259253A1 (en) * | 2021-06-09 | 2022-12-15 | Alon Melchner | System and method for providing interactive multi-user parallel real and virtual 3d environments |
CN114494559A (en) * | 2022-02-15 | 2022-05-13 | 成都引力视创科技有限公司 | Three-dimensional rendering fusion method, system and medium based on multi-GPU cooperation |
CN116166123A (en) * | 2023-02-24 | 2023-05-26 | 浙江舟山群岛新区旅游与健康职业学院 | Non-material cultural heritage display system based on virtual reality technology |
Non-Patent Citations (3)
Title |
---|
张阳;李琳;刘晓平;: "面向实时测绘的场景漫游***", 合肥工业大学学报(自然科学版), no. 06, pages 33 - 36 * |
杨芳圆,蔡青青: "基于Unity3D平台的VR黄酒博物馆漫游交互***开发", 电视技术, pages 26 - 28 * |
祁彬斌,朱学芳: "引入力触觉的数字文物多模交互方法", 中国图象图形学报, pages 1218 - 1230 * |
Also Published As
Publication number | Publication date |
---|---|
CN116681869B (en) | 2023-12-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20220249949A1 (en) | Method and apparatus for displaying virtual scene, device, and storage medium | |
Kähler et al. | Very high frame rate volumetric integration of depth images on mobile devices | |
KR102433857B1 (en) | Device and method for creating dynamic virtual content in mixed reality | |
CN102089786B (en) | Mapping graphics instructions to associated graphics data during performance analysis | |
US9703515B1 (en) | System and method for presenting output from concurrent computing units | |
CN113112579A (en) | Rendering method, rendering device, electronic equipment and computer-readable storage medium | |
US11727632B2 (en) | Shader binding management in ray tracing | |
JPH03139777A (en) | Graphic display system and method | |
CN109213607B (en) | Multithreading rendering method and device | |
CN105718643A (en) | Optimization view angle based ship production design drawing-inspection device implementation method | |
CN109697002A (en) | A kind of method, relevant device and the system of the object editing in virtual reality | |
CN111857966A (en) | Virtual machine snapshot creating method and device and computer readable storage medium | |
CN109254826A (en) | Virtualization accelerates the hang detection of processing unit | |
CN111476910A (en) | Intelligent building BIM 3D model display method, system, medium and display terminal | |
CN109840946A (en) | Virtual objects display methods and device | |
CN109544703B (en) | Data center Web3D model loading method easy to realize interaction | |
CN116681869B (en) | Cultural relic 3D display processing method based on virtual reality application | |
US20240143350A1 (en) | Rules Based User Interface Generation | |
EP3528126B1 (en) | Representing a test execution of a software application using extended reality | |
CN106648634A (en) | Screen shot method and screen shot device | |
CN110941389A (en) | Method and device for triggering AR information points by focus | |
CN109542573B (en) | Scene display method and device | |
JPWO2015063848A1 (en) | Programmable display, program | |
CN117036562A (en) | Three-dimensional display method and related device | |
GB2607997A (en) | A computer-implemented method and SDK for rapid rendering of object-oriented environments with enhanced interaction |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |