CN117173378B - CAVE environment-based WebVR panoramic data display method, device, equipment and medium - Google Patents

CAVE environment-based WebVR panoramic data display method, device, equipment and medium Download PDF

Info

Publication number
CN117173378B
CN117173378B CN202311453841.3A CN202311453841A CN117173378B CN 117173378 B CN117173378 B CN 117173378B CN 202311453841 A CN202311453841 A CN 202311453841A CN 117173378 B CN117173378 B CN 117173378B
Authority
CN
China
Prior art keywords
sphere
coordinate data
model
data
cube model
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.)
Active
Application number
CN202311453841.3A
Other languages
Chinese (zh)
Other versions
CN117173378A (en
Inventor
黄坤
徐国标
王燕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Techman Software Co Ltd
Original Assignee
Chengdu Techman Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Techman Software Co Ltd filed Critical Chengdu Techman Software Co Ltd
Priority to CN202311453841.3A priority Critical patent/CN117173378B/en
Publication of CN117173378A publication Critical patent/CN117173378A/en
Application granted granted Critical
Publication of CN117173378B publication Critical patent/CN117173378B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention relates to the technical field of virtual images, in particular to a method, a device, equipment and a medium for displaying WebVR panoramic data based on a CAVE environment, wherein the method comprises the following steps: acquiring WebVR panoramic data; establishing a sphere model, and mapping WebVR panoramic data to the sphere model to obtain sphere coordinate data; the cube model is built, the panoramic image of the CAVE environment is obtained based on the sphere coordinate data and the cube model, and then the WebVR panoramic data is displayed through the CAVE environment, so that the display effect is improved, interactivity is provided, and the user experience is improved.

Description

CAVE environment-based WebVR panoramic data display method, device, equipment and medium
Technical Field
The invention relates to the technical field of virtual images, in particular to a method, a device, equipment and a medium for displaying WebVR panoramic data based on a CAVE environment.
Background
In the prior art, virtual Reality (VR) can promote user experience in different application scenes, and CAVE technology is another panoramic image technology, is different from virtual reality and augmented reality panoramic images, does not need wearing equipment, and has more immersive experience.
However, the image source of CAVE needs to make interactive content through complex modeling, or shoot panoramic video, make later-stage content clipping, render, finally export to the CAVE host computer in the form of a slice and play the content, and the manufacturing process is complicated, long-time consuming, content replacement is difficult.
Therefore, how to display the virtual reality image through the CAVE environment is a technical problem to be solved at present.
Disclosure of Invention
In view of the above, the present invention provides a method, apparatus, device, and medium for displaying WebVR panorama data based on CAVE environment, which overcomes or at least partially solves the above problems.
In a first aspect, the present invention provides a method for displaying WebVR panorama data based on a CAVE environment, including:
acquiring WebVR panoramic data;
establishing a sphere model, and mapping WebVR panoramic data to the sphere model to obtain sphere coordinate data;
and constructing a cube model, and obtaining a panoramic image of the CAVE environment based on the sphere coordinate data and the cube model.
Preferably, the establishing a sphere model and mapping the WebVR panorama data to the sphere model to obtain sphere coordinate data includes:
establishing a sphere model, mapping the WebVR panoramic data to the sphere model, and determining the radius of the sphere model and the elevation angle and the azimuth angle of the WebVR panoramic data on the sphere model;
and obtaining sphere coordinate data based on the radius, the elevation angle and the azimuth angle.
Preferably, the constructing a cube model, based on the sphere coordinate data and the cube model, obtains a panoramic image of a CAVE environment, including:
determining Cartesian coordinate data of the sphere coordinate data based on the sphere coordinate data;
acquiring a mapping relation between the sphere coordinate data and the cube model;
and constructing a cube model, and obtaining a panoramic image of the CAVE environment based on the mapping relation between the spherical coordinate data and the cube model and the Cartesian coordinate data.
Preferably, the determining, based on the sphere coordinate data, cartesian coordinate data of the sphere coordinate data includes:
converting the sphere coordinate data into Cartesian according to the following calculation formulaAnd (3) the following steps:wherein->For the radius of the sphere model, +.>For said Cartesian coordinate data, +.>Elevation angle for the sphere coordinate data, +.>Azimuth for the sphere coordinate data.
Preferably, the obtaining the mapping relation between the sphere coordinate data and the cube model includes:
the mapping relation between the sphere coordinate data and each surface of the cube model is obtained as follows:wherein->For a first horizontal coordinate on the front or rear face of the cube model, +.>For the first vertical coordinate of the front or the rear,/a>Is the circumference ratio;wherein->For a second horizontal coordinate on the left or right side of the cube model, +.>A second vertical coordinate that is either the left or right side;wherein->For a third horizontal coordinate on the upper or lower face of the cube model, +.>A third vertical coordinate to the left or right.
Preferably, the constructing a cube model, based on the mapping relationship between the sphere coordinate data and the cube model, and the cartesian coordinate data, obtains a panoramic image of the CAVE environment, including:
constructing a cube model, mapping the Cartesian coordinate data to the front or the back of the cube model according to the mapping relation, and realizing according to the following calculation formula:mapping the Cartesian coordinate data to the left side or the right side of the cube model according to the mapping relation, and realizing according to the following calculation formula:mapping the Cartesian coordinate data to the upper surface or the lower surface of the cube model according to the mapping relation, and realizing according to the following calculation formula;obtaining panoramic images of CAVE environment
Preferably, after the constructing the cube model, obtaining a panoramic image of the CAVE environment based on the sphere coordinate data and the cube model, the method further includes:
and receiving interactive operation of a user, and responding to the interactive operation, and adjusting the panoramic image of the CAVE environment.
In a second aspect, the present invention further provides a WebVR panorama data presentation device based on a CAVE environment, including:
the acquisition module is used for acquiring WebVR panoramic data;
the mapping module is used for establishing a sphere model, and mapping the WebVR panoramic data to the sphere model to obtain sphere coordinate data;
the obtaining module is used for constructing a cube model and obtaining a panoramic image of the CAVE environment based on the sphere coordinate data and the cube model.
In a third aspect, the present invention also provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method steps described in the first aspect when the program is executed.
In a fourth aspect, the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method steps described in the first aspect.
One or more technical solutions in the embodiments of the present invention at least have the following technical effects or advantages:
the invention provides a CAVE environment-based WebVR panoramic data display method, which comprises the following steps: acquiring WebVR panoramic data; establishing a sphere model, and mapping WebVR panoramic data to the sphere model to obtain sphere coordinate data; the cube model is built, the panoramic image of the CAVE environment is obtained based on the sphere coordinate data and the cube model, and then the WebVR panoramic data is displayed through the CAVE environment, so that the display effect is improved, interactivity is provided, and the user experience is improved.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also throughout the drawings, like reference numerals are used to designate like parts. In the drawings:
fig. 1 is a schematic step flow diagram of a WebVR panoramic data presentation method based on a CAVE environment in an embodiment of the present invention;
FIG. 2 is a schematic diagram showing the coordinates of a P point on a sphere model in an embodiment of the present invention;
FIG. 3 shows a schematic diagram of computing a texture coordinate map for each face in an embodiment of the invention;
FIG. 4 is a schematic diagram illustrating actions performed by the backend server after the user performs the interactive operations in an embodiment of the present invention;
fig. 5 shows a schematic structural diagram of a WebVR panorama data presentation device based on a CAVE environment in an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a computer device for implementing a WebVR panorama data presentation method based on a CAVE environment in an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Example 1
The embodiment of the invention provides a CAVE environment-based WebVR panorama data presentation method, as shown in FIG. 1, comprising the following steps:
s101, acquiring WebVR panoramic data;
s102, a sphere model is established, webVR panoramic data is mapped to the sphere model, and sphere coordinate data are obtained;
and S103, constructing a cube model, and obtaining a panoramic image of the CAVE environment based on the sphere coordinate data and the cube model.
In a specific embodiment, the WebVR panorama data presents a planar effect, and in order to enable the WebVR panorama data to be applied in a CAVE environment, the WebVR panorama data needs to be projected onto a sphere model first, and then the data on the sphere model is projected into a cube model, so that a panoramic image of the CAVE environment is obtained. Because WebVR panoramic data is provided with interactive trigger points, the panoramic image of the CAVE environment is provided with interactive trigger points, and the image effect is improved while the characteristic that the original panoramic data can be interacted is maintained.
Specifically, S101, webVR panorama data is first acquired.
Next, S102 is executed, a sphere model is built, and WebVR panorama data is mapped onto the sphere model, resulting in sphere coordinates.
Specifically, a sphere model is established, webVR panoramic data is mapped onto the sphere model, and q determines the radius of the sphere model and the elevation angle and the azimuth angle of the WebVR panoramic data on the sphere model; based on the radius, elevation angle and azimuth angle, sphere coordinate data is obtained.
As shown in fig. 2, mapping the data of the P point in the WebVR panorama data onto a sphere model to obtain P The point data is the radius of the sphere model, the elevation angle of the WebVR panorama data on the sphere model and the azimuth angle of the WebVR panorama data on the sphere model.
From this, sphere coordinate data can be obtained for each WebVR panorama data mapped onto a sphere model.
Then, S103 is executed to construct a cube model, and a panoramic image of the CAVE environment is obtained based on the sphere coordinate data and the cube model.
Specifically, based on the sphere coordinate data, determining cartesian coordinate data of the sphere coordinate data; acquiring the mapping relation between sphere coordinate data and a cube model; constructing a cube model, and obtaining a panoramic image of the CAVE environment based on the mapping relation between the sphere coordinate data and the cube model and the Cartesian coordinate data; and constructing a cube model, and obtaining a panoramic image of the CAVE environment based on the mapping relation between the sphere coordinate data and the cube model and the Cartesian coordinate data.
In a specific embodiment, the cartesian coordinate data of the sphere coordinate data is determined based on the sphere coordinate data, in particular the sphere coordinate data is converted into the cartesian coordinate data, i.e. the three-dimensional coordinates of the sphere points are calculated based on the elevation angle, the azimuth angle and the radius in the sphere model.
The sphere coordinate data is converted into Cartesian coordinate data according to the following calculation formula:wherein->For the radius of the sphere model, +.>For said Cartesian coordinate data, +.>Elevation angle for the sphere coordinate data, +.>Azimuth for the sphere coordinate data.
Next, a mapping relationship between the sphere coordinate data and the cube model is acquired. Specifically, the mapping relationship between the sphere coordinate data and each face of the cube model is obtained as follows:
as shown in FIG. 3, the texture coordinate map is calculated specifically for each face, and for the front and rear faces, three-dimensional coordinates (-Z, Z) are corresponding.Wherein->For a first horizontal coordinate on the front or rear face of the cube model, +.>For the first vertical coordinate of the front or the rear,/a>Is the circumference ratio;
for the left and right, the corresponding three-dimensional coordinates (-X, X).
Wherein->For a second horizontal coordinate on the left or right side of the cube model, +.>A second vertical coordinate that is either the left or right side;
for the upper and lower faces, the corresponding three-dimensional coordinates (-Y, Y).
Wherein->For a third horizontal coordinate on the upper or lower face of the cube model, +.>A third vertical coordinate to the left or right.
This results in the mapping relationship.
And finally, constructing a cube model, and obtaining the panoramic image of the CAVE environment based on the mapping relation between the sphere coordinate data and the cube model and the Cartesian coordinate data.
Specifically, a cube model is built, cartesian coordinate data is mapped to the front or the back of the cube model according to the mapping relation, and the method is realized according to the following calculation formula:the Cartesian coordinate data is mapped to the left side or the right side of the cube model according to the mapping relation, and the method is realized according to the following calculation formula:the Cartesian coordinate data is mapped to the upper surface or the lower surface of the cube model according to the mapping relation, and the method is realized according to the following calculation formula:after mapping all Cartesian coordinate data onto the cube model, a panoramic image of the CAVE environment is obtained. Wherein (1)>To calculate the function of arctangent.
Of course, in this process, filling of pixels and the like are also included. And will not be described in detail herein.
In an alternative embodiment, the sides of the cube model are larger than the diameter of the sphere model.
After S103, further including: and receiving interactive operation of the user, and responding to the interactive operation to adjust the panoramic image of the CAVE environment.
After the panoramic image is displayed through the CAVE, acquiring an operation instruction of a user at a control end user operation interface (UI), executing new operation according to WebVR logic based on the operation instruction, and pushing a calculation result to a CAVE screen, so that an interactive effect is realized.
The operation instructions of the user can be collected through the control end user operation interface and also can be collected through the collecting equipment such as a camera. The user's operation instructions may be gesture operation instructions, voice control instructions, continuous motion control instructions, etc., to provide more vivid and interesting content presentation. For example, the user can control operations such as playing, pausing, fast forwarding, rewinding and the like of the whole CAVE picture through simple gesture operation, so that the user experience is more free and flexible. The voice control instruction is more visual and natural without using a physical controller. The continuous motion control instruction enables the user to have a more immersive experience by capturing real-time motion of the user and converting it into motion in the virtual world.
By adopting any one of the control instructions, the expansion interaction is realized, and more diversified and personalized operation experience is provided for the user. Moreover, the user can select the interaction mode suitable for the user to operate according to the preference of the user, so that a richer and interesting immersive experience is obtained.
The WebVR panoramic data display method based on the CAVE environment can be suitable for the requirements of different users besides being more attractive and shocked on the picture by expanding various interaction modes.
Therefore, the method combines the advantages of strong compatibility, simple operation, real-time rendering of panoramic pictures, light interaction and the like, can lead the interaction modes of gesture recognition, voice interaction recognition, motion capture recognition and the like to vividly and interestingly express the content, brings more abundant and various user experiences for CAVE environments, and promotes the development and application of virtual reality technology.
As shown in fig. 4, after the user performs the interactive operation, the back-end server performs an action schematic diagram to embody a logic process of WebVR panorama data based on the CAVE environment after responding to the interactive operation.
One or more technical solutions in the embodiments of the present invention at least have the following technical effects or advantages:
the invention provides a CAVE environment-based WebVR panoramic data display method, which comprises the following steps: acquiring WebVR panoramic data; establishing a sphere model, and mapping WebVR panoramic data to the sphere model to obtain sphere coordinate data; the cube model is built, the panoramic image of the CAVE environment is obtained based on the sphere coordinate data and the cube model, and then the WebVR panoramic data is displayed through the CAVE environment, so that the display effect is improved, interactivity is provided, and the user experience is improved.
Example 2
Based on the same inventive concept, the embodiment of the invention also provides a WebVR panoramic data presentation device based on a CAVE environment, as shown in fig. 5, comprising:
an obtaining module 501, configured to obtain WebVR panorama data;
the mapping module 502 is configured to build a sphere model, map WebVR panorama data onto the sphere model, and obtain sphere coordinate data;
and an obtaining module 503, configured to construct a cube model, and obtain a panoramic image of the CAVE environment based on the sphere coordinate data and the cube model.
In an alternative embodiment, the mapping module 502 is configured to:
establishing a sphere model, mapping the WebVR panoramic data to the sphere model, and determining the radius of the sphere model and the elevation angle and the azimuth angle of the WebVR panoramic data on the sphere model;
and obtaining sphere coordinate data based on the radius, the elevation angle and the azimuth angle.
In an alternative embodiment, the obtaining module 503 includes:
a determining unit configured to determine cartesian coordinate data of the sphere coordinate data based on the sphere coordinate data;
the acquisition unit is used for acquiring the mapping relation between the sphere coordinate data and the cube model;
the obtaining unit is used for constructing a cube model, and obtaining a panoramic image of the CAVE environment based on the mapping relation between the sphere coordinate data and the cube model and the Cartesian coordinate data.
In an alternative embodiment, the determining unit is configured to:
the sphere coordinate data is converted into Cartesian coordinate data according to the following calculation formula:wherein->For the radius of the sphere model, +.>For said Cartesian coordinate data, +.>Elevation angle for the sphere coordinate data, +.>Azimuth for the sphere coordinate data.
In an alternative embodiment, the obtaining unit is configured to:
the mapping relation between the sphere coordinate data and each surface of the cube model is obtained as follows:wherein->For a first horizontal coordinate on the front or rear face of the cube model, +.>For the first vertical coordinate of the front or the rear,/a>Is the circumference ratio;wherein->For a second horizontal coordinate on the left or right side of the cube model, +.>A second vertical coordinate that is either the left or right side;wherein->For a third horizontal coordinate on the upper or lower face of the cube model, +.>A third vertical coordinate to the left or right.
In an alternative embodiment, a unit is obtained for:
constructing a cube model, mapping the Cartesian coordinate data to the front or the back of the cube model according to the mapping relation, and realizing according to the following calculation formula:mapping the Cartesian coordinate data to the left side or the right side of the cube model according to the mapping relation, and realizing according to the following calculation formula:mapping the Cartesian coordinate data to the upper surface or the lower surface of the cube model according to the mapping relation, and realizing according to the following calculation formula;obtaining panoramic images of CAVE environment
In an alternative embodiment, the method further comprises: an adjustment module for:
and receiving interactive operation of a user, and responding to the interactive operation, and adjusting the panoramic image of the CAVE environment.
Example 3
Based on the same inventive concept, an embodiment of the present invention provides a computer device, as shown in fig. 6, including a memory 604, a processor 602, and a computer program stored in the memory 604 and capable of running on the processor 602, where the steps of the above-mentioned WebVR panorama data presentation method based on a CAVE environment are implemented when the processor 602 executes the program.
Where in FIG. 6, a bus architecture (represented by bus 600), bus 600 may include any number of interconnected buses and bridges, with bus 600 linking together various circuits, including one or more processors, represented by processor 602, and memory, represented by memory 604. Bus 600 may also link together various other circuits such as peripheral devices, voltage regulators, power management circuits, etc., as are well known in the art and, therefore, will not be described further herein. The bus interface 606 provides an interface between the bus 600 and the receiver 601 and transmitter 603. The receiver 601 and the transmitter 603 may be the same element, i.e. a transceiver, providing a means for communicating with various other apparatus over a transmission medium. The processor 602 is responsible for managing the bus 600 and general processing, while the memory 604 may be used to store data used by the processor 602 in performing operations.
Example 4
Based on the same inventive concept, an embodiment of the present invention provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the above-described CAVE-environment-based WebVR panorama data presentation method.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general-purpose systems may also be used with the teachings herein. The required structure for a construction of such a system is apparent from the description above. In addition, the present invention is not directed to any particular programming language. It will be appreciated that the teachings of the present invention described herein may be implemented in a variety of programming languages, and the above description of specific languages is provided for disclosure of enablement and best mode of the present invention.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be construed as reflecting the intention that: i.e., the claimed invention requires more features than are expressly recited in each embodiment. Rather, as each embodiment reflects, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiments. The modules or units or components of the embodiments may be combined into one module or unit or component and, furthermore, they may be divided into a plurality of sub-modules or sub-units or sub-components. Any combination of all features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or units of any method or apparatus so disclosed, may be used in combination, except insofar as at least some of such features and/or processes or units are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings), may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in a specific implementation, any of the claimed embodiments may be used in any combination.
Various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that some or all of the functions of some or all of the components of a CAVE-environment-based WebVR panorama data presentation apparatus, a computer device according to an embodiment of the present invention may be implemented in practice using a microprocessor or Digital Signal Processor (DSP). The present invention can also be implemented as an apparatus or device program (e.g., a computer program and a computer program product) for performing a portion or all of the methods described herein. Such a program embodying the present invention may be stored on a computer readable medium, or may have the form of one or more signals. Such signals may be downloaded from an internet website, provided on a carrier signal, or provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names.

