Virtual scene scaling method and apparatus, storage medium, and electronic device

By displaying a virtual zoom control wheel in the virtual scene and using the position movement operation of the virtual reality controller to determine the target zoom ratio, the problem of cumbersome and low degree of freedom in virtual scene zooming in virtual reality technology is solved, and convenient and accurate virtual scene zooming is achieved.

CN115531875BActive Publication Date: 2026-04-10NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-09
Publication Date
2026-04-10

AI Technical Summary

Technical Problem

In existing virtual reality technology, the virtual scene scaling operation is cumbersome and has low freedom. Users need to step out of the virtual scene interface to make settings, and the gesture recognition error rate is high.

Method used

A virtual zoom control wheel is displayed in the virtual scene. The target zoom ratio is determined by moving the virtual reality controller on the wheel, and the virtual scene is zoomed according to the ratio.

Benefits of technology

It enables arbitrary scaling within a virtual scene without leaving the interface, improving convenience and freedom, reducing gesture recognition errors, and ensuring scaling accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115531875B_ABST
    Figure CN115531875B_ABST
Patent Text Reader

Abstract

The present disclosure provides a virtual scene zooming method, device, storage medium and electronic equipment, relating to the technical field of virtual reality, and the virtual scene zooming method comprises: in response to a trigger operation of a virtual scene zooming event, displaying a virtual zooming control wheel in a user's field of view of a virtual scene; mapping a real position of a virtual reality handle on the virtual zooming control wheel; determining a target zooming ratio of the virtual scene according to a position moving operation of the virtual reality handle on the virtual zooming control wheel; and zooming the virtual scene according to the target zooming ratio. Through the interaction between the virtual reality handle and the virtual zooming control wheel, the present disclosure realizes the zooming of the virtual scene, and improves the freedom and convenience of the virtual scene zooming.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of virtual reality, and in particular, to a virtual scene zooming method, a virtual scene zooming device, a computer readable storage medium and an electronic device. BACKGROUND

[0002] Virtual reality technology can provide users with an immersive virtual scene experience. During the virtual reality experience of the user, the user can only move within a fixed size of a space range due to the constraint of a real environment, and the virtual scene is usually presented to the user with a fixed size. In order to adapt to a virtual scene with a larger space range, the virtual scene usually needs to be zoomed to get rid of the constraint of the real environment.

[0003] In the related art, when zooming the virtual scene, it is usually necessary to first exit the virtual scene interface, open the system setting interface, make scene zooming settings, and then adjust the presentation size of the virtual scene. For virtual reality games, this virtual scene zooming method is too cumbersome and has a strong game interruption. In addition, in the related art, the virtual scene is zoomed based on the user's gestures collected by the user's gestures, but the zooming ratio is fixed each time, which is cumbersome and has low freedom.

[0004] It should be noted that the information disclosed in the above background section is only used to strengthen the understanding of the background of the present disclosure, and therefore can include information that does not constitute prior art known to those of ordinary skill in the art. SUMMARY

[0005] The present disclosure provides a virtual scene zooming method, a virtual scene zooming device, a computer readable storage medium and an electronic device, thereby at least partially solving the problem of cumbersome and low freedom of virtual scene zooming operation in the related art.

[0006] Other characteristics and advantages of the present disclosure will become apparent from the following detailed description, or will be learned by practice of the present disclosure.

[0007] According to a first aspect of the present disclosure, a virtual scene zooming method is provided, the method comprising: in response to a trigger operation of a virtual scene zooming event, displaying a virtual zooming control disc in a user's field of view of a virtual scene; mapping a real position of a virtual reality handle on the virtual zooming control disc; determining a target zooming ratio of the virtual scene according to a position moving operation of the virtual reality handle on the virtual zooming control disc; and zooming the virtual scene according to the target zooming ratio.

[0008] In an example embodiment of the present disclosure, the operation of displaying a virtual zoom control wheel in the user's field of view of the virtual scene in response to the triggering of the virtual scene zoom event comprises: in response to the triggering of the virtual scene zoom event, obtaining a first position of the virtual reality handle, the first position being a mapped position of the virtual reality handle in the virtual scene when the virtual scene zoom event is triggered; determining a wheel display position of the virtual zoom control wheel in the user's field of view of the virtual scene according to the first position of the virtual reality handle, and displaying the virtual zoom control wheel at the wheel display position.

[0009] In an example embodiment of the present disclosure, the operation of determining the wheel display position of the virtual zoom control wheel in the user's field of view of the virtual scene according to the first position of the virtual reality handle, and displaying the virtual zoom control wheel at the wheel display position comprises: determining a center position of the virtual zoom control wheel in the user's field of view of the virtual scene according to the first position of the virtual reality handle, a preset offset distance of the center position of the virtual zoom control wheel from the first position, and a preset offset orientation of the center position of the virtual zoom control wheel from the first position; and displaying the virtual zoom control wheel according to the center position of the virtual zoom control wheel and a preset wheel radius.

[0010] In an example embodiment of the present disclosure, the preset offset distance of the center position of the virtual zoom control wheel from the first position is half of the preset wheel radius.

[0011] In an example embodiment of the present disclosure, the operation of determining the target zoom scale of the virtual scene according to the position movement of the virtual reality handle on the virtual zoom control wheel comprises: in response to an end operation of the virtual reality handle, determining a second position of the virtual reality handle, the second position being a mapped position of the virtual reality handle in the virtual scene when the end operation of the virtual reality handle is triggered; and determining the target zoom scale of the virtual scene according to the second position of the virtual reality handle.

[0012] In an example embodiment of the present disclosure, the method further comprises: the operation of determining the target zoom scale of the virtual scene according to the second position of the virtual reality handle comprises: determining a relative position change amount of the virtual reality handle according to the second position and a first position of the virtual reality handle, the first position being a mapped position of the virtual reality handle in the virtual scene when the virtual scene event is triggered; and determining the target zoom scale of the virtual scene according to the relative position change amount of the virtual reality handle and a zoom scale of the virtual scene when the virtual scene zoom event is triggered.

[0013] In an example embodiment of the present disclosure, the determining the relative position change of the virtual reality handle according to the second position and the first position of the virtual reality handle comprises: determining the relative position change of the virtual reality handle according to a difference between a second distance and a first distance, the first distance being a distance between the first position and a center position of the virtual zoom control wheel, and the second distance being a distance between the second position and the center position of the virtual zoom control wheel.

