Panel moving method and device in virtual reality space and electronic equipment
By responding to changes in the attitude of the virtual reality device in the virtual reality space and automatically moving the close-range panel to different positions between the user and the mid-range panel, it solves the problems of high difficulty in moving the close-range panel and poor user experience in the existing technology, and achieves high efficiency. , precise panel adjustment.
Patent Information
- Application Number
- CN202310351188.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-24
- Publication Date
- 2024-09-24
AI Technical Summary
In virtual reality interaction scenarios, existing technology is difficult to achieve accurate automatic movement and independent adjustment of close-range panels, resulting in poor user experience and high difficulty in manual dragging.
By displaying the close-range panel and the mid-range panel in the virtual reality space, and responding to the panel movement instructions triggered by changes in the posture of the virtual reality device, the close-range panel is moved from the initial position to a different position between the user and the mid-range panel, realizing automatic movement and Adjust independently.
It improves the movement efficiency and accuracy of the close-range panel, enhances the user experience, avoids the difficulty of manual dragging, and realizes independent position adjustment of the close-range panel.
Smart Images

Figure CN118689355A
Abstract
Description
Technical Field
[0001] The present application belongs to the field of virtual reality technology, and in particular relates to a panel moving method in a virtual reality space, a panel moving device in a virtual reality space, a computer-readable storage medium, and an electronic device. Background Art
[0002] Extended Reality (XR) refers to the combination of reality and virtuality through computers to create a virtual environment for human-computer interaction. It is a general term for various technologies such as augmented reality, virtual reality, and mixed reality. Virtual Reality (VR) is a widely used technology at present. It is a combination of virtuality and reality. It uses real-life data and electronic signals generated by computer technology, and combines them with various output devices to transform them into phenomena that people can feel. These phenomena can be real objects in reality or substances that are invisible to our naked eyes, which are expressed through three-dimensional models.
[0003] In a virtual reality interactive scene, it is usually necessary to adjust the position of a foreground panel (e.g., a taskbar) to facilitate interaction. Currently, the commonly used adjustment methods are all based on a drag bar. For example, for a virtual reality device, when adjusting the position of the foreground panel, the user needs to aim a ray at the drag bar below the taskbar, and then press and move the handle to move the foreground panel in space. However, the drag bar is small in size, and dragging cannot be achieved if the ray aiming accuracy is insufficient. In addition, when the foreground panel moves, the main interface moves together, and the foreground panel position cannot be adjusted separately. In addition, the user experience of manual dragging is also poor. Summary of the invention
[0004] The purpose of the present application is to provide a panel moving method in a virtual reality space, a panel moving device in a virtual reality space, a computer-readable storage medium, and an electronic device, which can overcome the problems of high difficulty in manual dragging, poor user experience, and inability to adjust the close-up panel separately in the related art.
[0005] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present application.
[0006] According to one aspect of an embodiment of the present application, a panel movement method in a virtual reality space is provided, the method comprising: displaying a near-view panel and a middle-view panel in the virtual reality space, the near-view panel being located at a first position between a user and the middle-view panel and having a first display effect; in response to a panel movement instruction triggered by a posture change of a virtual reality device, moving the near-view panel from the first position to a second position between the user and the middle-view panel and having a second display effect, the first position being different from the second position, and the first display effect being different from the second display effect.
[0007] According to one aspect of an embodiment of the present application, a panel moving device in a virtual reality space is provided, the device comprising: a display module, used to display a near-view panel and a middle-view panel in the virtual reality space, the near-view panel being located at a first position between a user and the middle-view panel and having a first display effect; a moving module, used to respond to a panel movement instruction triggered by a posture change of a virtual reality device, to move the near-view panel from the first position to a second position between the user and the middle-view panel and having a second display effect, the first position being different from the second position, and the first display effect being different from the second display effect.
[0008] According to one aspect of an embodiment of the present application, a computer-readable medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method for moving a panel in a virtual reality space in the above technical solution is implemented.
[0009] According to one aspect of an embodiment of the present application, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the panel movement method in a virtual reality space as in the above technical solution by executing the executable instructions.
[0010] According to one aspect of an embodiment of the present application, a computer program product is provided, which includes computer instructions. When the computer instructions are executed on a computer, the computer executes the panel movement method in a virtual reality space as in the above technical solution.
[0011] The panel movement method in the virtual reality space provided by the embodiment of the present application first displays the near view panel and the middle view panel in the virtual reality space, the near view panel is located at a first position between the user and the middle view panel, and has a first display effect, and then responds to the panel movement instruction triggered by the posture change of the virtual display device, moves the near view panel from the first position to a second position between the user and the middle view panel, and has a second display effect, the first position is different from the second position, and the first display effect is different from the second display effect. On the one hand, the present application can realize the automatic movement of the near view panel, avoid the manual dragging of the user, and improve the movement efficiency and accuracy; on the other hand, it can realize the independent movement of the near view panel, and improve the user experience.
[0012] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0014] Figure 1 The interface diagram for spatially moving the task bar in a virtual reality device in the related art is schematically shown.
[0015] Figure 2 The structural diagram of the system architecture of the panel movement method in the virtual reality space in the embodiment of the present application is schematically shown.
[0016] Figure 3 The following is a schematic diagram of the steps of the panel movement method in the virtual reality space in the embodiment of the present application.
[0017] Figure 4 The interface diagram of the reference camera orientation in the embodiment of the present application is schematically shown.
[0018] Figures 5A-5C The interface diagram of a spatial position movement mode of a near-view panel in an embodiment of the present application is schematically shown.
[0019] Figure 6A-6B The interface diagram of another spatial position movement mode of the near-view panel in the embodiment of the present application is schematically shown.
[0020] Figures 7A-7CThe interface diagram for switching the near-view panel display effect in the embodiment of the present application is schematically shown.
[0021] Figures 8A-8B The interface diagram schematically shows the movement of the close-view panel in space as the deflection angle between the camera orientation of the virtual reality device and the reference camera orientation decreases in the embodiment of the present application.
[0022] Fig. 9 The flowchart of the near view panel moving from the first position to the near point position or the far point position in the embodiment of the present application is schematically shown.
[0023] Fig.10 The following is a schematic diagram of an interface for adaptive movement of a near-view panel in an embodiment of the present application.
[0024] Fig.11 The structural block diagram of the panel moving device in the virtual reality space in the embodiment of the present application is schematically shown.
[0025] Fig.12 The structure block diagram of a computer system suitable for implementing an electronic device of an embodiment of the present application is schematically shown. DETAILED DESCRIPTION
[0026] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be more comprehensive and complete and fully convey the concept of the example embodiments to those skilled in the art.
[0027] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, known methods, devices, realizations or operations are not shown or described in detail to avoid blurring the various aspects of the application.
[0028] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0029] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0030] In the related art of this application, Figure 1 A schematic diagram of an interface for moving a task bar in a virtual reality device in space is shown. Figure 1 As shown, a main screen and a taskbar are displayed in a virtual reality space. The taskbar is located below the main screen. A drag bar T is set at the lower edge of the taskbar. When the user wants to move the taskbar in space, he can aim at the drag bar T through a ray, then press and hold and move the handle to continue dragging, and the taskbar can be dragged to the desired position. However Figure 1 The method for moving the spatial position of the taskbar shown in the figure has corresponding problems: first, the drag bar is small in size, and the position can only be dragged after the ray is accurately aimed. If the aiming accuracy is poor, the drag bar cannot be dragged, and the spatial position of the taskbar cannot be moved; second, the spatial position movement of the taskbar requires complete manual adjustment, lacks an automatic adjustment mechanism, and the user experience is poor; finally, when the spatial position of the taskbar is moved, the main interface will move together, and the taskbar position cannot be adjusted separately.
[0031] In view of the related art in the art, the embodiment of the present application proposes a panel moving method in a virtual reality space. Before describing in detail the panel moving method in a virtual reality space in the present application, the technical terms that may be involved in the present application are first described.
[0032] 1. Extended Reality: Extended Reality, referred to as XR, refers to the combination of reality and virtuality through computers to create a virtual environment for human-computer interaction. It is also a general term for multiple technologies such as augmented reality, virtual reality, and mixed reality.
[0033] 2. Virtual Reality: Virtual Reality, abbreviated as VR, is also known as virtual reality or spiritual technology. The basic implementation method is based on computer technology, utilizing and integrating the latest developments in three-dimensional graphics technology, multimedia technology, simulation technology, display technology, servo technology and other high-tech technologies. With the help of computers and other equipment, a realistic three-dimensional visual, tactile, olfactory and other sensory experiences are created in the virtual world, so that people in the virtual world have an immersive feeling.
[0034] 3. Field of view angle: Also known as field of view in optical engineering, the size of the field of view angle determines the field of view of the optical instrument.
[0035] The panel movement method in the virtual reality space in the present application relates to virtual reality technology, and further to extended reality technology, and extended reality (XR) includes technologies such as augmented reality (AR), virtual reality (VR), and mixed reality (MR), among which the application of virtual reality (VR) technology is more extensive. Virtual reality is a term for various types of content that have been used to simulate immersion in a three-dimensional world, including, for example, various video game content and animated film content. In various types of virtual reality, users can navigate by controlling the position and orientation of a virtual camera through a simulation of a 3D environment generated based on a computer model, and the virtual camera defines a viewpoint for a two-dimensional scene displayed on a two-dimensional display screen.
[0036] Virtual reality (VR) has been applied to various types of immersive video stereoscopic presentation technologies, including, for example, stereoscopic virtual reality headsets. Headsets and other presentation methods immerse users in 3D scenes. Lenses in the headsets allow users to focus on a lightweight split-screen display screen mounted on the headset just a few feet from the user's eyes. Different sides of the split-screen display show left and right stereoscopic views of the video content, while the user's peripheral view is blocked. In another type of headset, two separate displays are used to show different images to the user's left and right eyes, respectively. In another type of headset, the field of view of the display contains the full field of view of the eye including the peripheral view. In another type of headset, a controllable small laser, mirror or lens is used to project the image onto the user's retina. In either case, the headset enables the user to experience more of the displayed virtual reality content, as if the viewer were immersed in a real scene.
[0037] Next, an exemplary system architecture applying the technical solution of the present application is described.
[0038] Figure 2 The exemplary system architecture block diagram applying the technical solution of the present application is schematically shown.
[0039] like Figure 2 As shown, the system architecture 200 may include a display 201, a processor 202, a rendering camera 203 and a gyroscope 204 forming a virtual reality device. The display 201 is used to display images to the left and right eyes respectively, the processor 202 is used to perform calculations to generate image data, calculate posture positioning according to the data detected by the gyroscope 204, and the rendering camera 203 is used to render and generate images that can be displayed on the display 201 according to the image data calculated by the processor 202.
[0040] In one embodiment of the present application, after the user has put on the virtual reality device and entered the launcher environment, a near view panel and a middle view panel can be displayed in the virtual interactive interface, wherein the near view panel is a panel for displaying the task bar, and the middle view panel is a panel for displaying the main screen, and the near view panel is located at a first position between the user and the middle view panel. As the user's head moves, the posture of the virtual reality device also changes. When the posture of the virtual reality device changes, the gyroscope 204 can detect the direction of the rendering camera 203 and the deflection angle between the direction and the direction of the rendering camera when the user's line of sight is horizontal and straight, and trigger the processor 202 to generate a panel movement instruction to move the near view panel to a second position, which is located between the user and the middle view panel and different from the first position, and the near view panel after the movement has a second display effect different from the first display effect. For example, when the user lowers his head, raises his head, turns his head left, or right, the rendering camera orientation of the virtual reality device gradually deviates from the rendering camera orientation when the user's line of sight is in a horizontal straight view. At this time, the near view panel moves from a first position close to the middle view panel to a second position close to the user, and the display size is enlarged. When the user switches from the state of lowering his head, raising his head, turning his head left, or turning his head right to the state of horizontal straight view, the rendering camera orientation of the virtual reality device gradually approaches the rendering camera orientation when the user's line of sight is in a horizontal straight view. At this time, the near view panel moves from a first position close to the user to a second position close to the middle view panel, and the display size is reduced. Furthermore, when the near view panel moves from a first position close to the user to a second position close to the middle view panel, the height of the near view panel can also be adaptively adjusted to prevent the near view panel from blocking the information displayed in the middle view panel.
[0041] Next, the technical solutions such as the panel moving method in the virtual reality space, the panel moving device in the virtual reality space, the computer-readable medium and the electronic device provided by the present application are described in detail in combination with the specific implementation methods.
[0042] Figure 3 The schematic diagram of the step flow of the panel moving method in the virtual reality space in one embodiment of the present application is shown schematically. The panel moving method in the virtual reality space is executed by a processor. The server may be Figure 2 The processor 202 in FIG. Figure 3 As shown, the panel moving method in the virtual reality space in the embodiment of the present application may mainly include the following steps S310 to S320.
[0043] Step S310: displaying a near view panel and a middle view panel in the virtual reality space, wherein the near view panel is located at a first position between the user and the middle view panel and has a first display effect;
[0044] Step S320: In response to a panel movement instruction triggered by a change in the posture of the virtual reality device, the near-view panel is moved from the first position to a second position between the user and the mid-view panel, and has a second display effect, wherein the first position is different from the second position, and the first display effect is different from the second display effect.
[0045] In the panel movement method in the virtual reality space provided by the embodiment of the present application, the near view panel and the middle view panel are first displayed in the virtual reality space, the near view panel is located at a first position between the user and the middle view panel, and has a first display effect, and then in response to the panel movement instruction triggered by the posture change of the virtual display device, the near view panel is moved from the first position to a second position between the user and the middle view panel, and has a second display effect, the first position is different from the second position, and the first display effect is different from the second display effect. On the one hand, the present application can realize the automatic movement of the near view panel, avoid the manual dragging of the user, and improve the movement efficiency and accuracy; on the other hand, it can realize the independent movement of the near view panel, and improve the user experience.
[0046] The specific implementation of each method step of the panel moving method in the virtual reality space in the embodiment of the present application is described in detail below.
[0047] In step S310, a near view panel and a middle view panel are displayed in a virtual reality space, wherein the near view panel is located at a first position between the user and the middle view panel and has a first display effect.
[0048] In one embodiment of the present application, after the user installs and wears the virtual reality device, the virtual reality device is started to enter the launcher environment. In the launcher environment, a close-up panel and a middle-up panel are displayed in the virtual reality space, wherein the middle-up panel is used to display the main screen; the type of the close-up panel varies according to the type of application selected by the user in the launcher environment. For example, when the user enters the launcher environment, the close-up panel displays a status bar, which displays a user portrait, time, battery level, network logo, alarm clock, message logo, etc. When the user selects an application in the launcher environment, the close-up panel displays a status bar. , the foreground panel corresponds to the type of application. For example, when the application is a music player, the foreground panel displays the music playback control bar, which displays the logos of functional controls such as the previous song, next song, pause / play, and fast forward; when the application is a video player, the foreground panel displays the video playback control bar, which displays the logos of functional controls such as the progress bar, previous video, next video, pause / play, and so on; when the application is a game application, the foreground panel can display the logos of functional controls such as props and message reminders required during the game, and can also display information such as the player level and vitality.
[0049] In one embodiment of the present application, the near view panel and the middle view panel are independent of each other, that is, the spatial position movement of the near view panel does not affect the position of the middle view panel. In the embodiment of the present application, the middle view panel is located within the core visual field of the user, specifically, within the user's 40° core visual field. The near view panel can be set at any position within the user's field of view, but for the convenience of the user, the near view panel can be set together with the middle view panel within the user's 40° core visual field.
[0050] In one embodiment of the present application, the near view panel is located at a first position between the user and the middle view panel. According to the rendering camera orientation of the virtual reality device when the user enters the virtual reality space, the first position may be a position close to the user in the virtual reality space, or a position close to the middle view panel. At the same time, the near view panel has a first display effect when in the first position, and the first display effect includes a first display specification, and further includes a first state mark and / or a first interaction mark. Among them, the first display specification is the size of the near view panel and the content displayed in the near view panel when the near view panel is in the first position, the first state mark is the initial position state corresponding to the near view panel when the near view panel is in the first position, and the first interaction mark is the best interaction mode corresponding to the near view panel when the near view panel is in the first position. In the embodiment of the present application, the interaction mode between the user and the near view panel includes two modes: bare hand touch and ray selection. According to the different positions of the near view panel, the best interaction mode is also different. When the near view panel is close to the user, the interaction mode of bare hand touch is preferably adopted. When the near view panel is far away from the user and close to the middle view panel, the interaction mode of ray selection is preferably adopted.
[0051] In step S320, in response to a panel movement instruction triggered by a change in the posture of the virtual reality device, the near-view panel is moved from the first position to a second position between the user and the mid-view panel, and has a second display effect, the first position is different from the second position, and the first display effect is different from the second display effect.
[0052] In one embodiment of the present application, when the user's head position changes, the posture of the virtual reality device will also change. In response to the panel movement instruction triggered by the change in the posture of the virtual reality device, the close-view panel moves in space from a first position to a second position, which is different from the first position, and the close-view panel has a second display effect different from the first display effect at the second position.
[0053] In one embodiment of the present application, the movement of the near view panel and the change of the display effect are related to the posture of the virtual reality device. When the posture of the virtual reality device deviates from the reference posture, the near view panel will move closer to the user. When the posture of the virtual reality device is converted to the reference posture, the near view panel will move closer to the middle view panel. The reference posture of the virtual reality device is the posture of the virtual reality device when the user's line of sight is in a horizontal straight view. In the embodiment of the present application, the posture of the virtual reality device is mainly determined by the deflection angle between the camera orientation of the rendering camera in the virtual reality device and the reference camera orientation corresponding to the reference posture. The reference camera orientation is the orientation of the rendering camera in the virtual reality device when the user's line of sight is in a horizontal straight view. Figure 4 The interface diagram of the reference camera orientation is schematically shown, as Figure 4 As shown, when the virtual reality device is in a vertical state, the position of the reference camera can be taken as the origin O, the axis along the horizontal direction starting from the origin O is the X axis of the coordinate system where the rendering camera is located, the longitudinal axis starting from the origin O and perpendicular to X is the Y axis of the coordinate system where the rendering camera is located, and the axis starting from the origin O and perpendicular to the XOY plane and pointing to the mid-ground panel is the Z axis of the coordinate system where the rendering camera is located. When the user's line of sight is in a horizontal straight view, the camera orientation of the rendering camera is the Z axis, so the Z axis direction of the coordinate system corresponding to the virtual reality device in a vertical state is the reference camera orientation. When the user raises his head, lowers his head, turns his head left, turns his head right, etc., the user's line of sight deviates from the horizontal straight view direction, and accordingly, the camera orientation of the rendering camera will deviate from the reference camera orientation. When the user's line of sight switches from non-horizontal straight view to horizontal straight view, the camera orientation of the rendering camera will be close to the reference camera orientation.
[0054] As described above, there are two modes of spatial position movement of the near view panel. When the posture of the virtual reality device deviates from the reference posture, the near view panel moves closer to the user. When the posture of the virtual reality device changes to the reference posture, the near view panel moves closer to the middle view panel. Next, different spatial position movement modes are described respectively.
[0055] (I) The posture of the virtual reality device deviates from the reference posture
[0056] In one embodiment of the present application, in response to a panel movement instruction triggered by the posture of the virtual reality device deviating from a reference posture, the near view panel can be moved from a first position to a second position, where the second position is closer to the user than the first position.
[0057] In one embodiment of the present application, a near point position may be preset, which is the position closest to the user to which the near view panel can be moved, and the near point position corresponds to a preset deflection angle, that is, when the posture change of the virtual reality device reaches the preset deflection angle, the near view panel can be moved to the near point position, and when the posture change of the virtual reality device does not reach the preset deflection angle, the second position to which the near view panel can be moved is between the first position and the near point position or remains at the first position, and when the posture change of the virtual reality device exceeds the preset deflection angle, the near view panel remains at the near point position and does not continue to move. In the embodiment of the present application, the second position can be determined based on the actual deflection angle of the virtual reality device, the first position, the preset far point position, the preset near point position and the preset deflection angle corresponding to the near point position. For example, the displacement of the near view panel can be set to be proportional to the deflection angle. Since the far point position is the position of the near view panel when the virtual reality device is in the reference posture, the deflection angle corresponding to the far point position is zero. Then, the displacement corresponding to the unit deflection angle can be calculated based on the far point position, the near point position and the preset deflection angle corresponding to the near point position, and then the second position can be calculated based on the actual deflection angle, the first position and the displacement corresponding to the unit deflection angle. Of course, the second position can also be calculated based on other methods, which are not specifically limited in the embodiment of the present application. Among them, the first position and the second position are positions in the rectangular coordinate system corresponding to the virtual reality device, and the first position and the second position can be positions corresponding to points at any position in the near view panel, for example, they can be the center point of the upper edge of the near view panel, the upper left vertex, the upper right vertex, etc.
[0058] In one embodiment of the present application, the posture change of the virtual reality device can be a change of any angle. As the posture of the virtual reality device changes, the near view panel can move from a first position to a second position, and the second position can be a near point position or any position between the first position and the near point position.
[0059] In one embodiment of the present application, as the posture of the virtual reality device changes, the close-view panel moves in the same spatial position movement mode, that is, no matter in which direction the virtual reality device is deflected, the movement direction of the close-view panel is the same, and the only difference is the second position. Figures 5A-5C The following is a schematic diagram showing an interface of a spatial position movement mode of a close-up panel. Figure 5AAs shown, the near view panel B1 is located below the main screen of the middle view panel B2, and the upper edge of the near view panel B1 is close to the lower edge of the main screen. The position of the near view panel B1 is the first position, which is also the far point position. As the virtual reality device deflects downward, the near view panel moves away from the lower edge of the main screen and gradually approaches the lower edge of the user's field of view. When the virtual reality device deflects downward at an angle less than a preset deflection angle, the near view panel B1 is located at a second position at a certain distance from the lower edge of the main screen, as shown in FIG. Figure 5B As shown; when the virtual reality device is deflected downward at an angle greater than or equal to a preset deflection angle, the near view panel is located at the lower edge of the user's field of view, that is, the near point position, as shown in FIG. Figure 5C shown.
[0060] Although Figure 5 only shows an interface diagram of the movement of the close-up panel when the virtual reality device is deflected downward, when the posture of the virtual reality device is deflected along other directions, such as upward, left, right, upper right, lower right, upper left, lower left, etc., the spatial position movement mode of the close-up panel is the same as the spatial position movement mode shown in Figure 5, and the embodiments of the present application will not be repeated here.
[0061] It is worth noting that the foreground panel can be set at any position in the virtual display space and is not limited to the bottom of the main screen shown in Figure 5. The embodiment of the present application does not make any specific restrictions on the position setting of the foreground panel, provided that the foreground panel does not block the information displayed in the middle view panel.
[0062] In one embodiment of the present application, a plurality of far point positions corresponding to different deflection directions may be preset. When the posture of the virtual reality device changes, the target far point position may be determined according to the deflection direction of the virtual reality device, and as the posture of the virtual reality device changes, a second position may be determined in the direction in which the near point position points to the far point position. For example, after entering the virtual reality space, the near view panel is located above the middle view panel, and the lower edge of the near view panel is close to the upper edge of the main screen in the middle view panel. Then, when the posture of the virtual reality device changes so that the camera direction deviates from the reference camera direction and deflects upward, the near view panel may move toward the upper edge of the user's field of view until it reaches the near view panel. to the upper edge of the user's field of view; when the posture of the virtual reality device changes so that the camera orientation deviates from the reference camera orientation and deflects downward, the close-up panel can move to the lower edge of the user's field of view until it reaches the lower edge of the user's field of view; when the posture of the virtual reality device changes so that the camera orientation deviates from the reference camera orientation and deflects to the left, the close-up panel can move to the left edge of the user's field of view until it reaches the left edge of the user's field of view; when the posture of the virtual reality device changes so that the camera orientation deviates from the reference camera orientation and deflects to the right, the close-up panel can move to the right edge of the user's field of view until it reaches the right edge of the user's field of view; and so on.
[0063] When the posture of the virtual reality device changes, in addition to the movement of the near-view panel, the information displayed on the main screen in the middle-view panel will also change accordingly. For example, when the virtual reality device deflects downward by a certain angle, the information displayed in the middle-view panel moves upward as a whole, and the displayed information corresponding to the deflection angle of the virtual reality device will be hidden. At the same time, new information will be displayed at the bottom of the main interface, such as Figures 5A-5C As shown, Figure 5A The information displayed on the main interface of the mid-view panel includes display bars S1, S2, S3 and S4. When the user lowers his head, as the posture of the virtual reality device changes, the main interface moves down in the direction indicated by the arrow, and the display bar S1 gradually moves up relative to the central axis mark (concentric rings) of the mid-view panel, as shown in FIG. Figure 5B , until it disappears and a new display bar S5 appears below, such as Figure 5C shown.
[0064] In one embodiment of the present application, the panel movement instruction may be triggered only when the angle of the camera orientation of the virtual reality device deviating from the reference camera orientation is greater than or equal to the preset deflection angle, and the near view panel is moved from the first position to the near point position by responding to the panel movement instruction. In other words, the first position is a position away from the user, and the second position is a near point position. When the posture deflection of the virtual reality device does not reach the preset deflection angle, the near view panel remains in the first position, and when the posture deflection of the virtual reality device reaches the preset deflection angle, the near view panel moves to the near point position. The first position may be a far point position.
[0065] Figure 6A-6B The following is a schematic diagram showing another interface of the spatial position movement mode of the close-up panel. Fig. 6A As shown in FIG. 1 , the near view panel is located below the main screen in the middle view panel, and the upper edge of the near view panel is close to the lower edge of the main screen, and the position of the near view panel is the first position; as the virtual reality device deflects downward, when the virtual reality device deflects downward at an angle greater than or equal to a preset deflection angle, the near view panel is located at the lower edge of the user's field of view, that is, the second position, as shown in FIG. Figure 6B shown.
[0066] Similar to the above embodiment, when the deflection angle reaches the preset deflection angle and the near view panel moves from the first position to the near point position, the near view panel can move in the same spatial position movement mode when the virtual reality device is deflected in different directions, for example Figure 6A-6BAs shown, no matter which direction the virtual reality device is deflected, when the deflection angle does not reach the preset deflection angle, the near view panel remains in the first position, and when the deflection angle reaches the preset deflection angle, the near view panel moves to the preset near point position; different spatial position movement modes may also be adopted when the virtual reality device is deflected in different directions. For example, when entering the virtual reality space, the user's line of sight is in a horizontal straight-view state, and the near view panel is located at a preset far point position. When the virtual reality device is deflected in any direction, the near view panel can move along the deflection direction to the near point position corresponding to the deflection direction. For example, when the virtual reality device is deflected in any direction, the near view panel can move to the near point position corresponding to the deflection direction. When entering the virtual reality space, the near view panel is located below the main interface in the middle view panel. When the camera orientation of the virtual reality device deviates by 40° to the upper left relative to the reference camera orientation and reaches a preset deflection angle, the near view panel moves to the upper left along the deflection direction and moves from the initial far point position to the near point position at the upper left. Specifically, the near point plane, that is, the XOY plane corresponding to the fixed Z value, can be pre-set. Then, after determining the deflection direction, the near view panel is moved from the far point position to the near point position on the near point plane corresponding to the deflection direction. Furthermore, the near view panel at the near point position does not block the display information in the middle view panel.
[0067] In one embodiment of the present application, a close-up panel located at a first position has a first display effect, and a close-up panel located at a second position has a second display effect, and the first display effect is different from the second display effect. In an embodiment of the present application, the display effect includes a display specification, and the display specification is specifically the size of the close-up panel and the size of the mark in the close-up panel. Accordingly, the first display effect includes the first display specification, and the second display effect includes the second display specification. In response to a panel movement instruction, when the close-up panel is moved from the first position to the second position, the close-up panel with the first display specification can be enlarged to display the close-up panel with the second display specification in the virtual display space. The close-up panel with the second display specification is the close-up panel with the second display effect.
[0068] In one embodiment of the present application, the display effect may also include a panel shape. When the close-up panel moves from a first position to a second position and the first display specification is enlarged to the second display specification, if the close-up panel with the second display specification makes the user's eyes feel uncomfortable, the shape of the close-up panel can be switched, for example, the close-up panel displayed on a flat surface can be switched to a close-up panel displayed on a curved surface. This allows the user to better adapt to the close-up panel with the second display specification and interact with the close-up panel.
[0069] Furthermore, the display effect also includes a status mark, which indicates the position status or position switching status of the near-view panel. When the near-view panel is at the far point position, the status mark is "far point"; when the near-view panel is at the near point position, the status mark is "near point"; when the near-view panel is in the process of moving from the first position to the second position, the status mark is "switching". Of course, the status mark can also be set to other text marks or image marks, and the embodiments of the present application do not specifically limit this.
[0070] In one embodiment of the present application, during the posture change process of the virtual reality device, there will be multiple status marks, which can be partially displayed or fully displayed. In an embodiment of the present application, the first display effect corresponding to the near view panel located at the first position may include the status mark or may not include the status mark.
[0071] When the first display effect does not include a status mark, the switching of the display effect of the foreground panel may specifically be that, when the foreground panel is moved from a first position to a second position, a first status mark is displayed in the foreground panel; the first status mark indicates the position switching status of the foreground panel; and / or, after the foreground panel is moved from a first position to a second position, a second status mark is displayed in the foreground panel; the second status mark indicates the current position status of the foreground panel.
[0072] When the first display effect includes a first status mark, the switching of the display effect of the foreground panel may specifically be that when the foreground panel is moved from a first position to a second position, the first status mark is updated to a second status mark; and / or, after the foreground panel is moved from a first position to a second position, the second status mark is updated to a third status mark; wherein the first status mark indicates an initial position state of the foreground panel, the second status mark indicates a position switching state of the foreground panel, and the third status mark indicates a current position state of the foreground panel.
[0073] In one embodiment of the present application, the display effect also includes an interactive mark, which indicates the best interaction mode for the user to interact with the near view panel at the current position. In the embodiment of the present application, when entering the virtual reality space, the near view panel at the first position may display an interactive mark, or may not display an interactive mark. When the near view panel at the first position does not display an interactive mark, after the near view panel is moved from the first position to the second position, the interactive mark is displayed in the near view panel; when the first interactive mark is displayed in the near view panel at the first position, after the near view panel is moved from the first position to the second position, the first interactive mark in the near view panel can be updated. Among them, the interactive mark includes a bare hand touch mark and a ray selection mark. When the near view panel is located at a certain position, the best interaction mode corresponding to the position is determined according to the position. For example, when the near view panel is located at a far point position, the ray selection mode is the best interaction mode. When the near view panel is located at a near point position, the bare hand touch mode is the best interaction mode. When the near view panel is located between the far point position and the near point position, the best interaction mode can be determined according to the distance from the user, which can be a bare hand touch or a ray selection. It is worth noting that the interactive mark displayed by the near view panel in the embodiment of the present application is only the most convenient interactive mode for the user to operate according to the distance between the near view panel and the user, and is not the only interactive mode.
[0074] Figures 7A-7C The schematic diagram of the interface for switching the display effect of the near view panel is shown schematically. Fig. 7A As shown, the near view panel B1 is located at a far point position close to the middle view panel B2, and a first state mark and a first interaction mark are displayed in the near view panel B1, wherein the first state mark is "far point" and the first interaction mark is a ray selection mark; as the posture of the virtual reality device changes, the near view panel B1 gradually moves away from the middle view panel B2, and during the movement, a second state mark and a second interaction mark are displayed in the near view panel B1, wherein the second state mark is "switching", and the second interaction mark is a ray selection mark, as shown in FIG. Figure 7B As shown; as the posture of the virtual reality device continues to change, the deflection angle of the virtual reality device reaches the preset deflection angle, the near view panel B1 is located at the near point position close to the user, and the near view panel displays a third state mark and a third interaction mark, wherein the third state mark is "near point", and the third interaction mark is a bare hand touch mark, such as Figure 7C shown.
[0075] (II) Conversion of the virtual reality device’s posture to the reference posture
[0076] In one embodiment of the present application, when the user's line of sight deviates from the horizontal straight-view state, that is, the posture of the virtual reality device deviates from the reference posture, as the user's head moves, the posture of the virtual reality device has two changing trends, one is to continue to deviate from the reference posture, and the other is to convert to the reference posture. When the posture of the virtual reality device continues to deviate from the reference posture, the near view panel can be moved according to the near view panel spatial position movement mode when the posture of the virtual reality device deviates from the reference posture recorded in the above embodiment, which will not be repeated here. Next, the spatial position movement mode of the near view panel when the posture of the virtual reality device is converted to the reference posture is described in detail.
[0077] In one embodiment of the present application, when the posture of the virtual reality device is converted to the reference posture, the deflection angle between the camera orientation of the rendering camera in the virtual reality device and the camera orientation corresponding to the reference posture gradually decreases until it is zero. By responding to the panel movement instruction triggered by the conversion of the posture of the virtual reality device to the reference posture, the near-view panel can be moved from a first position to a second position close to the middle-view panel and away from the user, wherein the reference posture is the posture of the virtual reality device when the user's line of sight is in a horizontal straight line, the first position is a position close to the user in the virtual reality space, and the second position is a position close to the middle-view panel in the virtual reality space. Furthermore, the first position can be a preset near-point position closest to the user, and the second position can be a preset far-point position farthest from the user and closest to the middle-view panel.
[0078] In one embodiment of the present application, the deflection angle between the camera orientation of the virtual reality device corresponding to the far point position and the reference camera orientation is zero, and the deflection angle between the camera orientation of the virtual reality device corresponding to the near point position and the reference camera orientation is a preset deflection angle. The spatial position movement mode of the near view panel in the embodiment of the present application may be: when the deflection angle between the camera orientation of the virtual reality device and the reference camera orientation is greater than the preset deflection angle, as the deflection angle between the camera orientation of the virtual reality device and the camera orientation of the reference posture gradually decreases, the near view panel remains at the near point position; when the deflection angle between the camera orientation of the virtual reality device and the reference camera orientation is less than or equal to the preset deflection angle, as the deflection angle between the camera orientation of the virtual reality device and the camera orientation of the reference posture gradually decreases, the near view panel gradually approaches the middle view panel and moves from the first position to the second position between the first position and the middle view panel; when the deflection angle between the camera orientation of the virtual reality device and the reference camera orientation is equal to zero, the near view panel moves to the far point position. Among them, the first position and the second position are point positions in the rectangular coordinate system corresponding to the virtual reality device, and specifically can be the positions of the center point, the vertex, and the points on each side of the near view panel in the rectangular coordinate system, and the second position can be determined according to the actual deflection angle of the virtual reality device, the first position, the far point position, the near point position, and the deflection angle corresponding to the near point position. For example, when the central axis of the near view panel remains unchanged during the movement of the near view panel, the displacement of the near view panel can be set to be proportional to the deflection angle. Since the deflection angle corresponding to the far point position is zero, the displacement corresponding to the unit deflection angle can be calculated according to the far point position, the near point position and the preset deflection angle corresponding to the near point position, and then the distance moved by the near view panel along the Z axis can be determined according to the actual deflection angle and the displacement corresponding to the unit deflection angle, and the second position can be calculated according to the first position and the distance moved by the near view panel along the Z axis; when the central axis of the near view panel changes during the movement of the near view panel, the Z value corresponding to the movement of the near view panel can be obtained according to the above method, and then the position of the near view panel on the XOY plane is determined according to the deflection direction and deflection angle of the virtual reality device, and then the second position can be obtained according to the position of the near view panel on the XOY plane and the corresponding Z value. Of course, the second position can also be calculated according to other methods, and the embodiment of the present application does not specifically limit this.
[0079] In one embodiment of the present application, the spatial position movement mode of the near view panel may also be: when the deflection angle between the camera orientation of the virtual reality space and the reference camera orientation is greater than a preset deflection angle, the near view panel is located at a near point position, as the deflection angle gradually decreases, the near view panel remains at the near point position, and when the deflection angle is zero, the near view panel moves to a far point position; when the deflection angle between the camera orientation of the virtual reality device and the reference camera orientation is less than or equal to the preset deflection angle, as the deflection angle gradually decreases, the near view panel continues to remain at a first position that is not a near point position, and when the deflection angle is zero, the near view panel moves to a far point position, which is the second position; or, when the deflection angle between the camera orientation of the virtual reality device and the reference camera orientation is less than or equal to the preset deflection angle, the near view panel moves to a far point position, and as the deflection angle gradually decreases until it becomes zero, the near view panel remains at the far point position.
[0080] In one embodiment of the present application, Figures 8A-8B The schematic diagram of the interface of the near view panel moving in space is shown schematically as the deflection angle between the camera orientation of the virtual reality device and the reference camera orientation decreases, as shown in FIG. Fig. 8A As shown, the near view panel B1 is located at the near point position, away from the middle view panel, and below the user's field of view; when the deflection angle is zero, the user's line of sight is in a horizontal straight line, the near view panel B1 is located at the far point position, and the upper edge of the near view panel B1 is close to the lower edge of the middle view panel main screen, as shown in FIG. Figure 8B In the embodiment of the present application, the near point position can also be set at other positions closer to the user in the virtual reality space, such as the left side, top side, right side, etc. of the user's field of view. When the near view panel moves, it can be moved to the left side, top side, right side, etc. of the main screen of the middle view panel, and the near view panel after moving is only close to the edge of the main screen without blocking the main screen.
[0081] In one embodiment of the present application, the near view panel at the first position has a first display effect, the near view panel at the second position has a second display effect, and the first display effect is different from the second display effect. The display effect includes a display specification, that is, the size of the near view panel and the size of various logos in the near view panel. Accordingly, the first display effect includes the first display specification, and the second display effect includes the second display specification. When the near view panel is moved from the first position to the second position, the near view panel with the first display specification is reduced to obtain the near view panel with the second display specification, and the near view panel with the second display specification is the near view panel with the second display effect. Further, the display effect may also include a panel shape, for example, the panel shape in the first display effect is a curved surface, and the panel shape in the second display effect is a plane. Since the near view panel with the first display effect is a near view panel located at a near point, if the near view panel displayed in a plane is large, the user's eye comfort is poor and the visual effect is poor. Therefore, the near view panel can be displayed as a curved surface to improve the user's visual effect and comfort, and facilitate interaction with the virtual controls in the near view panel.
[0082] Furthermore, the display effect also includes a status mark for indicating the position status or position movement status of the close-view panel. When the close-view panel is at a near point position, the status mark is "near point"; when the close-view panel is at a far point position, the status mark is "far point"; when the close-view panel is at a non-near point and non-far point position, the status mark can be marked as "closer point", "farther point" and so on according to the relative distance from the user and the mid-view panel. When the close-view panel is in the process of moving, the status mark is "switching".
[0083] In one embodiment of the present application, when the near view panel moves from the first position to the second position, there are multiple status marks, which can be partially displayed, fully displayed, or completely hidden. In an embodiment of the present application, the first display effect corresponding to the near view panel at the first position may include the status mark or may not include the status mark. When the close view panel located at the first position includes a first status mark, when the close view panel is moved from the first position to the second position, the first status mark can be updated to a second status mark; and / or, after the close view panel is moved from the first position to the second position, the second status mark can be updated to a third status mark; wherein the first status mark indicates an initial position state of the close view panel, the second status mark indicates a position switching state of the close view panel, and the third status mark indicates a current position state of the close view panel; when the close view panel located at the first position does not include a status mark, when the close view panel is moved from the first position to the second position, the first status mark can be displayed in the close view panel; the first status mark indicates a position switching state of the close view panel; and / or, after the close view panel is moved from the first position to the second position, the second status mark can be displayed in the close view panel; the second status mark indicates the current position state of the close view panel.
[0084] Furthermore, the display effect also includes an interaction mark, which indicates the best interaction method for interacting with the current near-view panel, including a bare-hand touch mark and a ray selection mark. For example, the interaction mark in the near-view panel at the near-point position can be a bare-hand touch mark, and the interaction mark in the near-view panel at the far-point position can be a ray selection mark. When the near-view panel moves as the deflection angle between the camera orientation and the reference camera orientation decreases, the interaction mark in the near-view panel between the near-point position and the far-point position can determine the best interaction method based on the distance between the current position and the user and the mid-view panel. Of course, bare-hand touch and ray selection can also be used as the best interaction methods at the same time, and the user can select the desired interaction method. It is worth noting that the user can interact with the near-view panel located in the virtual reality space by both bare-hand touch and ray selection. The embodiment of the present application uses interaction marks for prompting only to prompt the user with the most convenient way to interact with the near-view panel at the current position.
[0085] In the above embodiments, the spatial position movement mode of the near view panel in two cases where the posture change of the virtual reality device deviates from the reference posture and converts to the reference posture is described. Specifically, when the posture change of the virtual reality device deviates from the reference posture, as the deflection angle increases, the near view panel moves from the first position to the second position and changes the display effect, or, when the deflection angle is greater than or equal to the preset deflection angle, the near view panel moves from the first position to the near point position and changes the display effect; when the posture change of the virtual reality device converts to the reference posture, as the deflection angle decreases, the near view panel moves from the first position to the second position and changes the display effect, or, when the deflection angle is equal to zero, the near view panel moves from the first position to the far point position and changes the display effect.
[0086] Since the switching logic corresponding to the foreground panel switching position as the deflection angle changes or switching position when the deflection angle meets certain conditions is the same, the switching logic for the foreground panel switching position when the deflection angle meets certain conditions is specifically described below.
[0087] Fig. 9 The schematic diagram shows the process of moving the near view panel from the first position to the near point position. Fig. 9 As shown, in step S901, after entering the virtual reality space, the position and camera orientation of the rendering camera in the virtual reality device are obtained in real time; in step S902, the actual deflection angle between the camera orientation and the reference camera orientation is calculated; in step S903, the relationship between the actual deflection angle and the preset deflection angle is determined; in step S904, when the actual deflection angle is greater than or equal to the preset deflection angle, the near view panel is moved from the first position to the preset near point position; in step S905,
[0088] During the movement, the status mark "Switching" is displayed in the near view panel. After the movement is completed, the status mark "Near Point" is displayed in the near view panel. In step S906, after the movement is completed, the interaction mark in the near view panel is updated to display "Bare Hand Touch".
[0089] The first position in the above-mentioned embodiment may be a remote point position.
[0090] Fig. 9 The schematic diagram of the process of moving the near view panel from the first position to the far view position is also schematically shown. Fig. 9 As shown, in step S907, when the actual deflection angle is less than the preset deflection angle, the near view panel is moved from the first position to the preset far point position; in step S908, during the movement, a status mark "switching" is displayed in the near view panel, and after the movement is completed, a status mark "far point" is displayed in the near view panel; in step S909, after the movement is completed, the interactive mark in the near view panel is updated to display "ray selected".
[0091] The first position in the above-described embodiment may be a near-point position.
[0092] In one embodiment of the present application, the preset deflection angle can be any value within the range of the user's head deflection angle. For example, with the horizontal plane as a reference, the user's head can be tilted downward 90° and lifted upward 90°. Then the preset deflection angle can be set to any value within the range of 90°. However, considering the user's comfort, the preset deflection angle is preferably a small angle, such as 4°, 8°, etc.
[0093] In one embodiment of the present application, after the user enters the virtual reality space, the actual deflection angle between the camera orientation and the reference camera orientation can be determined based on the acquired camera orientation; when the actual deflection angle is less than the preset deflection angle, the near view panel is displayed at the far point position; when the actual deflection angle is greater than or equal to the preset deflection angle, the near view panel is displayed at the near point position, wherein the near point position and the far point position are pre-set, and the near point position is any position within the arm movement range that the user can click with his finger in the virtual reality space. Fig.10 The following is a schematic diagram of the interface for adaptive movement of the near view panel: Fig.10 As shown, when the user's head drives the virtual reality device to deflect downward at an angle less than 4°, the near-view panel remains at the far point position P1; when the user's head drives the virtual reality device to deflect downward at an angle greater than or equal to 4°, the near-view panel moves forward to the near point position P2, making it convenient for the user to touch it with bare hands.
[0094] In one embodiment of the present application, when the near-view panel moves from a first position to a far-point position close to the middle-view panel, since the sizes of the near-view panel and the middle-view panel are different in different application scenarios, in order to avoid the near-view panel blocking the display information in the middle-view panel when it is at the far-point position, the height corresponding to the far-point position can be adjusted in real time.
[0095] First, determine the coordinates of the far point (Fx, Fy, Fz), and at the same time obtain the coordinates of the lowest point of the mid-view panel. Since the mid-view panel is parallel to the XOY plane in the rectangular coordinate system, the coordinates of the lowest point can be determined as (Py, Pz); then, the camera position in the vertical plane can be determined based on the obtained camera position.
[0096] (Cy, Cz); then, according to the lowest point coordinates (Py, Pz) and the camera position in the vertical plane (Cy, Cz), the line equation f(z) of the two points can be obtained. The line corresponding to the line equation is the lowest line of sight to the middle view panel; finally, according to Fz in the far point coordinates and the line equation f(z), the highest value MaxY=f(F(z)) is obtained. If Fy>MaxY in the far point coordinates, MaxY is used to update Fy, and the near view panel is moved to the far point coordinates corresponding to the updated far point position. By adjusting the height Fy of the far point position as described above, the near view panel can be located within the closed range formed by the lowest line of sight and the YOZ plane, so as to avoid the near view panel blocking the display information in the middle view panel.
[0097] The panel movement method in the virtual reality space of the present application first displays a near view panel and a middle view panel in the virtual reality space, wherein the near view panel is located at a first position between the user and the middle view panel and has a first display effect, and then responds to a panel movement instruction triggered by a posture change of the virtual display device, moves the near view panel from the first position to a second position between the user and the middle view panel and has a second display effect, wherein the first position is different from the second position, and the first display effect is different from the second display effect. On the one hand, the present application can realize the automatic movement of the near view panel, avoid the manual dragging of the user, and improve the movement efficiency and accuracy; on the other hand, it can realize the independent movement of the near view panel and improve the user experience.
[0098] It should be noted that although the steps of the method in the present application are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.
[0099] The following introduces an apparatus embodiment of the present application, which can be used to execute the panel movement method in the virtual reality space in the above-mentioned embodiment of the present application. Fig.11 The structural block diagram of the panel moving device in the virtual reality space provided by the embodiment of the present application is schematically shown. Fig.11 As shown, the panel moving device 1100 in the virtual reality space includes: a display module 1110 and a moving module 1120, specifically:
[0100] The display module 1110 is used to display a near-view panel and a middle-view panel in a virtual reality space, wherein the near-view panel is located at a first position between the user and the middle-view panel and has a first display effect; the moving module 1120 is used to respond to a panel movement instruction triggered by a posture change of the virtual reality device, move the near-view panel from the first position to a second position between the user and the middle-view panel and has a second display effect, wherein the first position is different from the second position, and the first display effect is different from the second display effect.
[0101] In some embodiments of the present application, based on the above technical solution, the moving module 1120 includes: a first moving unit, used to respond to a panel movement instruction triggered by the posture of the virtual reality device deviating from a reference posture, and move the near-view panel from the first position to a second position close to the user and away from the middle-view panel; wherein the reference posture is the posture of the virtual reality device when the user's line of sight is in a horizontal straight line; the second position is determined according to the actual deflection angle of the virtual reality device, the first position, a preset far point position, a preset near point position and a preset deflection angle corresponding to the near point position.
[0102] In some embodiments of the present application, based on the above technical solution, the moving module 1120 includes: a second moving unit, used to respond to a panel movement instruction triggered by the posture of the virtual reality device being converted to a reference posture, and move the near-view panel from the first position to a second position away from the user and close to the mid-view panel; wherein the reference posture is the posture of the virtual reality device when the user's line of sight is in a horizontal straight line; the second position is determined according to the actual deflection angle of the virtual reality device, the first position, a preset far point position, a preset near point position, and a preset deflection angle corresponding to the near point position.
[0103] In some embodiments of the present application, based on the above technical solution, the first moving unit is configured to: respond to a panel movement instruction triggered when the angle of the camera orientation of the virtual reality device deviates from the reference camera orientation corresponding to the reference posture is greater than or equal to the preset deflection angle, and move the close-view panel from the first position to the near point position.
[0104] In some embodiments of the present application, based on the above technical solution, the first moving unit is configured to: move the near-view panel to the lower edge of the user's field of view.
[0105] In some embodiments of the present application, the first display effect includes a first display specification, and the second display effect includes a second display specification; based on the above technical solution, the moving module 1120 is configured to: when the close-up panel is moved from the first position to the second position, the close-up panel with the first display specification is enlarged to display the close-up panel with the second display specification in the virtual reality space.
[0106] In some embodiments of the present application, based on the above technical solution, the second moving unit is configured to: respond to a panel movement instruction triggered when the angle of the camera orientation of the virtual reality device deviates from the reference camera orientation corresponding to the reference posture is less than the preset deflection angle, and move the near-view panel from the first position to the far point position.
[0107] In some embodiments of the present application, based on the above technical solution, the second moving unit is configured to: move the near-view panel to the lower edge of the middle-view panel main screen without blocking the main screen.
[0108] In some embodiments of the present application, the first display effect includes a first display specification, and the second display effect includes a second display specification; based on the above technical solution, the moving module 1120 is configured to: when the close-up panel is moved from the first position to the second position, the close-up panel with the first display specification is reduced to display the close-up panel with the second display specification in the virtual reality space.
[0109] In some embodiments of the present application, based on the above technical solution, the panel moving device 1100 in the virtual reality space is configured as: when the foreground panel is moved from the first position to the second position, a first status mark is displayed in the foreground panel; the first status mark indicates the position switching state of the foreground panel; and / or, after the foreground panel is moved from the first position to the second position, a second status mark is displayed in the foreground panel; the second status mark indicates the current position state of the foreground panel.
[0110] In some embodiments of the present application, the first display effect includes a first state mark; based on the above technical solution, the panel moving device 1100 in the virtual reality space is also configured to: when the foreground panel is moved from the first position to the second position, the first state mark is updated to a second state mark; and / or, after the foreground panel is moved from the first position to the second position, the second state mark is updated to a third state mark; wherein the first state mark indicates the initial position state of the foreground panel, the second state mark indicates the position switching state of the foreground panel, and the third state mark indicates the current position state of the foreground panel.
[0111] In some embodiments of the present application, based on the above technical solution, the panel moving device 1100 in the virtual reality space is also configured to: after moving the foreground panel from the first position to the second position, display an interaction mark in the foreground panel, and the interaction mark indicates the best interaction method for interacting with the current foreground panel.
[0112] In some embodiments of the present application, the first display effect includes a first interaction mark; based on the above technical solution, the panel moving device 1100 in the virtual reality space is also configured to: update the first interaction mark after moving the close-view panel from the first position to the second position.
[0113] The specific details of the panel moving device in the virtual reality space provided in each embodiment of the present application have been described in detail in the corresponding method embodiments and will not be repeated here.
[0114] Fig.12 The computer system structure block diagram of the electronic device used to implement the embodiment of the present application is schematically shown. The electronic device may be as follows: Figure 2 The processor 202 shown in .
[0115] It should be noted that Fig.12 The computer system 1200 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0116] like Fig.12As shown, the computer system 1200 includes a central processing unit 1201 (CPU), which can perform various appropriate actions and processes according to the program stored in the read-only memory 1202 (ROM) or the program loaded from the storage part 1208 to the random access memory 1203 (RAM). Various programs and data required for system operation are also stored in the random access memory 1203. The central processing unit 1201, the read-only memory 1202 and the random access memory 1203 are connected to each other through a bus 1204. The input / output interface 1205 (Input / Output interface, i.e., I / O interface) is also connected to the bus 1204.
[0117] In some embodiments, the following components are connected to the input / output interface 1205: an input section 1206 including a keyboard, a mouse, etc.; an output section 1207 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1208 including a hard disk, etc.; and a communication section 1209 including a network interface card such as a local area network card, a modem, etc. The communication section 1209 performs communication processing via a network such as the Internet. A drive 1210 is also connected to the input / output interface 1205 as needed. A removable medium 1211, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1210 as needed, so that a computer program read therefrom is installed into the storage section 1208 as needed.
[0118] In particular, according to an embodiment of the present application, the process described in each method flow chart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer readable medium, and the computer program contains a program code for executing the method shown in the flow chart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 1209, and / or installed from the removable medium 1211. When the computer program is executed by the central processor 1201, various functions defined in the system of the present application are executed.
[0119] It should be noted that the computer-readable medium shown in the embodiment of the present application can be a computer-readable signal medium or a computer-readable medium or any combination of the above two. Computer-readable media can be, for example, - but not limited to - electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any combination of the above. More specific examples of computer-readable media can include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (Erasable Programmable Read Only Memory, EPROM), flash memory, optical fibers, portable compact disk read-only memories (Compact Disc Read-Only Memory, CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In the present application, a computer-readable medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it. In the present application, a computer-readable signal medium can include a data signal propagated in a baseband or as a part of a carrier wave, wherein a computer-readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer readable signal media may also be any computer readable medium other than computer readable media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0120] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the above-mentioned module, program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0121] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.
[0122] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation methods of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable an electronic device to execute the method according to the implementation methods of the present application.
[0123] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary technical means in the art that are not disclosed in the present application.
[0124] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A panel moving method in a virtual reality space, characterized in that: include: Displaying a near view panel and a middle view panel in a virtual reality space, wherein the near view panel is located at a first position between the user and the middle view panel and has a first display effect; In response to a panel movement instruction triggered by a change in the posture of the virtual reality device, the near-view panel is moved from the first position to a second position between the user and the mid-view panel, and has a second display effect, the first position is different from the second position, and the first display effect is different from the second display effect.
2. The method according to claim 1, characterized in that The step of responding to the panel movement instruction triggered by the posture change of the virtual reality device, moving the near-view panel from the first position to a second position between the user and the mid-view panel, comprises: In response to a panel movement instruction triggered by the posture of the virtual reality device deviating from a reference posture, the near-view panel is moved from the first position to a second position close to the user and away from the mid-view panel; Among them, the reference posture is the posture of the virtual reality device when the user's line of sight is in a horizontal and straight view; the second position is determined according to the actual deflection angle of the virtual reality device, the first position, the preset far point position, the preset near point position and the preset deflection angle corresponding to the near point position.
3. The method according to claim 1, characterized in that The step of responding to the panel movement instruction triggered by the posture change of the virtual reality device, moving the near-view panel from the first position to a second position between the user and the mid-view panel, comprises: In response to a panel movement instruction triggered by the posture of the virtual reality device being converted to a reference posture, the near-view panel is moved from the first position to a second position away from the user and close to the mid-view panel; Among them, the reference posture is the posture of the virtual reality device when the user's line of sight is in a horizontal and straight view; the second position is determined according to the actual deflection angle of the virtual reality device, the first position, the preset far point position, the preset near point position and the preset deflection angle corresponding to the near point position.
4. The method according to claim 2, characterized in that: The step of responding to the panel movement instruction triggered by the posture of the virtual reality device deviating from the reference posture, moving the near-view panel from the first position to a second position close to the user and away from the mid-view panel, comprises: In response to a panel movement instruction triggered when the angle of the camera orientation of the virtual reality device deviates from the reference camera orientation corresponding to the reference posture is greater than or equal to the preset deflection angle, the near-view panel is moved from the first position to the near point position.
5. The method according to claim 4, characterized in that The step of moving the near view panel from the first position to the near point position comprises: The near view panel is moved to the lower edge of the user's field of view.
6. The method according to claim 2, characterized in that The first display effect includes a first display specification, and the second display effect includes a second display specification; The panel movement instruction triggered by the posture change of the virtual reality device is responded to, the near-view panel is moved from the first position to a second position between the user and the middle-view panel, and has a second display effect, including: When the near view panel is moved from the first position to the second position, the near view panel having the first display specification is enlarged to display the near view panel having the second display specification in the virtual reality space.
7. The method according to claim 3, characterized in that The step of responding to the panel movement instruction triggered by the posture conversion of the virtual reality device to the reference posture, moving the near-view panel from the first position to a second position away from the user and close to the mid-view panel, comprises: In response to a panel movement instruction triggered when the angle of the camera orientation of the virtual reality device deviating from the reference camera orientation corresponding to the reference posture is less than the preset deflection angle, the near-view panel is moved from the first position to the far-point position.
8. The method according to claim 7, characterized in that The step of moving the near view panel from the first position to the far view position comprises: The near view panel is moved to the lower edge of the middle view panel main screen without blocking the main screen.
9. The method according to claim 3, characterized in that: The first display effect includes a first display specification, and the second display effect includes a second display specification; The panel movement instruction triggered by the posture change of the virtual reality device is responded to, the near-view panel is moved from the first position to a second position between the user and the middle-view panel, and has a second display effect, including: When the near view panel is moved from the first position to the second position, the near view panel having the first display specification is reduced to display the near view panel having the second display specification in the virtual reality space.
10. The method according to claim 6 or 9, characterized in that: The method further comprises: When the near view panel is moved from the first position to the second position, a first state mark is displayed in the near view panel; the first state mark indicates a position switching state of the near view panel; and / or After the near view panel is moved from the first position to the second position, a second state mark is displayed in the near view panel; the second state mark indicates the current position state of the near view panel.
11. The method according to claim 6 or 9, characterized in that: The first display effect includes a first state mark; and the method further includes: When the near view panel is moved from the first position to the second position, updating the first state mark to a second state mark; and / or After the near view panel is moved from the first position to the second position, updating the second state mark to a third state mark; The first state mark indicates an initial position state of the near view panel, the second state mark indicates a position switching state of the near view panel, and the third state mark indicates a current position state of the near view panel.
12. The method according to claim 6 or 9, characterized in that: The method further comprises: After the near view panel is moved from the first position to the second position, an interaction mark is displayed in the near view panel, where the interaction mark indicates the best interaction method for interacting with the current near view panel.
13. The method according to claim 6 or 9, characterized in that: The first display effect includes a first interactive mark; and the method further includes: After the near view panel is moved from the first position to the second position, the first interaction mark is updated.
14. A panel moving device in a virtual reality space, characterized in that: include: A display module, used for displaying a near view panel and a middle view panel in a virtual reality space, wherein the near view panel is located at a first position between the user and the middle view panel and has a first display effect; The moving module is used to respond to the panel movement instruction triggered by the posture change of the virtual reality device, move the near-view panel from the first position to a second position between the user and the mid-view panel, and have a second display effect, the first position is different from the second position, and the first display effect is different from the second display effect.
15. A computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the panel movement method in a virtual reality space as claimed in any one of claims 1 to 13 is implemented.
16. An electronic device, characterized in that: include: processor; as well as A memory for storing instructions; The processor executes the instructions stored in the memory to implement the panel movement method in the virtual reality space as described in any one of claims 1 to 13.
17. A computer program product, characterized in that The computer program product comprises computer instructions, and when the computer instructions are executed on a computer, the computer is caused to execute the panel moving method in a virtual reality space as claimed in any one of claims 1 to 13.