Claims (6)

1. A CAVE environment-based WebVR panoramic data presentation method is characterized by comprising the following steps:
acquiring WebVR panoramic data;
establishing a sphere model, and mapping WebVR panoramic data to the sphere model to obtain sphere coordinate data;
constructing a cube model, and obtaining a panoramic image of a CAVE environment based on the sphere coordinate data and the cube model, wherein the method comprises the following steps:
determining Cartesian coordinate data of the sphere coordinate data based on the sphere coordinate data, comprising:
the sphere coordinate data is converted into Cartesian coordinate data according to the following calculation formula:
wherein,for the radius of the sphere model, +.>For said Cartesian coordinate data, +.>Elevation angle for the sphere coordinate data, +.>Azimuth angle of the sphere coordinate data;
the obtaining of the mapping relation between the sphere coordinate data and the cube model comprises the following steps:
the mapping relation between the sphere coordinate data and each surface of the cube model is obtained as follows:
wherein,for a first horizontal coordinate on the front or rear face of the cube model, +.>For the first vertical coordinate of the front or the rear,/a>Is the circumference ratio;
wherein,for a second horizontal coordinate on the left or right side of the cube model, +.>A second vertical coordinate that is either the left or right side;
wherein,for a third horizontal coordinate on the upper or lower face of the cube model, +.>A third vertical coordinate that is either the left or right side;
constructing a cube model, and obtaining a panoramic image of the CAVE environment based on the mapping relation between the sphere coordinate data and the cube model and the Cartesian coordinate data, wherein the method comprises the following steps:
constructing a cube model, mapping the Cartesian coordinate data to the front or the back of the cube model according to the mapping relation, and realizing according to the following calculation formula:
mapping the Cartesian coordinate data to the left side or the right side of the cube model according to the mapping relation, and realizing according to the following calculation formula:
mapping the Cartesian coordinate data onto the upper surface or the lower surface of the cube model according to the mapping relation, and realizing according to the following calculation formula;
and obtaining the panoramic image of the CAVE environment.
2. The method of claim 1, wherein the building a sphere model and mapping the WebVR panorama data onto the sphere model to obtain sphere coordinate data comprises:
establishing a sphere model, mapping the WebVR panoramic data to the sphere model, and determining the radius of the sphere model and the elevation angle and the azimuth angle of the WebVR panoramic data on the sphere model;
and obtaining sphere coordinate data based on the radius, the elevation angle and the azimuth angle.
3. The method of claim 1, further comprising, after said constructing a cube model, obtaining a panoramic image of a CAVE environment based on said sphere coordinate data and said cube model:
and receiving interactive operation of a user, and responding to the interactive operation, and adjusting the panoramic image of the CAVE environment.
4. The WebVR panorama data presentation device based on CAVE environment, characterized by comprising:
the acquisition module is used for acquiring WebVR panoramic data;
the mapping module is used for establishing a sphere model, and mapping the WebVR panoramic data to the sphere model to obtain sphere coordinate data;
the obtaining module is used for constructing a cube model, obtaining a panoramic image of a CAVE environment based on the sphere coordinate data and the cube model, and comprises the following steps:
a determining unit for determining cartesian coordinate data of the sphere coordinate data based on the sphere coordinate data, and a determining unit for:
the sphere coordinate data is converted into Cartesian coordinate data according to the following calculation formula:
wherein,for the radius of the sphere model, +.>For said Cartesian coordinate data, +.>Elevation angle for the sphere coordinate data, +.>Azimuth angle of the sphere coordinate data;
the acquisition unit is used for acquiring the mapping relation between the sphere coordinate data and the cube model and is used for:
the mapping relation between the sphere coordinate data and each surface of the cube model is obtained as follows:
wherein,for a first horizontal coordinate on the front or rear face of the cube model, +.>For the first vertical coordinate of the front or the rear,/a>Is the circumference ratio;
wherein,for a second horizontal coordinate on the left or right side of the cube model, +.>A second vertical coordinate that is either the left or right side;
wherein,for a third horizontal coordinate on the upper or lower face of the cube model, +.>A third vertical coordinate that is either the left or right side;
the obtaining unit is used for constructing a cube model, obtaining a panoramic image of the CAVE environment based on the mapping relation between the sphere coordinate data and the cube model and the Cartesian coordinate data, and is used for:
constructing a cube model, mapping the Cartesian coordinate data to the front or the back of the cube model according to the mapping relation, and realizing according to the following calculation formula:
mapping the Cartesian coordinate data to the left side or the right side of the cube model according to the mapping relation, and realizing according to the following calculation formula:
mapping the Cartesian coordinate data onto the upper surface or the lower surface of the cube model according to the mapping relation, and realizing according to the following calculation formula;
and obtaining the panoramic image of the CAVE environment.
5. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method steps of any of claims 1-3 when the program is executed.
6. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method of any of claims 1-3.
CN202311453841.3A 2023-11-03 2023-11-03 CAVE environment-based WebVR panoramic data display method, device, equipment and medium Active CN117173378B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311453841.3A CN117173378B (en) 2023-11-03 2023-11-03 CAVE environment-based WebVR panoramic data display method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311453841.3A CN117173378B (en) 2023-11-03 2023-11-03 CAVE environment-based WebVR panoramic data display method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN117173378A CN117173378A (en) 2023-12-05
CN117173378B true CN117173378B (en) 2024-02-02