[0014] According to a second aspect of the present disclosure, a virtual scene zooming device is provided, the device comprising: an event triggering module configured to display a virtual zoom control wheel in a user's field of view of a virtual scene in response to a triggering operation of a virtual scene zooming event; a position mapping module configured to map a real position of a virtual reality handle on the virtual zoom control wheel; a scale determining module configured to determine a target zoom scale of the virtual scene according to a position moving operation of the virtual reality handle on the virtual zoom control wheel; and a scene zooming module configured to zoom the virtual scene according to the target zoom scale.

[0015] According to a third aspect of the present disclosure, a computer readable storage medium is provided, and a computer program is stored on the computer readable storage medium, the computer program being executed by a processor to implement the virtual scene zooming method.

[0016] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory configured to store executable instructions of the processor; wherein the processor is configured to execute the virtual scene zooming method by executing the executable instructions.

[0017] The technical solution of the present disclosure has the following beneficial effects:

[0018] In the virtual scene zooming process, in response to a trigger operation of a virtual scene zooming event, a virtual zoom control wheel is displayed in a user field of view of the virtual scene; a real position of a virtual reality handle is mapped on the virtual zoom control wheel; a target zooming scale of the virtual scene is determined according to a position moving operation of the virtual reality handle on the virtual zoom control wheel; and the virtual scene is zoomed according to the target zooming scale. On one hand, based on the position moving operation of the virtual reality handle on the virtual zoom control wheel, without jumping out of the virtual scene interface, the virtual scene zooming of any scale within a certain range can be realized, which greatly improves the convenience and freedom of the virtual scene zooming. On the other hand, taking the position moving operation of the virtual reality handle on the virtual zoom control wheel as a reference basis for determining the target zooming scale, the problem of recognition error caused by non-standard user operation gestures can be avoided, the sensitivity of the zooming scale determination is improved, and the accuracy of the virtual scene zooming can be ensured due to the unique determination of the virtual reality handle position and the reference of the virtual zoom control wheel.

[0019] It should be understood that the general description above and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF DRAWINGS

[0020] The accompanying drawings, which are incorporated into and form part of the specification, illustrate an embodiment consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure. Obviously, the drawings in the following description are only some embodiments of the present disclosure, and other drawings can be obtained by those skilled in the art without creative labor on the basis of these drawings.

[0021] Figure 1 A flowchart of a virtual scene zooming method in the present exemplary embodiment is shown;

[0022] Figure 2A A display example diagram of a virtual zoom control wheel in the present exemplary embodiment is shown;

[0023] Figure 2B A display example diagram of a virtual zoom control wheel operation prompt mark in the present exemplary embodiment is shown;

[0024] Figure 3 A flowchart of displaying a virtual zoom control wheel in the present exemplary embodiment is shown;

[0025] Figure 4 A flowchart of determining a target zooming scale of a virtual scene according to a position moving operation of a virtual reality handle in the present exemplary embodiment is shown;

[0026] Figure 5A flowchart showing a method of determining a target zoom scale of a virtual scene according to a second position of a virtual reality handle in the present exemplary embodiment;

[0027] Figure 6 A flowchart showing a preferred virtual scene zooming implementation in the present exemplary embodiment;

[0028] Figure 7 A block diagram showing a structure of a virtual scene zooming apparatus in the present exemplary embodiment;

[0029] Figure 8 An electronic device for implementing the above-described virtual scene zooming method in the present exemplary embodiment. DETAILED DESCRIPTION

[0030] Example embodiments now will be described more fully hereinafter with reference to the accompanying drawings; however, these embodiments can be implemented in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the example embodiments to those skilled in the art. Like reference numerals refer to like elements throughout the specification. Any step which makes up portions of the embodiments disclosed herein can be executed in any sequence unless otherwise indicated. The described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the aspects of the disclosure can be practiced without one or more of the specific details, or with other methods, components, materials, and so forth. In other instances, well-known structures have not been described in order to avoid obscuring aspects of the present disclosure.

[0031] The terms "one", "an", "a", and "the" as used herein mean "at least one" or "one or more" unless expressly specified otherwise. The term "includes" means "includes without limitation" unless expressly specified otherwise. The terms "first", "second", and the like, do not limit the quantity or order of entities associated with those terms, unless such a limitation is explicitly indicated.

[0032] In addition, the accompanying drawings are included to provide a further understanding of the present disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the present disclosure and together with the description serve to explain the principles of the present disclosure. In the drawings:

[0033] In the related art, the virtual scene zooming adjustment out of the virtual scene interface will cause the interruption of the virtual scene display, thereby affecting the immersive experience of the user, and the entire virtual scene zooming process is relatively cumbersome. In addition, the virtual scene is adjusted by collecting the user gestures, and the scaling ratio is fixed each time, which leads to low freedom of virtual scene zooming, and the user needs to identify through a specific sensing device when performing the gesture operation. Since the user gestures differ from person to person in actual operation, the identification error problem may occur due to non-standard actions, which leads to low zooming accuracy of the virtual scene.

[0034] In view of one or more of the above problems, the exemplary embodiments of the present disclosure provide a virtual scene zooming method, which can be executed by a virtual reality display terminal and can be applied to a VR (Virtual Reality) interactive scene such as a SLG (Simulation Game) that needs to zoom in or out a game map.

[0035] The exemplary embodiments of the present disclosure provide a virtual scene zooming method, as shown in Figure 1 specifically includes the following steps S110 to S140:

[0036] Step S110, in response to a trigger operation of a virtual scene zooming event, displaying a virtual zooming control wheel in a user field of view of the virtual scene;

[0037] Step S120, mapping a real position of a virtual reality handle on the virtual zooming control wheel;

[0038] Step S130, determining a target zooming ratio of the virtual scene according to a position moving operation of the virtual reality handle on the virtual zooming control wheel;

[0039] Step S140, zooming the virtual scene according to the target zooming ratio.

[0040] In the above virtual scene zooming process, on the one hand, based on the position moving operation of the virtual reality handle on the virtual zooming control wheel, without jumping out of the virtual scene interface, any ratio of virtual scene zooming can be realized within a certain range, which greatly improves the convenience and freedom of virtual scene zooming. On the other hand, the position moving operation of the virtual reality handle on the virtual zooming control wheel is used as a reference basis for determining the target zooming ratio, which can avoid the identification error problem caused by non-standard user operation gestures, improve the sensitivity of zooming ratio determination, and ensure the accuracy of virtual scene zooming due to the uniqueness of the virtual reality handle position and the referenceability of the virtual zooming control wheel.

[0041] Each step in Figure 1 will be described in detail below.

[0042] In response to the triggering operation of the virtual scene zoom event, a virtual zoom control wheel is displayed in the user's field of view of the virtual scene.

[0043] The virtual reality handle refers to an entity device for controlling the virtual scene to interact with the real scene, for example, a VR game handle. The virtual scene zoom event refers to an event of adjusting the presentation scale of the virtual scene to be enlarged or reduced.

[0044] For example, the triggering operation of the virtual scene zoom event can be a click operation of a user on a specified key of the virtual reality handle.

[0045] For example, the triggering operation of the virtual scene zoom event can also be a long press operation of a user on a specified key of the virtual reality handle.

[0046] It should be noted that in actual application, the triggering operation of the virtual scene zoom event can be set by the developer, which is not limited here.

[0047] The user's field of view of the virtual scene refers to the range of the virtual scene that the user can view at present. For example, it can be a virtual scene picture that the user can view through the VR glasses, or a virtual scene picture displayed in the VR external display screen, such as the virtual scene picture 201 shown in FIG. 2. Figure 2A

[0048] The virtual zoom control wheel is used to assist the user to control the virtual zoom control wheel, which can be displayed in the virtual scene picture 201 as shown by the wheel identifier 202 in FIG. 2. Figure 2A

[0049] In an optional embodiment, the virtual zoom control wheel is displayed in the user's field of view of the virtual scene in response to the triggering operation of the virtual reality handle on the virtual scene zoom event, as shown in FIG. 3, which can be implemented by the following steps S310 to S320: Figure 3

[0050] In response to the triggering operation of the virtual reality handle on the virtual scene zoom event, a first position of the virtual reality handle is obtained, the first position being a mapping position of the virtual reality handle in the virtual scene when the virtual scene zoom event is triggered.

[0051] According to the first position of the virtual reality handle, a wheel display position of the virtual zoom control wheel in the user's field of view of the virtual scene is determined, and the virtual zoom control wheel is displayed at the wheel display position.

[0052] ​​​The first position refers to a mapping position of the virtual reality handle in the virtual scene when a virtual scene zoom event is triggered, which can be used as an initial position of subsequent movement of the virtual reality handle, i.e., a starting position of zoom adjustment.

[0053] When the virtual reality handle triggers a virtual scene zoom event, a position of the virtual reality handle in a real scene can be obtained based on a position sensor in the virtual reality handle, and the position of the virtual reality handle in the real scene is mapped to the virtual scene to obtain a first position of the virtual reality handle.

[0054] After obtaining the first position of the virtual reality handle, a disc display position of the virtual zoom control disc can be determined according to the first position of the virtual reality handle.

[0055] The disc display position of the virtual zoom control disc can be associated with the first position of the virtual reality handle.

[0056] In step S320, a preset length can be used as a deviation distance of the center position of the virtual zoom control disc relative to the first position; a preset orientation can be used as a deviation orientation of the center position of the virtual zoom control disc relative to the first position; the disc display position of the virtual zoom control disc can be determined in the user's field of view of the virtual scene according to the deviation distance and the deviation orientation of the center position of the virtual zoom control disc relative to the first position, and the virtual zoom control disc is displayed at the disc display position.

[0057] Figure 3 In the illustrated steps, the display position of the virtual zoom control disc is determined according to the first position of the virtual reality handle, so that the user can more intuitively observe the starting position of zoom adjustment, and the convenience of user operation can be improved.

[0058] In an optional embodiment, the above-mentioned step of determining the disc display position of the virtual zoom control disc in the user's field of view of the virtual scene according to the first position of the virtual reality handle and displaying the virtual zoom control disc at the disc display position can be implemented by the following steps: determining the center position of the virtual zoom control disc in the user's field of view of the virtual scene according to the first position of the virtual reality handle, a preset deviation distance of the center position of the virtual zoom control disc relative to the first position, and a preset deviation orientation of the center position of the virtual zoom control disc relative to the first position; and displaying the virtual zoom control disc according to the center position of the virtual zoom control disc and a preset disc radius.

[0059] The preset disc radius refers to a preset display radius of the virtual zoom control disc. The preset disc radius can be used as a measure of the deviation distance of the center position of the virtual zoom control disc relative to the first position, and the deviation distance does not exceed the preset disc radius.

[0060] Exemplarily, half of the preset wheel radius can be taken as the preset offset distance of the center position of the virtual zoom control wheel relative to the first position, i.e., the distance between the first position and the center position of the virtual zoom control wheel is half of the preset wheel radius, so as to better meet the different operation requirements of the user for zooming in and out.

[0061] The offset orientation of the center position of the virtual zoom control wheel relative to the first position can be pre-configured, and the center position of the virtual zoom control wheel can be located at any orientation of the first position, which is not specifically limited here.

[0062] Exemplarily, the lower right of the first position can be taken as the preset offset orientation of the center position of the virtual zoom control wheel relative to the first position, i.e., the first position is located at the upper left of the center position of the virtual zoom control wheel.

[0063] As shown in Figure 2A , the position where the initial handle position mark 203 is located can be taken as the first position, the initial handle position mark 203 is located at the upper left of the center position of the virtual zoom control wheel, and the distance between the initial handle position mark 203 and the center position of the virtual zoom control wheel is half of the wheel radius.

[0064] It should be noted that the parameter configuration of the above offset distance and offset orientation is only exemplary, and in actual application process, it can be set according to actual requirements or user habits, which is not specifically limited here.

[0065] In the above process, according to the preset offset distance and preset offset orientation of the center position of the virtual zoom control wheel relative to the first position, the virtual zoom control wheel is displayed, so that the size of the determined virtual zoom control wheel is absolutely fixed each time, and the position of the virtual zoom control wheel is relatively fixed to the first position, so that each time of zooming is a certain range of change based on the last zooming ratio, which can improve the convenience of user operation.