Family

ID=88945432

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311453841.3A Active CN117173378B (en) 2023-11-03 2023-11-03 CAVE environment-based WebVR panoramic data display method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN117173378B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104657096A (en) * 2013-11-25 2015-05-27 中国直升机设计研究所 Method for realizing virtual product visualization and interaction under cave automatic virtual environment
CN106897108A (en) * 2017-01-20 2017-06-27 华南理工大学 A kind of implementation method of the virtual reality Panoramic Warping based on WebVR
CN108510372A (en) * 2018-04-12 2018-09-07 北京聚通达科技股份有限公司 A method of based on 3D+VR article displays
CN110348138A (en) * 2019-07-15 2019-10-18 辽宁瑞华实业集团高新科技有限公司 A kind of real-time method, apparatus and storage medium for generating true underworkings model
CN111047711A (en) * 2019-12-16 2020-04-21 山东东艺数字科技有限公司 Immersive interactive Box image manufacturing method
CN111273878A (en) * 2020-01-08 2020-06-12 广州市三川田文化科技股份有限公司 Video playing method and device based on CAVE space and storage medium
CN111355954A (en) * 2018-12-20 2020-06-30 皇家Kpn公司 Processing video data for a video player device
CN111354085A (en) * 2020-02-26 2020-06-30 广州奇境科技有限公司 Immersive interactive Box image production method
CN114339192A (en) * 2021-12-27 2022-04-12 南京乐知行智能科技有限公司 Virtual reality glasses playing method for WEB VR content
CN114449169A (en) * 2022-01-27 2022-05-06 中影电影数字制作基地有限公司 Cutting method and system for displaying panoramic video in CAVE space

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10764553B2 (en) * 2018-11-27 2020-09-01 Number 9, LLC Immersive display system with adjustable perspective

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104657096A (en) * 2013-11-25 2015-05-27 中国直升机设计研究所 Method for realizing virtual product visualization and interaction under cave automatic virtual environment
CN106897108A (en) * 2017-01-20 2017-06-27 华南理工大学 A kind of implementation method of the virtual reality Panoramic Warping based on WebVR
CN108510372A (en) * 2018-04-12 2018-09-07 北京聚通达科技股份有限公司 A method of based on 3D+VR article displays
CN111355954A (en) * 2018-12-20 2020-06-30 皇家Kpn公司 Processing video data for a video player device
CN110348138A (en) * 2019-07-15 2019-10-18 辽宁瑞华实业集团高新科技有限公司 A kind of real-time method, apparatus and storage medium for generating true underworkings model
CN111047711A (en) * 2019-12-16 2020-04-21 山东东艺数字科技有限公司 Immersive interactive Box image manufacturing method
CN111273878A (en) * 2020-01-08 2020-06-12 广州市三川田文化科技股份有限公司 Video playing method and device based on CAVE space and storage medium
CN111354085A (en) * 2020-02-26 2020-06-30 广州奇境科技有限公司 Immersive interactive Box image production method
CN114339192A (en) * 2021-12-27 2022-04-12 南京乐知行智能科技有限公司 Virtual reality glasses playing method for WEB VR content
CN114449169A (en) * 2022-01-27 2022-05-06 中影电影数字制作基地有限公司 Cutting method and system for displaying panoramic video in CAVE space

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
罗列异 ; 张帆.沉浸式数字虚拟展馆设计研究.《中国有线电视》.2021,847-850. *