[0066] In step S120, the real position of the virtual reality handle is mapped on the virtual zoom control wheel.

[0067] As shown in the initial handle position mark 203 shown in Figure 2A , when the virtual scene zooming event is triggered, the real position of the virtual reality handle can be mapped on the virtual zoom control wheel, and the first position can be marked on the virtual reality control wheel, so as to provide a position reference for the user when performing a position moving operation.

[0068] The real position of the virtual reality handle can also be mapped and marked in real time on the virtual zoom control wheel, such asFigure 2A The current handle position indicator 204 shown in the middle is used to show the relative position of the virtual reality handle in real time, so that the user can observe the relative position of the virtual reality handle in real time.

[0069] In step S130, the target zoom scale of the virtual scene is determined according to the position moving operation of the virtual reality handle on the virtual zoom control wheel.

[0070] The position moving operation of the virtual reality handle on the virtual zoom control wheel can be realized by moving the virtual reality handle in the real scene by the user. The target zoom scale refers to the zoom scale to be adjusted of the virtual scene.

[0071] For example, when it is detected that the virtual reality handle moves to the inside of the virtual zoom control wheel, the virtual scene can be processed to be zoomed out, and the greater the distance of moving to the inside, the greater the zoom-out scale; when it is detected that the virtual reality handle moves to the outside of the virtual zoom control wheel, the virtual scene can be processed to be zoomed in, and the greater the distance of moving to the outside, the greater the zoom-in scale.

[0072] In an optional embodiment, the above-mentioned determination of the target zoom scale of the virtual scene according to the position moving operation of the virtual reality handle on the virtual zoom control wheel can be specifically realized by the following steps S410 to S420: Figure 4

[0073] In step S410, in response to a movement end operation of the virtual reality handle, a second position of the virtual reality handle is determined, the second position being a mapping position of the virtual reality handle in the virtual scene when the virtual reality handle triggers the movement end operation.

[0074] In step S420, the target zoom scale of the virtual scene is determined according to the second position of the virtual reality handle.

[0075] The second position is the mapping position of the virtual reality handle in the virtual scene when the virtual reality handle triggers the movement end operation. The movement end operation of the virtual reality handle can lock the current zoom scale, that is, the zoom scale corresponding to the virtual scene when the virtual reality handle triggers the movement end operation can be taken as the target zoom scale.

[0076] For example, the movement end operation of the virtual reality handle can be a re-clicking operation of a specified key on the virtual reality handle by the user.

[0077] For example, the movement end operation of the virtual reality handle can also be a hand release operation of a specified key on the virtual reality handle by the user.

[0078] ​If the virtual zoom control wheel does not display the zoom scale, the target zoom scale can be determined based on the relative position change amount between the first position and the second position of the virtual reality handle.

[0079] If the virtual zoom control wheel displays the zoom scale, the wheel zoom scale corresponding to the second position of the virtual reality handle can be taken as the target zoom scale. It should be noted that when the virtual zoom control wheel displays the zoom scale, the wheel zoom scale corresponding to the first position of the virtual reality handle can be taken as the reference zoom scale, and each time a specific distance is moved towards the center position, the virtual scene can be zoomed out by a specific scale, and each time a specific distance is moved away from the center position, the virtual scene can be zoomed in by a specific scale.

[0080] In the above process, the target zoom scale of the virtual scene is further determined based on the second position of the virtual reality handle. Since the position information has uniqueness and certainty, the non-standard problem of the user gesture can be avoided, and the accuracy of the scene zooming is improved.

[0081] In addition, as shown in FIG. 5B, a movement end operation prompt mark 205 can also be displayed beside the virtual zoom control wheel to guide the user operation. Figure 2B

[0082] In an optional implementation, the above-mentioned determining the target zoom scale of the virtual scene according to the second position of the virtual reality handle, as shown in FIG. 5B, can be specifically implemented through the following steps S510 to S520: Figure 5

[0083] Step S510, determining the relative position change amount of the virtual reality handle according to the second position and the first position of the virtual reality handle, the first position being the mapping position of the virtual reality handle in the virtual scene when the virtual scene event is triggered;

[0084] Step S520, determining the target zoom scale of the virtual scene according to the relative position change amount of the virtual reality handle and the zoom scale of the virtual scene when the virtual scene zooming event is triggered.

[0085] The relative position change amount of the virtual reality handle refers to the position change amount of the second position relative to the first position. For example, the relative position change amount of the virtual reality handle can be represented by the difference between the second distance and the first distance, wherein the first distance is the distance between the first position and the center position of the virtual zoom control wheel, and the second distance is the distance between the second position and the center position of the virtual zoom control wheel. In addition, the relative position change amount of the virtual reality handle can also be represented by the distance between the second position and the first position.

[0086] ​​In the above process, based on the relative position change amount of the virtual reality handle, the target zooming scale can be freely controlled, so that the virtual scene can be zoomed at any scale within a certain range, and the degree of freedom of the virtual scene zooming is improved to a certain extent.

[0087] The determination process of the target zooming scale is further described below by taking the difference between the second distance and the first distance as the relative position change amount of the virtual reality handle.

[0088] In an optional implementation, the relative position change amount of the virtual reality handle is determined according to the second position and the first position of the virtual reality handle, and specifically can be determined according to the difference between the second distance and the first distance, the first distance being the distance between the first position and the center position of the virtual zooming control disc, and the second distance being the distance between the second position and the center position of the virtual zooming control disc.

[0089] For example, S2-S1 can be taken as the relative position change amount of the virtual reality handle, where S2 represents the distance between the second position and the center position of the virtual zooming control disc, and S1 represents the distance between the first position and the center position of the virtual zooming control disc. It should be noted that if S2-S1 is positive, the virtual scene can be zoomed in; if S2-S1 is negative, the virtual scene can be zoomed out; and if S2 is equal to S1, the virtual scene is not zoomed, that is, the target zooming scale is the same as the zooming scale of the virtual scene when the virtual scene zooming event is triggered. In addition, the greater the absolute value of |S2-S1|, the greater the target zooming scale; and the smaller the absolute value of |S2-S1|, the smaller the target zooming scale.

[0090] In the above process, the relative position change amount is determined based on the second distance and the first distance, which provides a parameter basis for determining the target zooming scale, so that the user can freely and accurately adjust the zooming scale of the virtual scene.

[0091] After the relative position change amount of the virtual reality handle is determined, the relative change rate k*(S2-S1)*100% of the virtual reality handle can be calculated according to the relative position change amount S2-S1 of the virtual reality handle and a preset constant k. The preset constant k can be determined by the developer according to a large number of tests, and can be used to adjust the zooming scale corresponding to each unit movement, so as to meet the comfort of user visual perception. Then, the target zooming scale can be obtained by multiplying the relative change rate of the virtual reality handle plus 1 by the zooming scale of the virtual scene when the virtual scene zooming event is triggered. For example, the target zooming scale N2 can be obtained by calculating (1+k*(S2-S1)*100%) *N1.

[0092] It should be noted that in the above process, by adding 1 to the relative change rate of the virtual reality handle, the direct influence of the relative change rate of the virtual reality handle position on the virtual scene scaling change rate can be reduced, so that the visual perception of the user has a reasonable change rate interval, so as to avoid the value of the scaling ratio being in a state of constantly decreasing and unable to increase.

[0093] In addition, a maximum scaling ratio value allowing scaling can also be set. During the movement of the virtual reality handle, if the scaling ratio corresponding to the position of the virtual reality handle in the virtual scaling control dial exceeds the maximum scaling ratio value, a maximum zoom-in prompt ring 206 or a maximum zoom-out prompt ring 207 as shown in FIG. 6B can be displayed in the virtual scaling control dial to prompt the user that the current maximum scaling ratio has been reached. Figure 2B

[0094] After determining the target scaling ratio, step S140 can be continued to be executed with reference to Figure 1 .

[0095] Step S140, scaling the virtual scene according to the target scaling ratio.

[0096] After determining the target scaling ratio, the virtual scene can be adaptively scaled according to the target scaling ratio, thereby realizing the free adjustment of the presentation size of the virtual scene and improving the flexibility of VR interaction and breaking away from the limitation of the real scene.

[0097] For example, when the second position is closer to the center position of the virtual scaling control dial than the first position, the virtual scene can be scaled down; and when the second position is farther from the center position of the virtual scaling control dial than the first position, the virtual scene can be scaled up. As shown in FIG. 6B, when the virtual scaling control dial is generated, a scaling operation prompt mark 208 can also be added to the virtual scaling control dial to assist in guiding the user to perform the scaling operation. Figure 2B

[0098] As shown in FIG. 6B, a preferred virtual scene scaling implementation flowchart is also provided, which can specifically include the following steps: Figure 6

[0099] Step S601, in response to a triggering operation of a virtual scene scaling event, acquiring a first position of a virtual reality handle;

[0100] Step S602, determining a center position of a virtual scaling control dial in a user's field of view of a virtual scene according to the first position of the virtual reality handle, a preset offset distance of the center position of the virtual scaling control dial from the first position, and a preset offset orientation of the center position of the virtual scaling control dial from the first position;

[0101] ​​​In step S603, a virtual zoom control wheel is displayed according to the center position of the virtual zoom control wheel and a preset wheel radius.

[0102] In step S604, a real position of the virtual reality handle is mapped on the virtual zoom control wheel.

[0103] In step S605, a second position of the virtual reality handle is determined in response to a movement end operation of the virtual reality handle.

[0104] In step S606, a relative position change amount of the virtual reality handle is determined according to a difference between the second distance and the first distance.

[0105] In step S607, a target zoom scale of the virtual scene is determined according to the relative position change amount of the virtual reality handle and a zoom scale of the virtual scene when the virtual scene zoom event is triggered.

[0106] In step S608, the virtual scene is zoomed according to the target zoom scale.

[0107] The first distance is a distance between the first position and the center position of the virtual zoom control wheel, and the second distance is a distance between the second position and the center position of the virtual zoom control wheel.

[0108] Figure 6 The steps shown above zoom the virtual scene based on the position of the virtual reality handle, so that the user can complete the virtual scene zoom interaction with one hand, greatly improving the freedom and convenience of the virtual scene zoom.

[0109] The exemplary embodiments of the present disclosure also provide a virtual scene zoom device, as shown in the figure. Figure 7 The virtual scene zoom device 700 can include:

[0110] An event triggering module 710 is configured to display a virtual zoom control wheel in a user field of view of the virtual scene in response to a triggering operation of a virtual scene zoom event.

[0111] A position mapping module 720 is configured to map a real position of the virtual reality handle on the virtual zoom control wheel.

[0112] A scale determining module 730 is configured to determine a target zoom scale of the virtual scene according to a position movement operation of the virtual reality handle on the virtual zoom control wheel.

[0113] A scene zooming module 740 is configured to zoom the virtual scene according to the target zoom scale.

[0114] In an optional implementation, the event triggering module 710 can include: a first position obtaining module configured to, in response to a triggering operation of the virtual scene zoom event, obtain a first position of the virtual reality handle, the first position being a mapped position of the virtual reality handle in the virtual scene when the virtual scene zoom event is triggered; and a wheel display module configured to determine a wheel display position of the virtual zoom control wheel in a user field of view of the virtual scene according to the first position of the virtual reality handle, and display the virtual zoom control wheel at the wheel display position.

[0115] In an optional implementation, the wheel display module can be configured to: determine a center position of the virtual zoom control wheel in the user field of view of the virtual scene according to the first position of the virtual reality handle, a preset offset distance of the center position of the virtual zoom control wheel relative to the first position, and a preset offset direction of the center position of the virtual zoom control wheel relative to the first position; and display the virtual zoom control wheel according to the center position of the virtual zoom control wheel and a preset wheel radius.

[0116] In an optional implementation, the preset offset distance of the center position of the virtual zoom control wheel relative to the first position is half of the preset wheel radius.

[0117] In an optional implementation, the scale determining module 730 can include: a second position determining module configured to, in response to a movement ending operation of the virtual reality handle, determine a second position of the virtual reality handle, the second position being a mapped position of the virtual reality handle in the virtual scene when the movement ending operation is triggered; and a first scale determining sub-module configured to determine a target zoom scale of the virtual scene according to the second position of the virtual reality handle.