Also Published As

Publication number Publication date
CN117173378A (en) 2023-12-05

Similar Documents

Publication Publication Date Title
CN107590771B (en) 2D video with options for projection viewing in modeled 3D space
US10573060B1 (en) Controller binding in virtual domes
US20170186219A1 (en) Method for 360-degree panoramic display, display module and mobile terminal
US20110273451A1 (en) Computer simulation of visual images using 2d spherical images extracted from 3d data
CN108939556B (en) Screenshot method and device based on game platform
EP2058768A1 (en) Image viewer, image displaying method and information storage medium
CN108616731A (en) 360 degree of VR panoramic images images of one kind and video Real-time Generation
CN108960947A (en) Show house methods of exhibiting and system based on virtual reality
CN113223130B (en) Path roaming method, terminal equipment and computer storage medium
US9183654B2 (en) Live editing and integrated control of image-based lighting of 3D models
CN110568923A (en) unity 3D-based virtual reality interaction method, device, equipment and storage medium
KR20190084987A (en) Oriented image stitching for older image content
CN112672185B (en) Augmented reality-based display method, device, equipment and storage medium
US20170142389A1 (en) Method and device for displaying panoramic videos
WO2020069427A1 (en) Panoramic light field capture, processing and display
EP2065854B1 (en) posture dependent normal vectors for texture mapping
US10740957B1 (en) Dynamic split screen
JP2021034885A (en) Image generation device, image display device, and image processing method
JP2014532225A (en) A mechanism for facilitating context-aware model-based image composition and rendering in computing devices
WO2017113729A1 (en) 360-degree image loading method and loading module, and mobile terminal
CN107065164B (en) Image presentation method and device
CN110286906B (en) User interface display method and device, storage medium and mobile terminal
CN108765582B (en) Panoramic picture display method and device
KR102176805B1 (en) System and method for providing virtual reality contents indicated view direction
CN117173378B (en) CAVE environment-based WebVR panoramic data display method, device, equipment and medium

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