[0118] In an optional implementation, the scale determining sub-module can further include: a position change amount determining module configured to determine a relative position change amount of the virtual reality handle according to the second position of the virtual reality handle and a first position, the first position being a mapped position of the virtual reality handle in the virtual scene when the virtual scene event is triggered; and a second scale determining sub-module configured to determine the target zoom scale of the virtual scene according to the relative position change amount of the virtual reality handle and a zoom scale of the virtual scene when the virtual scene zoom event is triggered.

[0119] In an optional implementation, the position change amount determining module can be configured to determine the relative position change amount of the virtual reality handle according to a difference between a second distance and a first distance, the first distance being a distance between the first position and a center position of the virtual zoom control wheel, and the second distance being a distance between the second position and the center position of the virtual zoom control wheel.

[0120] The specific details of the parts in the virtual scene scaling device 700 have been described in the method part, and the undisclosed details can be referred to the method part, and thus will not be described again.

[0121] The exemplary embodiments of the present disclosure also provide a computer readable storage medium, which stores a program product capable of implementing the virtual scene scaling method described in the present specification. In some possible embodiments, various aspects of the present disclosure can also be implemented in the form of a program product, which includes program codes for causing an electronic device to perform the steps described in the "Exemplary Methods" part of the present specification according to various exemplary embodiments of the present disclosure when the program product is run on the electronic device.

[0122] Specifically, the program product stored on the computer readable storage medium can cause the electronic device to perform the following steps:

[0123] In response to the triggering operation of the virtual scene scaling event, a virtual zoom control wheel is displayed in the user's field of view of the virtual scene;

[0124] The real position of the virtual reality handle is mapped on the virtual zoom control wheel;

[0125] According to the position moving operation of the virtual reality handle on the virtual zoom control wheel, the target zoom ratio of the virtual scene is determined;

[0126] According to the target zoom ratio, the virtual scene is scaled.

[0127] In an optional embodiment, the above-mentioned step of displaying a virtual zoom control wheel in the user's field of view of the virtual scene in response to the triggering operation of the virtual scene scaling event can be implemented by the following steps: in response to the triggering operation of the virtual scene scaling event, a first position of the virtual reality handle is obtained, the first position being the mapped position of the virtual reality handle in the virtual scene when the virtual scene scaling event is triggered; according to the first position of the virtual reality handle, a wheel display position of the virtual zoom control wheel is determined in the user's field of view of the virtual scene, and the virtual zoom control wheel is displayed at the wheel display position.

[0128] In an alternative implementation, the above-mentioned determining the disc display position of the virtual zoom control disc in the user's field of view of the virtual scene according to the first position of the virtual reality handle, and displaying the virtual zoom control disc at the disc display position, can be implemented by the following steps: determining the center position of the virtual zoom control disc in the user's field of view of the virtual scene according to the first position of the virtual reality handle, the preset offset distance of the center position of the virtual zoom control disc relative to the first position, and the preset offset direction of the center position of the virtual zoom control disc relative to the first position; and displaying the virtual zoom control disc according to the center position of the virtual zoom control disc and the preset disc radius.

[0129] In an alternative implementation, the above-mentioned preset offset distance of the center position of the virtual zoom control disc relative to the first position is half of the preset disc radius.

[0130] In an alternative implementation, the above-mentioned determining the target zoom scale of the virtual scene according to the position moving operation of the virtual reality handle on the virtual zoom control disc can be implemented by the following steps: determining the second position of the virtual reality handle in response to the end operation of the virtual reality handle, the second position being the mapped position of the virtual reality handle in the virtual scene when the end operation of the virtual reality handle is triggered; and determining the target zoom scale of the virtual scene according to the second position of the virtual reality handle.

[0131] In an alternative implementation, the above-mentioned determining the target zoom scale of the virtual scene according to the second position of the virtual reality handle can be implemented by the following steps: determining the relative position change amount of the virtual reality handle according to the second position and the first position of the virtual reality handle, the first position being the mapped position of the virtual reality handle in the virtual scene when the virtual scene event is triggered; and determining the target zoom scale of the virtual scene according to the relative position change amount of the virtual reality handle and the zoom scale of the virtual scene when the virtual scene zoom event is triggered.

[0132] In an alternative implementation, the above-mentioned determining the relative position change amount of the virtual reality handle according to the second position and the first position of the virtual reality handle can be implemented by the following steps: determining the relative position change amount of the virtual reality handle according to the difference between the second distance and the first distance, the first distance being the distance between the first position and the center position of the virtual zoom control disc, and the second distance being the distance between the second position and the center position of the virtual zoom control disc.

[0133] On the one hand, based on the position movement operation of the virtual reality handle on the virtual zoom control wheel, without jumping out of the virtual scene interface, the virtual scene zooming of any scale within a certain range can be realized, which greatly improves the convenience and freedom of the virtual scene zooming. On the other hand, the position movement operation of the virtual reality handle on the virtual zoom control wheel is taken as a reference basis for determining the target zooming scale, which can avoid the problem that the user operation gesture recognition is not recognized, thereby improving the sensitivity of the zooming scale judgment, and due to the uniqueness of the virtual reality handle position and the referenceability of the virtual zoom control wheel, the accuracy of the virtual scene zooming can also be ensured.

[0134] The program product can employ a portable compact disc read-only memory (CD-ROM) and include program code, and can be run on an electronic device, such as a personal computer. However, the program product of the present disclosure is not limited thereto, and in the present document, the readable storage medium can be any tangible medium containing or storing a program that can be used or combined with an instruction execution system, device or apparatus.

[0135] The program product can employ any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium may, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or apparatus, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include an electrical connection having one or more wires, a portable disc, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0136] The computer readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, in which readable program code is borne. Such a propagated data signal can take on many forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination thereof. The readable signal medium can also be any readable medium that is not a readable storage medium and that can transmit, propagate or transport for use by or in connection with an instruction execution system, apparatus or device, or in combination with the same.

[0137] The program code contained on the readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination thereof.

[0138] Program code for performing the operations of this disclosure can be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java and C++, and conventional procedural programming languages ​​such as C or similar languages. The program code can execute entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0139] Exemplary embodiments of this disclosure also provide an electronic device capable of implementing the above-described virtual scene scaling method. Referring below... Figure 8 To describe an electronic device 800 according to such an exemplary embodiment of the present disclosure. Figure 8 The electronic device 800 shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments disclosed herein.

[0140] like Figure 8 As shown, the electronic device 800 can be represented as a general-purpose computing device. The components of the electronic device 800 may include, but are not limited to: at least one processing unit 810, at least one storage unit 820, a bus 830 connecting different system components (including storage unit 820 and processing unit 810), and a display unit 840.

[0141] The storage unit 820 stores program code, which can be executed by the processing unit 810, causing the processing unit 810 to perform the steps described in the "Exemplary Methods" section above according to various exemplary embodiments of this disclosure.

[0142] Specifically, the processing unit 810 may perform the following steps:

[0143] In response to the virtual scene zoom event, a virtual zoom control wheel is displayed in the user's field of view of the virtual scene;

[0144] Map the real-world position of the virtual reality controller onto the virtual zoom control wheel;

[0145] The target scaling ratio of the virtual scene is determined based on the movement of the virtual reality controller on the virtual scaling control wheel.

[0146] The virtual scene is scaled according to the target scaling ratio.

[0147] In an alternative implementation, the displaying of the virtual zoom control wheel in the user's view of the virtual scene in response to the triggering of the virtual scene zoom event can be achieved by: obtaining a first position of the virtual reality handle in response to the triggering of the virtual scene zoom event, the first position being a mapped position of the virtual reality handle in the virtual scene when the virtual scene zoom event is triggered; determining a wheel display position of the virtual zoom control wheel in the user's view of the virtual scene according to the first position of the virtual reality handle, and displaying the virtual zoom control wheel at the wheel display position.

[0148] In an alternative implementation, the determining of the wheel display position of the virtual zoom control wheel in the user's view of the virtual scene according to the first position of the virtual reality handle, and the displaying of the virtual zoom control wheel at the wheel display position can be achieved by: determining a center position of the virtual zoom control wheel in the user's view of the virtual scene according to the first position of the virtual reality handle, a preset offset distance of the center position of the virtual zoom control wheel from the first position, and a preset offset orientation of the center position of the virtual zoom control wheel from the first position; and displaying the virtual zoom control wheel according to the center position of the virtual zoom control wheel and a preset wheel radius.

[0149] In an alternative implementation, the preset offset distance of the center position of the virtual zoom control wheel from the first position is half of the preset wheel radius.

[0150] In an alternative implementation, the determining of the target zoom scale of the virtual scene according to the position moving operation of the virtual reality handle on the virtual zoom control wheel can be achieved by: obtaining a second position of the virtual reality handle in response to an end operation of the virtual reality handle, the second position being a mapped position of the virtual reality handle in the virtual scene when the end operation of the virtual reality handle is triggered; and determining the target zoom scale of the virtual scene according to the second position of the virtual reality handle.

[0151] In an alternative implementation, the determining of the target zoom scale of the virtual scene according to the second position of the virtual reality handle can be achieved by: determining a relative position change of the virtual reality handle according to the second position of the virtual reality handle and a first position of the virtual reality handle, the first position being a mapped position of the virtual reality handle in the virtual scene when the virtual scene event is triggered; and determining the target zoom scale of the virtual scene according to the relative position change of the virtual reality handle and a zoom scale of the virtual scene when the virtual scene zoom event is triggered.

[0152] In an alternative implementation, the determining of the relative position change of the virtual reality handle according to the second position and the first position of the virtual reality handle can be achieved by the following steps: determining the relative position change of the virtual reality handle according to the difference between the second distance and the first distance, the first distance being the distance between the first position and the center position of the virtual zoom control wheel, and the second distance being the distance between the second position and the center position of the virtual zoom control wheel.

[0153] On the one hand, based on the position moving operation of the virtual reality handle on the virtual zoom control wheel, the virtual scene zooming of any scale can be achieved within a certain range without exiting the virtual scene interface, which greatly improves the convenience and freedom of the virtual scene zooming. On the other hand, taking the position moving operation of the virtual reality handle on the virtual zoom control wheel as the reference basis for determining the target zooming scale can avoid the problem that the user operation gesture cannot be recognized, thereby improving the sensitivity of the zooming scale determination, and due to the unique determinacy of the virtual reality handle position and the referability of the virtual zoom control wheel, the accuracy of the virtual scene zooming can also be ensured.

[0154] The storage unit 820 can include a readable medium in the form of a volatile storage unit, such as a random access memory (RAM) 821 and / or a cache memory 822, and can further include a read-only memory (ROM) 823.

[0155] The storage unit 820 can further include program / utility 824 having a set of programs / modules 825, including operating systems, one or more applications, other programs, and program / data, each or some combination of which can include implementation of a network environment.

[0156] The bus 830 can represent one or more of several types of bus structures, including a storage unit bus or bus controller, a peripheral bus, a graphics acceleration port, a processing unit bus, or a local bus using any of a variety of bus architectures.

[0157] The electronic device 800 can also communicate with one or more external devices 900 such as a keyboard or pointing device, a Bluetooth device, or a database, and can communicate with one or more devices enabling user interaction with the electronic device 800 (for example, a display, speakers, a haptic feedback device, etc.). Communication with one or more devices can occur via an I / O interface 850. Still yet, the electronic device 800 can communicate with one or more networks, such as one or more local area networks (LANs), wide area networks (WANs), and / or the Internet, through a network adapter 860. As an example, the network adapter 860 can include a modem, a network card (wireless or wired), or other well-known interface devices. The network adapter 860 can enable the electronic device 800 to communicate with other devices and / or systems through the Internet, for example, and / or enable the electronic device 800 to communicate with one or more devices or systems. The network adapter 860 can be implemented as a peripheral component interconnect (PCI) adapter, PCI Express adapter, or other now known or later developed mechanism for interconnecting peripheral devices to processing circuitry. The network adapter 860 can be communicatively coupled to the other components of the electronic device 800 via a bus 830. As will be appreciated by persons skilled in the art, the bus 830 can be configured to carry data to the other components of the electronic device 800 or to carry data from the other components of the electronic device 800. The bus 830 can also be configured to carry control signals to the other components of the electronic device 800 or to carry control signals from the other components of the electronic device 800. The electronic device 800 can also include one or more input / output (I / O) devices 870. The I / O devices 870 can include, for example, a keyboard, a mouse, a display, a printer, a modem, a network interface card, a disk drive, or other input / output devices.

[0158] Those skilled in the art will readily understand that the example embodiments described herein can be implemented by software and / or by software in combination with the necessary hardware. Thus, the technical solutions according to the example embodiments of the present disclosure 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 disk, a mobile hard disk, or the like) or a network, and includes a number of instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to perform the methods according to the example embodiments of the present disclosure.

[0159] In addition, the above-described diagrams are merely schematic illustrations of the processes included in the methods according to the example embodiments of the present disclosure, and are not intended to be limiting. It will be readily understood that the processes shown in the above-described diagrams do not indicate or limit the time sequence of the processes. In addition, it will also be readily understood that the processes can be executed synchronously or asynchronously, for example, in a plurality of modules.

[0160] It should be noted that although a number of modules or units of devices for action execution are mentioned in the foregoing detailed description, such division is not mandatory. Indeed, according to the example embodiments of the present disclosure, features and functionalities of two or more modules or units described above can be embodied in one module or unit. Conversely, features and functionalities of one module or unit described above can be further divided into a plurality of modules or units.

[0161] Those skilled in the art can understand that various aspects of the present disclosure can be implemented as a system, a method or a program product. Therefore, various aspects of the present disclosure can be embodied in a form of an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.), or an embodiment combining hardware and software aspects in a manner that can all be generally referred to herein as a "circuit", "module" or "system". Those skilled in the art, with the benefit of the description and the practice of the disclosure disclosed herein, can easily derive other embodiments of the present disclosure. The present application is intended to cover any variations, uses or adaptive changes of the present disclosure that follow the general principles of the present disclosure and include common knowledge or conventional technical means in the art not disclosed in the present disclosure. The specification and embodiments are only regarded as exemplary, and the true scope and spirit of the present disclosure are indicated by the claims.

[0162] It should be understood that the present disclosure is not limited to the precise structures as herein described and illustrated in the drawings, and that various modifications and changes can be made without departing from its scope. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A method for scaling a virtual scene, characterized in that, The method comprises: in response to a trigger operation of a virtual scene zoom event, displaying a virtual zoom control wheel in a user's field of view of the virtual scene; mapping a real position of a virtual reality handle on the virtual zoom control wheel; determining a target zoom scale of the virtual scene according to a position moving operation of the virtual reality handle on the virtual zoom control wheel; zooming the virtual scene according to the target zoom scale; wherein the determining of the target zoom scale of the virtual scene according to the position moving operation of the virtual reality handle on the virtual zoom control wheel comprises: in response to a moving end operation of the virtual reality handle, determining a second position of the virtual reality handle, the second position being a mapped position of the virtual reality handle in the virtual scene when the virtual reality handle triggers the moving end operation; determining a relative position change amount of the virtual reality handle according to the second position and a first position of the virtual reality handle, the first position being a mapped position of the virtual reality handle in the virtual scene when the virtual scene zoom event is triggered; determining the target zoom scale of the virtual scene according to the relative position change amount of the virtual reality handle and a zoom scale of the virtual scene when the virtual scene zoom event is triggered.

2. The method of claim 1, wherein, The displaying of the virtual zoom control wheel in the user's field of view of the virtual scene in response to the trigger operation of the virtual scene zoom event comprises: in response to the trigger operation of the virtual scene zoom event, obtaining a first position of the virtual reality handle, the first position being a mapped position of the virtual reality handle in the virtual scene when the virtual scene zoom event is triggered; determining a wheel display position of the virtual zoom control wheel in the user's field of view of the virtual scene according to the first position of the virtual reality handle, and displaying the virtual zoom control wheel at the wheel display position.

3. The method of claim 2, wherein, The determining of the wheel display position of the virtual zoom control wheel in the user's field of view of the virtual scene according to the first position of the virtual reality handle, and the displaying of the virtual zoom control wheel at the wheel display position comprises: determining a center position of the virtual zoom control wheel in the user's field of view of the virtual scene according to the first position of the virtual reality handle, a preset offset distance of the center position of the virtual zoom control wheel relative to the first position, and a preset offset direction of the center position of the virtual zoom control wheel relative to the first position; displaying the virtual zoom control wheel according to the center position of the virtual zoom control wheel and a preset wheel radius.

4. The method of claim 3, wherein, The preset offset distance of the center position of the virtual zoom control wheel relative to the first position is half of the preset wheel radius.

5. The method of claim 1, wherein, The determining of the relative position change amount of the virtual reality handle according to the second position and the first position of the virtual reality handle comprises: determine a relative position change of the virtual reality handle according to a difference between a second distance and a first distance, the first distance being a distance between the first position and a center position of the virtual zoom control wheel, and the second distance being a distance between the second position and the center position of the virtual zoom control wheel.

6. A virtual scene scaling apparatus, characterized by comprising: The apparatus comprises: an event triggering module configured to display a virtual zoom control wheel in a user's field of view of a virtual scene in response to a triggering operation of a virtual scene zoom event; a position mapping module configured to map a real position of a virtual reality handle on the virtual zoom control wheel; a scale determining module configured to determine a target zoom scale of the virtual scene according to a position moving operation of the virtual reality handle on the virtual zoom control wheel; a scene zooming module configured to zoom the virtual scene according to the target zoom scale; wherein the scale determining module is configured to: determine a second position of the virtual reality handle in response to a moving end operation of the virtual reality handle, the second position being a mapped position of the virtual reality handle in the virtual scene when the virtual reality handle triggers the moving end operation; determine a relative position change of the virtual reality handle according to the second position and a first position of the virtual reality handle, the first position being a mapped position of the virtual reality handle in the virtual scene when the virtual scene zoom event is triggered; determine the target zoom scale of the virtual scene according to the relative position change of the virtual reality handle and a zoom scale of the virtual scene when the virtual scene zoom event is triggered.

7. A computer-readable storage medium having stored thereon a computer program, characterized in that The computer program, when executed by a processor, implements the method of any one of claims 1 to 5.

8. An electronic device, comprising: comprises: a processor; and a memory configured to store executable instructions of the processor; wherein the processor is configured to implement the method of any one of claims 1 to 5 via execution of the executable instructions.

Citation Information

Patent Citations

  • Laser pointer interactions and scaling in virtual reality

    CN108292146A