Radiation display method, device, equipment, computer readable storage medium and product

By constructing and adjusting the display style of the target ray in three-dimensional space, the problem of monotonous ray display styles is solved, resulting in rich display effects and an improved user experience.

CN119668464BActive Publication Date: 2026-03-27BEIJING ZITIAO NETWORK TECH 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
2023-09-21
Publication Date
2026-03-27

AI Technical Summary

Technical Problem

Existing ray display styles are relatively monotonous, lacking in three-dimensionality and personalization, resulting in a poor user experience.

Method used

A target ray is constructed between the remote control device and the interactive interface in three-dimensional space. By collecting motion-related information in real time, the display style of the target ray is adjusted when preset switching conditions are met, including switching the curvature shape and dimension.

Benefits of technology

It enriches the display effect of rays, enhances the user's interactive experience, and provides a variety of display feel and three-dimensionality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119668464B_ABST
    Figure CN119668464B_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure provide a ray display method, device, equipment, computer readable storage medium and product, the method comprises: displaying a preset remote control device and an interactive interface in a three-dimensional space, constructing a target ray between the remote control device and the interactive interface, the target ray is displayed in a preset display style; in response to the user triggering the moving operation of the remote control device, controlling the target ray to move along with the remote control device; when it is determined that the movement associated information of the target ray in the moving process meets the preset switching condition, the display style of the target ray is switched. Thus, the target ray can present multiple different display styles in the three-dimensional space, which enriches the display effect of the target ray in the interactive process and improves the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present disclosure relate to the technical field of data processing, and particularly, to a ray display method, device, equipment, computer readable storage medium and product. BACKGROUND

[0002] A user can control content such as a cursor or a virtual character based on a remote control device. In some scenarios, the user can be presented with a ray emitted by the remote control device in real time when the user performs a control operation using the remote control device, and the user can perform a control operation based on an intersection of the ray and a display interface.

[0003] In related technologies, a ray emitted by a remote control device is generally displayed in a straight line or a fixed curve, and the display style is often relatively monotonous, resulting in poor user experience. SUMMARY

[0004] Embodiments of the present disclosure provide a ray display method, device, equipment, computer readable storage medium and product, to solve the technical problem of a relatively monotonous display style of a ray.

[0005] In a first aspect, a ray display method is provided, comprising:

[0006] displaying a preset remote control device and an interactive interface in a three-dimensional space, constructing a target ray between the remote control device and the interactive interface, and displaying the target ray in a preset display style;

[0007] in response to a user triggering a movement operation of the remote control device, controlling the target ray to move along with the remote control device;

[0008] when it is determined that movement-related information of the target ray during movement satisfies a preset switching condition, performing a switching operation on the display style of the target ray.

[0009] In a second aspect, a ray display device is provided, comprising:

[0010] a display module configured to display a preset remote control device and an interactive interface in a three-dimensional space, construct a target ray between the remote control device and the interactive interface, and display the target ray in a preset display style;

[0011] a control module configured to, in response to a user triggering a movement operation of the remote control device, control the target ray to move along with the remote control device;

[0012] a switching module configured to, when it is determined that movement-related information of the target ray during movement satisfies a preset switching condition, perform a switching operation on the display style of the target ray.

[0013] In a third aspect, an electronic device is provided, and the electronic device includes a processor and a memory.

[0014] The memory stores computer-executable instructions.

[0015] The processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the ray display method according to the first aspect and various possible designs of the first aspect.

[0016] In a fourth aspect, a computer-readable storage medium is provided, and the computer-readable storage medium stores computer-executable instructions. When a processor executes the computer-executable instructions, the ray display method according to the first aspect and various possible designs of the first aspect is implemented.

[0017] In a fifth aspect, a computer program product is provided, and the computer program product includes a computer program. When a processor executes the computer program, the ray display method according to the first aspect and various possible designs of the first aspect is implemented.

[0018] The ray display method, device, electronic device, computer-readable storage medium, and product provided by the embodiments can display a remote control device and an interactive interface in a three-dimensional control, and display a target ray in a preset display style between the remote control device and the interactive interface. Based on a movement operation triggered by a user on the remote control device, when it is determined that movement association information of the target ray in a movement process meets a preset switching condition, a display style of the target ray is switched. Thus, the target ray can present multiple different display styles in a three-dimensional space, which enriches the display effect of the target ray in an interactive process and improves user experience. BRIEF DESCRIPTION OF DRAWINGS

[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure or the prior art, the drawings needed in the embodiments or the prior art description will be briefly introduced. Obviously, the drawings in the following description are some embodiments of the present disclosure, and those skilled in the art can obtain other drawings according to these drawings without creative labor.

[0020] Figure 1 A flowchart of a ray display method provided by an embodiment of the present disclosure is shown.

[0021] Figure 2 A flowchart of a ray display method provided by another embodiment of the present disclosure is shown.

[0022] Figure 3 A time delay intersection diagram provided by an embodiment of the present disclosure is shown.

[0023] Figure 4 A target ray schematic diagram provided by an embodiment of the present disclosure;

[0024] Figure 5 A flow schematic diagram of a ray display method provided by another embodiment of the present disclosure;

[0025] Figure 6 A flow schematic diagram of a ray display method provided by another embodiment of the present disclosure;

[0026] Figure 7 A three-dimensional contour schematic diagram provided by an embodiment of the present disclosure;

[0027] Figure 8 A structure schematic diagram of a ray display device provided by an embodiment of the present disclosure;

[0028] Figure 9 A structure schematic diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0029] To make the objectives, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be described below in a clear and complete manner with reference to the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are some but not all of the embodiments of the present disclosure. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of the present disclosure.

[0030] It can be understood that, before using the technical solutions disclosed in the embodiments of the present disclosure, the type, use range, use scenario, etc. of the personal information involved in the present disclosure should be informed to the user and the authorization of the user should be obtained through appropriate means according to relevant laws and regulations.

[0031] For example, in response to receiving the active request of the user, prompt information is sent to the user to explicitly prompt the user that the operation requested to be performed will need to obtain and use the personal information of the user. Thus, the user can voluntarily choose whether to provide the personal information to the software or hardware such as electronic device, application program, server or storage medium, etc. that performs the operation of the technical solution of the present disclosure according to the prompt information.

[0032] As an optional but not limited implementation manner, in response to receiving the active request of the user, the manner of sending the prompt information to the user may, for example, be the manner of pop-up window, and the prompt information may, for example, be presented in the form of text in the pop-up window. In addition, the pop-up window may, for example, also carry a selection control for the user to select “agree” or “disagree” to provide the personal information to the electronic device.

[0033] It can be understood that the above notification and user authorization obtaining process is only illustrative, and does not limit the implementation of the present disclosure, and other ways that meet relevant laws and regulations can also be applied to the implementation of the present disclosure.

[0034] To solve the technical problem of the single ray display style in the prior art, the present disclosure provides a ray display method, device, equipment, computer readable storage medium and product.

[0035] It should be noted that the ray display method, device, equipment, computer readable storage medium and product provided by the present disclosure can be applied in any scene that needs to display rays and adjust the display style.

[0036] In a virtual reality scene, a user can interact with the content in the display interface through a virtual handle. The virtual handle can emit a ray, and the interaction is realized based on the movement and selection operation of the intersection of the ray and the display interface. However, the current ray is generally a straight line or a fixed curve, which leads to a single display effect and cannot meet the personalized needs of users. In addition, the current ray is generally a two-dimensional line shape, which often lacks stereoscopic effect.

[0037] In the process of solving the above technical problems, the inventors found through research that, in order to enrich the display effect of the target ray, the movement-related information of the target ray can be collected in real time during the movement of the target ray with the remote control device, and when the movement-related information meets a preset switching condition, the display style of the target ray is switched.

[0038] Alternatively, the curved shape of the target ray can be adjusted to present different "hand feelings". Alternatively, the display state of the target ray can be switched from two-dimensional to three-dimensional, so that the target ray can have more stereoscopic effect and improve the user experience.

[0039] The execution subject of the embodiment is a ray display device. The ray display device can be coupled to a server, which is in communication connection with a virtual reality device. The server can construct a target ray, and based on a movement operation triggered by a user on a remote control device, when it is determined that the movement-related information of the target ray during the movement meets a preset switching condition, the display style of the target ray is switched, and the content is displayed in the virtual reality scene.

[0040] Alternatively, the ray display device can be coupled to a virtual reality device, and based on a movement operation triggered by a user on a remote control device, when it is determined that the movement-related information of the target ray during the movement meets a preset switching condition, the display style of the target ray is switched, and the content is displayed in the virtual reality scene.

[0041] Figure 1A flowchart of a ray display method provided by an embodiment of the present disclosure is shown in FIG. 1. As shown in FIG. 1, the method comprises the following steps. Figure 1

[0042] Step 101: display a preset remote control device and an interactive interface in a three-dimensional space, and build a target ray between the remote control device and the interactive interface, wherein the target ray is displayed in a preset display style.

[0043] In the virtual reality scene, the user can interact with the content in the interactive interface through the virtual handle. In order to realize the above-mentioned interaction operation, the preset remote control device and the interactive interface can be displayed in the three-dimensional space.

[0044] The user can perform an interaction operation in the three-dimensional space based on the remote control device, which can emit an original ray. The display object in the interactive interface is selected based on the intersection between the original ray and the interactive interface.

[0045] In order to optimize the display effect in the three-dimensional space, the target ray can be built between the remote control device and the interactive interface, and the target ray is displayed in a preset display style. The preset display style can be set by the user according to actual needs, or it can be the default of the system. The display style can include display shape, display dimension, color parameter, etc.

[0046] Step 102: in response to a movement operation triggered by the user on the remote control device, control the target ray to move following the remote control device.

[0047] In the embodiment, the user can control the target ray to move according to the remote control device through the movement operation triggered by the remote control device, so as to switch the intersection between the target ray and the interactive interface, and realize the selection operation of different display objects.

[0048] Step 103: when it is determined that the movement-related information of the target ray in the movement process meets a preset switching condition, perform a switching operation on the display style of the target ray.

[0049] In the embodiment, in order to enrich the display style of the target ray and present different display effects in the three-dimensional space, the switching condition can be set in advance. When the switching condition is met, the display style of the target ray is switched. For example, the curved shape of the target ray can be switched to present different trigger feelings. Alternatively, the display dimension of the target ray can be switched to present a more three-dimensional target ray, etc. Alternatively, the display dimension and the curved shape of the target ray can be adjusted at the same time, which is not limited in the present disclosure.

[0050] ​Optionally, in order to realize the switching operation on the display style of the target ray, the movement related information of the target ray in the movement process can be acquired in real time. The movement related information includes, but is not limited to, the position of the intersection point between the target ray and the interactive interface, the target object currently selected by the target ray, the movement speed of the target ray, the movement amplitude, and the like.

[0051] Further, after the movement related information is acquired, it can be determined whether the movement related information satisfies a preset switching condition. If yes, the display style of the target ray can be switched.

[0052] The ray display method provided in the embodiment can display the remote control device and the interactive interface in the three-dimensional control, display the target ray in a preset display style between the remote control device and the interactive interface, and switch the display style of the target ray based on the movement operation of the remote control device triggered by the user when it is determined that the movement related information of the target ray in the movement process satisfies a preset switching condition. Therefore, the target ray can present multiple different display styles in the three-dimensional space, which enriches the display effect of the target ray in the interactive process and improves the user experience.

[0053] Figure 2 The flowchart of the ray display method provided in another embodiment of the present disclosure is shown in FIG. 1, which is based on any of the above embodiments. Figure 2 As shown in FIG. 1, step 101 includes:

[0054] Step 201, determining the real-time intersection point and the historical intersection point between the original ray emitted by the remote control device and the interactive interface.

[0055] Step 202, determining the delay intersection point based on the real-time intersection point, the historical intersection point, and a preset delay degree parameter.

[0056] Step 203, constructing the target ray according to the delay intersection point, the display position of the remote control device in the three-dimensional space, the position of the real-time intersection point, and a preset distance coefficient. The distance coefficient is used to represent the distance between the delay intersection point and the real-time intersection point.

[0057] In the embodiment, in order to realize the construction of the target ray, the real-time intersection point and the historical intersection point between the original ray emitted by the remote control device and the interactive interface can be determined first. The remote control device can emit an original ray in a straight line form. The intersection point between the original ray and the interactive interface is the real-time intersection point. The intersection point between the original ray and the interactive interface in the last frame is the historical intersection point.

[0058] In order to realize the construction of the target ray, a distance coefficient can also be preset. The distance coefficient is used to represent the distance between the real-time intersection point and the delay intersection point. The distance between the real-time intersection point and the delay intersection point represents the degree of the current user rotating (shaking) the remote control device: the farther the distance between the real-time intersection point and the delay intersection point, the more intense the current user rotates (shakes) the remote control device; the closer the distance between the real-time intersection point and the delay intersection point, the more gentle the current user rotates (shakes) the remote control device.

[0059] Further, the delay intersection point can also be determined based on the real-time intersection point, the historical intersection point, and a preset delay degree parameter. The delay intersection point does not move in real time with the movement of the remote control device. When the remote control device moves, the corresponding movement is performed after a delay. The target ray is constructed according to the delay intersection point, the display position of the remote control device in the three-dimensional space, the position of the real-time intersection point, and the preset distance coefficient.

[0060] The ray display method provided in the embodiment can determine the delay intersection point based on the real-time intersection point, the historical intersection point, and a preset delay degree parameter, and can further construct the target ray based on the delay intersection point, the display position of the remote control device in the three-dimensional space, the position of the real-time intersection point, and the preset distance coefficient. Therefore, the display style of the target ray can be flexibly switched by adjusting the parameters subsequently.

[0061] Further, on the basis of any of the above embodiments, step 202 comprises:

[0062] Based on the coordinate information of the real-time intersection point, the coordinate information of the historical intersection point, and the delay degree parameter, an interpolation operation is performed to obtain the delay intersection point.

[0063] In the embodiment, when there is no delay intersection point, the real-time intersection point moves with the movement parameter of the remote control device, which can cause the real-time intersection point to deviate from the display interface and the jitter to be more serious.

[0064] In order to realize the determination of the delay intersection point, the delay degree parameter can be determined according to actual needs in advance. Based on different delay length parameters, the distance between the delay intersection point and the real-time intersection point can be controlled.

[0065] Further, based on the coordinate information of the real-time intersection point, the coordinate information of the historical intersection point, and the delay degree parameter, an interpolation operation is performed to obtain the delay intersection point. The interpolation operation can be performed in a linear interpolation manner, or any other interpolation manner, which is not limited in the present disclosure.

[0066] Figure 3 The delay intersection point schematic diagram provided in the embodiment of the present disclosure is as follows:Figure 3 As shown, the original ray can be emitted from the remote control device position 31, and the intersection between the original ray and the display interface 32 is a real-time intersection 33. A historical intersection 34 between the original ray and the display interface 32 is determined, and a delay intersection 35 is determined based on the real-time intersection 33, the historical intersection 34, and a preset delay degree parameter.

[0067] The ray display method provided in this embodiment can obtain the delay intersection through interpolation operation based on the coordinate information of the real-time intersection, the coordinate information of the historical intersection, and the delay degree parameter, so as to realize adjustment of the display style of the target ray based on the delay intersection, thereby enriching the display effect of the target ray.

[0068] Further, on the basis of any of the above embodiments, step 203 comprises:

[0069] The display position of the remote control device in the three-dimensional space is determined as a first coordinate.

[0070] The display position of the real-time intersection is determined as a second coordinate.

[0071] A third coordinate is determined based on a preset coordinate axis direction value in the display position corresponding to the remote control device and the distance coefficient.

[0072] A fourth coordinate is determined based on one or more of the difference between the real-time intersection and the delay intersection, the distance coefficient, and the motion direction and normal direction.

[0073] The first coordinate, the second coordinate, the third coordinate, and the fourth coordinate are processed through a preset curve generation formula to obtain the target ray.

[0074] In this embodiment, the target ray can be constructed through a third-order Bezier curve. The third-order Bezier curve is determined based on four points, and the shape of the curve can be adjusted by adjusting the positions of the four points. The target ray is constructed through the third-order Bezier curve, so that the display style of the target ray can be flexibly adjusted.

[0075] Alternatively, the display position of the remote control device in the three-dimensional space can be determined as a first coordinate. The display position of the real-time intersection is determined as a second coordinate. A third coordinate is determined based on a preset coordinate axis direction value in the display position corresponding to the remote control device and the distance coefficient. A fourth coordinate is determined based on one or more of the difference between the real-time intersection and the delay intersection, the distance coefficient, and the motion direction and normal direction. The first coordinate, the second coordinate, the third coordinate, and the fourth coordinate are processed through a preset curve generation formula to obtain the target ray.

[0076] Since the third coordinate and the fourth coordinate are constructed based on one or more parameters of the distance coefficient, the motion direction, the normal direction, and the display position corresponding to the remote control device and the real-time intersection point and the delayed intersection point, the adjustment operation on the curved shape of the target ray can be flexibly realized by adjusting one or more parameters of the distance coefficient, the motion direction, and the normal direction.

[0077] Figure 4 The target ray schematic diagram provided in the embodiment of the present disclosure is shown in FIG. 4, which can be constructed based on the first coordinate corresponding to the remote control device 41, the second coordinate of the real-time intersection point 43 between the original ray and the display interface 42, the preset coordinate axis direction value in the display position corresponding to the remote control device, and the distance coefficient to determine the third coordinate 44, and based on the difference between the real-time intersection point and the delayed intersection point, the distance coefficient, and one or more of the motion direction and the normal direction to determine the fourth coordinate 45. Figure 4

[0078] The ray display method provided in the embodiment can flexibly switch the display style of the target ray by determining the first coordinate, the second coordinate, the third coordinate, and the fourth coordinate respectively.

[0079] Figure 5 The flowchart of the ray display method provided in another embodiment of the present disclosure is shown in FIG. 5, which is based on any of the above embodiments. The movement correlation information includes the target intersection point position between the target ray and the interactive interface. Figure 5

[0080] Step 501: determining the currently selected target display object in real time based on the target intersection point position, wherein different display objects correspond to different ray parameters.

[0081] Step 502: if the ray parameters corresponding to the currently selected target display object and the last selected display object are different, performing a switching operation on the display style of the target ray based on the ray parameters corresponding to the currently selected target display object.

[0082] In the embodiment, the movement correlation information includes the target intersection point position between the target ray and the interactive interface. The user can control or select the display object on the interactive interface through the remote control device. In order to enrich the display effect in the three-dimensional space, different display styles can be presented when the user triggers different display objects based on the target ray.

[0083] ​​In order to realize the switching of the display style of the target ray, an association between different display objects and ray parameters can be preset. The ray parameters can be parameters for adjusting the curved shape or parameters for adjusting the display dimension, and the present disclosure does not limit this.

[0084] Further, in response to the user triggering the moving operation, the currently selected target display object can be determined in real time based on the target intersection position. It is detected whether the ray parameters corresponding to the currently selected target display object and the last selected display object are the same. If yes, the target ray can not be adjusted. Otherwise, the display style of the target ray can be switched based on the ray parameters corresponding to the currently selected target display object.

[0085] The ray display method provided by the embodiment can realize the switching of the display style of the target ray based on the moving operation, and can enrich the display effect in the interactive operation process and improve the user experience.

[0086] Optionally, on the basis of any of the above embodiments, the moving association information includes a moving speed and / or a moving amplitude and / or a moving distance of the target ray.

[0087] Step 103 includes:

[0088] When it is detected that the moving speed and / or the moving amplitude and / or the moving distance meet the preset switching condition, the display style of the target ray is switched.

[0089] In the embodiment, the moving association information includes the moving speed and / or the moving amplitude and / or the moving distance of the target ray.

[0090] For example, when the user moves the target ray at a high speed or the moving distance of the target ray is large, different display styles can be switched to enrich the display effect in the three-dimensional space.

[0091] Therefore, in order to realize the switching of the display style of the target ray, a moving speed threshold, a moving amplitude threshold and a moving distance threshold can be preset. When it is detected that the current moving speed of the target ray is greater than the preset moving speed threshold and / or the moving amplitude is greater than the preset moving amplitude threshold and / or the moving distance is greater than the preset moving distance threshold, the display style of the target ray can be switched.

[0092] Optionally, a relationship between different moving speeds and / or moving amplitudes and / or moving distances and ray parameters can be established in advance. Thus, the display style of the target ray can be adjusted based on the corresponding ray parameter of the current moving speed and / or moving amplitude and / or moving distance.

[0093] The ray display method provided in this embodiment can switch the display style of the target ray when the moving speed and / or moving amplitude and / or moving distance meets the preset switching condition, thereby enriching the use scenarios of the target ray display style switching, and further enabling more flexible adjustment of the target ray display style, and enriching the display effect in the interactive operation process.

[0094] Optionally, in the above any embodiment, the step 103 comprises:

[0095] switching the curved shape of the target ray.

[0096] and / or.

[0097] switching the two-dimensional target ray to a three-dimensional target ray.

[0098] In this embodiment, when the moving related information of the target ray during the movement meets the preset switching condition, the curved shape of the target ray can be switched. So that the target ray presents different shapes, and further can give the user different dragging feelings.

[0099] Optionally, the display dimension of the target ray can also be adjusted. For example, the two-dimensional target ray can be switched to a three-dimensional target ray. Or, the three-dimensional target ray is adjusted to a two-dimensional target ray, etc.

[0100] It should be noted that the above two implementation manners can be implemented alone or in combination. When they are implemented in combination, the curved shape and the display dimension of the target ray can be adjusted at the same time to present more diversified display effects.

[0101] The ray display method provided in this embodiment can switch the curved shape of the target ray. And / or. Switch the two-dimensional target ray to a three-dimensional target ray, thereby enabling the adjustment of the moving feeling and the display dimension of the target ray, further enriching the display style of the target ray, and improving the user experience.

[0102] Further, in the above any embodiment, the switching of the curved shape of the target ray comprises:

[0103] obtaining a first ray parameter, wherein the first ray parameter comprises one or more of a target distance coefficient, a target normal direction, a target motion direction, and a target delay degree.

[0104] adjusting the display positions of the third coordinate and the fourth coordinate based on the first ray parameter to obtain an updated third coordinate and an updated fourth coordinate.

[0105] performing data processing on the first coordinate, the second coordinate, the updated third coordinate, and the updated fourth coordinate based on a preset curve generation formula to obtain the target ray.

[0106] In this embodiment, in order to enrich the display style of the target ray, the bending shape of the target ray can be switched. Therefore, a first ray parameter can be obtained, wherein the first ray parameter comprises one or more of a target distance coefficient, a target normal direction, a target motion direction, and a target delay degree. The first ray parameter can be a preset parameter corresponding to the target display object triggered by the target ray at present, or can be set by the user according to actual needs, and the present disclosure does not limit this.

[0107] Since the third coordinate and the fourth coordinate are constructed based on one or more of the distance coefficient, the motion direction, the normal direction, and the display position, the real-time intersection point, and the delay intersection point corresponding to the remote control device, the bending shape of the target ray can be flexibly adjusted by adjusting one or more of the distance coefficient, the motion direction, and the normal direction.

[0108] Further, after the first ray parameter is obtained, the display positions of the third coordinate and the fourth coordinate can be adjusted based on the first ray parameter to obtain an updated third coordinate and an updated fourth coordinate. The first coordinate, the second coordinate, the updated third coordinate, and the updated fourth coordinate are processed based on a preset curve generation formula to obtain the target ray.

[0109] By adjusting the bending shape of the target ray, different hand feelings can be presented to the user, and the use experience in the user interaction process is improved.

[0110] The ray display method provided in this embodiment can flexibly switch the use hand feeling of the target ray by adjusting one or more of the target distance coefficient, the target normal direction, the target motion direction, and the target delay degree, so that the display style and the hand feeling of the target ray are more in line with the personalized needs of the user.

[0111] Figure 6 The flowchart of the ray display method provided in another embodiment of the present disclosure is based on any of the above embodiments, as shown in Figure 6As shown, the two-dimensional target ray is switched to a three-dimensional target ray, including:

[0112] In step 601, a second ray parameter is acquired, wherein the second ray parameter includes a target shape, a target map, and a target size.

[0113] In step 602, a sampling operation is performed on the two-dimensional target ray to obtain a plurality of sampling points corresponding to the target ray.

[0114] In step 603, a plurality of contour points are constructed on the plane where each sampling point is located based on the target shape and the target size.

[0115] In step 604, the plurality of contour points are connected in the order corresponding to each sampling point to obtain a three-dimensional contour corresponding to the target ray.

[0116] In step 605, the target map is added to the three-dimensional contour to obtain a three-dimensional target ray.

[0117] In this embodiment, in order to enrich the display style of the target ray, the two-dimensional target ray can also be adjusted to a three-dimensional display style. Therefore, a second ray parameter can be acquired, wherein the second ray parameter includes a target shape, a target map, and a target size. The second ray parameter can be a preset parameter corresponding to the target display object triggered by the target ray, or can be set by the user according to actual needs, and the present disclosure does not limit this.

[0118] Optionally, in order to make the shape of the obtained three-dimensional target ray the same as that of the original target ray, a sampling operation can be performed on the two-dimensional target ray to obtain a plurality of sampling points corresponding to the target ray. Any sampling method can be used to perform the sampling operation on the target ray, and the present disclosure does not limit this. The user can also adjust the number of sampling points according to actual needs.

[0119] After obtaining the plurality of sampling points, in order to present a three-dimensional display effect, a plurality of contour points can be constructed on the plane where each sampling point is located based on the target shape and the target size. The display position of each contour point can be determined based on the target shape, and the distance between each contour point and the sampling point can be determined based on the target size.

[0120] Further, in order to accurately represent the shape of the target ray, the order corresponding to each sampling point can also be determined during sampling. Then, the plurality of contour points can be connected in the order corresponding to each sampling point to obtain a three-dimensional contour corresponding to the target ray. During the connection process, the contour points at the same relative position can be connected in the order of the sampling points. After obtaining the three-dimensional contour, the target map can be added to the three-dimensional contour to obtain a three-dimensional target ray.

[0121] Figure 7 The three-dimensional contour diagram provided by the embodiments of the present disclosure, as shown in Figure 7 The three-dimensional contour 73 can be obtained by connecting the plurality of contour points 72 in the order of the sampling points 71.

[0122] The ray display method provided by the embodiments can obtain a plurality of sampling points by performing a sampling operation based on the second ray parameter, construct a plurality of contour points around the sampling points, and then obtain a three-dimensional contour matching the bending degree of the target ray line by connecting the contour points. By performing a mapping operation on the three-dimensional contour, a three-dimensional target ray can be obtained, the two-dimensional and three-dimensional switching is realized, and the target ray has more stereoscopic effect.

[0123] Further, based on any of the above embodiments, the method further comprises:

[0124] In response to a radius adjustment operation triggered by the user, target radius information is obtained.

[0125] The distance between the plurality of contour points and the sampling points is adjusted based on the target radius information to obtain updated plurality of contour points.

[0126] The updated plurality of contour points are connected in the order corresponding to each sampling point to obtain an updated three-dimensional contour.

[0127] The target map is added to the updated three-dimensional contour to obtain a three-dimensional target ray after radius adjustment.

[0128] In this embodiment, when the target ray is displayed in three-dimensional form, the user can adjust the radius of the three-dimensional target ray according to actual needs to make it show different display effects of thickness.

[0129] Optionally, in response to a radius adjustment operation triggered by the user, target radius information is obtained. The target radius information can be manually input by the user or selected by the user from a preset radius list.

[0130] After the target radius information is determined, the size of the three-dimensional target ray can be adjusted based on the target radius information. Since the radius of the three-dimensional target ray is determined based on the plurality of contour points, adjusting the distance between the plurality of contour points and the sampling points can achieve adjustment of the display radius of the three-dimensional target ray.

[0131] Optionally, the distance between the plurality of contour points and the sampling points can be adjusted based on the target radius information to obtain updated plurality of contour points. For example, if the target radius information is greater than the current radius information, the distance between the plurality of contour points and the sampling points can be increased according to the target radius information, and vice versa, the distance between the plurality of contour points and the sampling points can be reduced according to the target radius information.

[0132] Further, the updated plurality of contour points can be connected in the order corresponding to each sampling point to obtain an updated three-dimensional contour. The target map is added to the updated three-dimensional contour to obtain a three-dimensional target ray after radius adjustment.

[0133] The ray display method provided by the embodiment can adjust the three-dimensional target ray based on the radius adjustment operation triggered by the user, so that the display effect of the three-dimensional target ray is more in line with the personalized needs of the user, and the user experience is improved.

[0134] Figure 8 The structure diagram of the ray display device provided by the embodiment of the present disclosure is shown in Figure 8 The device includes a display module 81, a control module 82, and a switching module 83. The display module 81 is configured to display a preset remote control device and an interactive interface in a three-dimensional space, and construct a target ray between the remote control device and the interactive interface, the target ray being displayed in a preset display style. The control module 82 is configured to control the target ray to move following the remote control device in response to a movement operation of the remote control device triggered by a user. The switching module 83 is configured to switch the display style of the target ray when determining that the movement association information of the target ray during movement satisfies a preset switching condition.

[0135] Further, on the basis of any of the above embodiments, the display module is configured to determine a real-time intersection point and a historical intersection point between an original ray emitted by the remote control device and the interactive interface. Determine a delay intersection point based on the real-time intersection point, the historical intersection point, and a preset delay degree parameter. Construct the target ray according to the delay intersection point, the display position of the remote control device in the three-dimensional space, the position of the real-time intersection point, and a preset distance coefficient. The distance coefficient is used to represent the distance between the delay intersection point and the real-time intersection point.

[0136] Further, based on any of the above embodiments, the display module is configured to: determine a display position of the remote control device in the three-dimensional space as a first coordinate; determine a display position of the real-time intersection point as a second coordinate; determine a third coordinate based on a preset coordinate axis direction value in the display position corresponding to the remote control device and the distance coefficient; determine a fourth coordinate based on a difference between the real-time intersection point and the delayed intersection point, the distance coefficient, and one or more of the motion direction and the normal direction; and perform data processing on the first coordinate, the second coordinate, the third coordinate, and the fourth coordinate through a preset curve generation formula to obtain the target ray.

[0137] Further, based on any of the above embodiments, the display module is configured to: perform interpolation operation based on the coordinate information of the real-time intersection point, the coordinate information of the historical intersection point, and the delay degree parameter to obtain the delayed intersection point.

[0138] Further, based on any of the above embodiments, the movement-related information includes a movement speed and / or a movement amplitude and / or a movement distance of the target ray. The switching module is configured to: perform switching operation on the display style of the target ray when it is detected that the movement speed and / or the movement amplitude and / or the movement distance meet a preset switching condition.

[0139] Further, based on any of the above embodiments, the switching module is configured to: perform switching operation on a curved shape of the target ray. And / or, switch a two-dimensional target ray to a three-dimensional target ray.

[0140] Further, based on any of the above embodiments, the switching module is configured to: obtain a first ray parameter, wherein the first ray parameter includes one or more of a target distance coefficient, a target normal direction, a target motion direction, and a target delay degree; adjust the display position of the third coordinate and the fourth coordinate based on the first ray parameter to obtain an updated third coordinate and an updated fourth coordinate; and perform data processing on the first coordinate, the second coordinate, the updated third coordinate, and the updated fourth coordinate through a preset curve generation formula to obtain the target ray.

[0141] Further, on the basis of any of the above embodiments, the switching module is configured to: obtain second ray parameters, wherein the second ray parameters include a target shape, a target map, and a target size; sample the two-dimensional target ray to obtain a plurality of sampling points corresponding to the target ray; construct a plurality of contour points on a plane where each sampling point is located based on the target shape and the target size; connect the plurality of contour points in a sequence corresponding to the sampling points to obtain a three-dimensional contour corresponding to the target ray; and add the target map to the three-dimensional contour to obtain a three-dimensional target ray.

[0142] Further, on the basis of any of the above embodiments, the device further includes: an obtaining module configured to obtain target radius information in response to a user triggering a radius adjustment operation; an adjusting module configured to adjust distances between the plurality of contour points and the sampling points based on the target radius information to obtain updated plurality of contour points; a connecting module configured to connect the updated plurality of contour points in a sequence corresponding to the sampling points to obtain an updated three-dimensional contour; and an adding module configured to add the target map to the updated three-dimensional contour to obtain a three-dimensional target ray after radius adjustment.

[0143] The device provided in the embodiment can be used to execute the technical solutions of the above method embodiments, and has similar implementation principles and technical effects, which will not be described here again in the embodiment.

[0144] To implement the above embodiments, the disclosure embodiments further provide a computer readable storage medium, which stores computer execution instructions, and when a processor executes the computer execution instructions, a ray display method as described in any of the above embodiments is implemented.

[0145] To implement the above embodiments, the disclosure embodiments further provide a computer program product, which includes a computer program, and when a processor executes the computer program, a ray display method as described in any of the above embodiments is implemented.

[0146] To implement the above embodiments, the disclosure embodiments further provide an electronic device, which includes a processor and a memory.

[0147] The memory stores computer execution instructions.

[0148] The processor executes the computer execution instructions stored in the memory, so that the processor executes a ray display method as described in any of the above embodiments.

[0149] Figure 9 The structural schematic diagram of the electronic device provided in the disclosure embodiments is as follows: Figure 9As shown, the electronic device 900 can be a terminal device or a server. The terminal device can include, but is not limited to, mobile terminals such as mobile phones, laptops, digital radio receivers, personal digital assistants (PDAs), portable Android devices (PADs), portable media players (PMPs), and in-vehicle terminals (e.g., in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. Figure 9 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.

[0150] like Figure 9 As shown, the electronic device 900 may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage device 908 into a random access memory (RAM) 903. The RAM 903 also stores various programs and data required for the operation of the electronic device 900. The processing unit 901, ROM 902, and RAM 903 are interconnected via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.

[0151] Typically, the following devices can be connected to I / O interface 905: input devices 906 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 907 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 908 including, for example, magnetic tapes, hard disks, etc.; and communication devices 909. Communication device 909 allows electronic device 900 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 9 An electronic device 900 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.

[0152] In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts can be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a computer readable medium, the computer program comprising program code for performing the methods illustrated by the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via the communication device 909, or installed from the storage device 908, or installed from the ROM 902. When the computer program is executed by the processing device 901, the above-mentioned functions defined in the methods of the embodiments of the present disclosure are performed.

[0153] It should be noted that the computer readable medium described above in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination thereof. The computer readable storage medium, for example, can be, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or apparatus, or any suitable combination of the foregoing. More specific examples of the computer readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, 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 of the foregoing. In the present disclosure, the computer readable storage medium can be any tangible medium that contains or stores a program used or used in conjunction with an instruction execution system, device or apparatus. In the present disclosure, the computer readable signal medium can include a data signal carried in a baseband or as a part of a carrier wave, which carries computer readable program code. Such a propagated data signal can take various forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the foregoing. The computer readable signal medium can also be any computer readable medium other than the computer readable storage medium that can send, propagate or transmit a program for use by or in connection with an instruction execution system, device or apparatus. The program code contained in the computer readable medium can be transmitted by any suitable medium, including but not limited to a wire, a cable, a RF (radio frequency) or the like, or any suitable combination of the foregoing.

[0154] The computer readable medium described above can be included in the electronic device described above; or can exist separately and not be assembled into the electronic device.

[0155] The computer readable medium described above carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the methods shown in the above embodiments.

[0156] Computer program code for carrying out operations of the present disclosure can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).

[0157] The computer program instructions can also be loaded onto a computer or other programmable information processing apparatus to cause a series of operations to be performed on the computer or other programmable information processing apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable information processing apparatus implement the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0158] The units described in the embodiments of the present disclosure can be implemented by hardware, software, or a combination thereof. In some cases, the names of the units do not constitute a limitation on the units themselves. For example, the first obtaining unit can also be described as a unit that obtains at least two Internet protocol addresses.

[0159] The functions described in this specification can be performed at least in part by one or more hardware logic components. For example, and without limitation, illustrative types of hardware logic components that can be used include Field-programmable Gate Arrays (FPGAs), Program-specific Integrated Circuits (ASICs), Program-specific Standard Products (ASSPs), System-on-a-chip systems (SOCs), Complex Programmable Logic Devices (CPLDs), etc.

[0160] In the context of the present disclosure, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the machine-readable storage medium will include one or more of: a portable computer diskette, 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 of the foregoing.

[0161] In a first aspect, according to one or more embodiments of the present disclosure, a ray display method is provided, comprising:

[0162] displaying a preset remote control device and an interactive interface in a three-dimensional space, constructing a target ray between the remote control device and the interactive interface, and displaying the target ray in a preset display style;

[0163] in response to a movement operation triggered by a user on the remote control device, controlling the target ray to move following the remote control device;

[0164] when it is determined that movement-related information of the target ray during movement meets a preset switching condition, performing a switching operation on the display style of the target ray.

[0165] According to one or more embodiments of the present disclosure, the constructing a target ray between the remote control device and the interactive interface comprises:

[0166] determining a real-time intersection point and a historical intersection point between an original ray emitted by the remote control device and the interactive interface;

[0167] determining a delay intersection point based on the real-time intersection point, the historical intersection point, and a preset delay degree parameter;

[0168] constructing the target ray according to the delay intersection point, a display position of the remote control device in the three-dimensional space, a position of the real-time intersection point, and a preset distance coefficient;

[0169] wherein the distance coefficient is used to represent a distance between the delay intersection point and the real-time intersection point.

[0170] According to one or more embodiments of the present disclosure, the target ray is constructed according to the delay intersection point, the display position of the remote control device in the three-dimensional space, the position of the real-time intersection point, and a preset distance coefficient, and the method comprises the following steps:

[0171] The display position of the remote control device in the three-dimensional space is determined as a first coordinate;

[0172] The display position of the real-time intersection point is determined as a second coordinate;

[0173] A third coordinate is determined based on a preset coordinate axis direction value in the display position corresponding to the remote control device and the distance coefficient;

[0174] A fourth coordinate is determined based on one or more of the difference between the real-time intersection point and the delay intersection point, the distance coefficient, and the movement direction and normal direction;

[0175] The first coordinate, the second coordinate, the third coordinate, and the fourth coordinate are processed by a preset curve generation formula to obtain the target ray.

[0176] According to one or more embodiments of the present disclosure, the delay intersection point is determined based on the real-time intersection point, the historical intersection point, and a preset delay degree parameter, and the method comprises the following steps:

[0177] The delay intersection point is obtained by performing an interpolation operation based on the coordinate information of the real-time intersection point, the coordinate information of the historical intersection point, and the delay degree parameter.

[0178] According to one or more embodiments of the present disclosure, the movement-related information comprises a target intersection position between the target ray and the interactive interface;

[0179] When the movement-related information of the target ray during movement meets a preset switching condition, the display style of the target ray is switched, and the method comprises the following steps:

[0180] The currently selected target display object is determined in real time based on the target intersection position, wherein different display objects correspond to different ray parameters;

[0181] If the ray parameters corresponding to the currently selected target display object and the last selected display object are different, the display style of the target ray is switched based on the ray parameters corresponding to the currently selected target display object.

[0182] According to one or more embodiments of the present disclosure, the movement-related information comprises the movement speed and / or movement amplitude and / or movement distance of the target ray;

[0183] The display style of the target ray is switched when it is determined that the movement-related information of the target ray during movement meets preset switching conditions, and the switching operation includes:

[0184] The display style of the target ray is switched when it is determined that the movement-related information of the target ray during movement meets preset switching conditions, and the switching operation includes:

[0185] According to one or more embodiments of the present disclosure, the display style of the target ray is switched, and the switching operation includes:

[0186] The curved shape of the target ray is switched;

[0187] And / or;

[0188] The two-dimensional target ray is switched to a three-dimensional target ray.

[0189] According to one or more embodiments of the present disclosure, the curved shape of the target ray is switched, and the switching operation includes:

[0190] The first ray parameter is obtained, wherein the first ray parameter includes one or more of a target distance coefficient, a target normal direction, a target motion direction, and a target delay degree;

[0191] The display positions of the third coordinate and the fourth coordinate are adjusted based on the first ray parameter to obtain an updated third coordinate and an updated fourth coordinate;

[0192] The first coordinate, the second coordinate, the updated third coordinate, and the updated fourth coordinate are processed by a preset curve generation formula to obtain the target ray.

[0193] According to one or more embodiments of the present disclosure, the two-dimensional target ray is switched to a three-dimensional target ray, and the switching includes:

[0194] The second ray parameter is obtained, wherein the second ray parameter includes a target shape, a target map, and a target size;

[0195] The two-dimensional target ray is sampled to obtain a plurality of sampling points corresponding to the target ray;

[0196] A plurality of contour points are constructed on a plane where each sampling point is located based on the target shape and the target size;

[0197] The plurality of contour points are connected in an order corresponding to each sampling point to obtain a three-dimensional contour corresponding to the target ray;

[0198] The target map is added to the three-dimensional contour to obtain a three-dimensional target ray.

[0199] According to one or more embodiments of the present disclosure, the method further comprises:

[0200] obtaining target radius information in response to a user triggering a radius adjustment operation;

[0201] adjusting distances between the plurality of contour points and the sampling points based on the target radius information to obtain updated plurality of contour points;

[0202] connecting the updated plurality of contour points in an order corresponding to each sampling point to obtain an updated three-dimensional contour;

[0203] adding the target map on the updated three-dimensional contour to obtain a three-dimensional target ray after radius adjustment.

[0204] In a second aspect, according to one or more embodiments of the present disclosure, a ray display device is provided, comprising:

[0205] a display module configured to display a preset remote control device and an interactive interface in a three-dimensional space, and construct a target ray between the remote control device and the interactive interface, the target ray being displayed in a preset display style;

[0206] a control module configured to control the target ray to move following the remote control device in response to a user triggering a moving operation on the remote control device;

[0207] a switching module configured to switch a display style of the target ray when determining that a movement-related information of the target ray during movement satisfies a preset switching condition.

[0208] According to one or more embodiments of the present disclosure, the display module is configured to:

[0209] determine a real-time intersection point and a historical intersection point between an original ray emitted by the remote control device and the interactive interface;

[0210] determine a delay intersection point based on the real-time intersection point, the historical intersection point, and a preset delay degree parameter;

[0211] construct the target ray according to the delay intersection point, a display position of the remote control device in the three-dimensional space, a position of the real-time intersection point, and a preset distance coefficient;

[0212] The distance coefficient is used to represent a distance between the delay intersection point and the real-time intersection point.

[0213] According to one or more embodiments of the present disclosure, the display module is configured to:

[0214] determining a display position of the remote control device in the three-dimensional space as a first coordinate;

[0215] determining a display position of the real-time intersection point as a second coordinate;

[0216] determining a third coordinate based on a preset coordinate axis direction value in the display position corresponding to the remote control device and the distance coefficient;

[0217] determining a fourth coordinate based on one or more of the distance coefficient, the difference between the real-time intersection point and the delayed intersection point, and the movement direction and normal direction;

[0218] performing data processing on the first coordinate, the second coordinate, the third coordinate, and the fourth coordinate through a preset curve generation formula to obtain the target ray.

[0219] According to one or more embodiments of the present disclosure, the display module is configured to:

[0220] performing interpolation operation based on the coordinate information of the real-time intersection point, the coordinate information of the historical intersection point, and the delay degree parameter to obtain the delayed intersection point.

[0221] According to one or more embodiments of the present disclosure, the movement-related information includes a target intersection position between the target ray and the interactive interface.

[0222] The switching module is configured to:

[0223] determining a currently selected target display object in real time based on the target intersection position, wherein different display objects correspond to different ray parameters;

[0224] if the ray parameters corresponding to the currently selected target display object and the last selected display object are different, performing switching operation on the display style of the target ray based on the ray parameters corresponding to the currently selected target display object.

[0225] According to one or more embodiments of the present disclosure, the movement-related information includes a movement speed and / or a movement amplitude and / or a movement distance of the target ray.

[0226] The switching module is configured to:

[0227] when it is detected that the movement speed and / or the movement amplitude and / or the movement distance meet a preset switching condition, performing switching operation on the display style of the target ray.

[0228] According to one or more embodiments of the present disclosure, the switching module is configured to:

[0229] performing switching operation on the curved shape of the target ray.

[0230] and / or;

[0231] Switching the two-dimensional target ray into a three-dimensional target ray.

[0232] According to one or more embodiments of the present disclosure, the switching module is configured to:

[0233] obtain first ray parameters, wherein the first ray parameters include one or more of a target distance coefficient, a target normal direction, a target motion direction, and a target delay degree;

[0234] adjust a display position of the third coordinate and the fourth coordinate based on the first ray parameters to obtain updated third coordinates and updated fourth coordinates;

[0235] perform data processing on the first coordinate, the second coordinate, the updated third coordinate, and the updated fourth coordinate by using a preset curve generation formula to obtain the target ray.

[0236] According to one or more embodiments of the present disclosure, the switching module is configured to:

[0237] obtain second ray parameters, wherein the second ray parameters include a target shape, a target map, and a target size;

[0238] perform a sampling operation on the two-dimensional target ray to obtain a plurality of sampling points corresponding to the target ray;

[0239] construct a plurality of contour points on a plane where each sampling point is located based on the target shape and the target size;

[0240] connect the plurality of contour points in a sequence corresponding to the sampling points to obtain a three-dimensional contour corresponding to the target ray;

[0241] add the target map to the three-dimensional contour to obtain a three-dimensional target ray.

[0242] According to one or more embodiments of the present disclosure, the device further includes:

[0243] a obtaining module configured to obtain target radius information in response to a radius adjustment operation triggered by a user;

[0244] an adjusting module configured to adjust a distance between the plurality of contour points and the sampling points based on the target radius information to obtain updated plurality of contour points;

[0245] a connecting module configured to connect the updated plurality of contour points in a sequence corresponding to the sampling points to obtain an updated three-dimensional contour.

[0246] an adding module, configured to add the target map on the updated three-dimensional profile to obtain a three-dimensional target ray with a radius adjustment.

[0247] In a third aspect, according to one or more embodiments of the present disclosure, an electronic device is provided, comprising: at least one processor and a memory;

[0248] The memory stores computer-executable instructions;

[0249] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the ray display method as described in the above first aspect and various possible designs of the first aspect.

Claims

1. A method of displaying a ray, characterized by, include: A preset remote control device and interactive interface are displayed in a three-dimensional space. A target ray is constructed between the remote control device and the interactive interface. The target ray is constructed based on the intersection features of the original ray emitted by the remote control device and multiple intersection points of the interactive interface, the three-dimensional display position of the remote control device, and a preset distance coefficient, and is displayed in a preset display style. The intersection features include real-time intersection points, historical intersection points, and delayed intersection points between the original ray and the interactive interface. In response to a user's movement operation triggered by the remote control device, the target ray is controlled to follow the movement of the remote control device; When it is determined that the movement association information of the target ray during its movement meets the preset switching conditions, the display style of the target ray is switched.

2. The method of claim 1, wherein, The construction of the target ray between the remote control device and the interactive interface includes: Determine the real-time and historical intersection points between the original ray and the interactive interface; Delayed intersection points are determined based on the real-time intersection points, historical intersection points, and preset delay level parameters; The target ray is constructed based on the delayed intersection point, the display position of the remote control device in the three-dimensional space, the position of the real-time intersection point, the distance coefficient, the motion direction of the remote control device during the movement process, and the normal direction of the interactive interface. The distance coefficient is used to characterize the distance between the delayed intersection point and the real-time intersection point.

3. The method of claim 2, wherein, The step of constructing the target ray based on the delayed intersection point, the display position of the remote control device in the three-dimensional space, the position of the real-time intersection point, the distance coefficient, the motion direction of the remote control device during movement, and the normal direction of the interactive interface includes: The display position of the remote control device in the three-dimensional space is determined as the first coordinate. The display position of the real-time intersection point is determined as the second coordinate. The third coordinate is determined based on the preset coordinate axis direction value in the display position corresponding to the remote control device and the distance coefficient; The fourth coordinate is determined based on the difference between the real-time intersection point and the delayed intersection point, the distance coefficient, and one or more of the motion direction and the normal direction. The target ray is obtained by processing the first, second, third, and fourth coordinates using a preset curve generation formula.

4. The method of claim 2, wherein, The step of determining the delayed intersection point based on the real-time intersection point, historical intersection points, and preset delay level parameters includes: The delayed intersection point is obtained by interpolating based on the coordinate information of the real-time intersection point, the coordinate information of the historical intersection point, and the delay level parameter.

5. The method of claim 1, wherein, The motion association information includes the location of the target intersection point between the target ray and the interactive interface; When it is determined that the movement association information of the target ray during its movement meets the preset switching conditions, the display style of the target ray is switched, including: The currently selected target display object is determined in real time based on the position of the target intersection point, wherein different display objects correspond to different ray parameters; If the currently selected target display object corresponds to a ray parameter different from that of the last selected display object, a display style of the target ray is switched based on a ray parameter corresponding to the currently selected target display object.

6. The method of claim 1, wherein, The movement-related information includes a movement speed and / or a movement amplitude and / or a movement distance of the target ray. The switching operation on the display style of the target ray is performed when the movement-related information of the target ray during movement satisfies a preset switching condition, including: When the movement speed and / or the movement amplitude and / or the movement distance satisfy the preset switching condition, the display style of the target ray is switched.

7. The method according to any one of claims 1 to 6, characterized in that, The switching operation on the display style of the target ray includes: The curved shape of the target ray is switched; and / or; The two-dimensional target ray is switched to a three-dimensional target ray.

8. The method of claim 7, wherein, The switching operation on the curved shape of the target ray includes: A first ray parameter is obtained, wherein the first ray parameter includes one or more of a target distance coefficient, a target normal direction, a target motion direction, and a target delay degree; Based on the first ray parameter, the display positions of the third coordinate and the fourth coordinate are adjusted to obtain updated third and fourth coordinates; The first coordinate, the second coordinate, the updated third coordinate, and the updated fourth coordinate are processed by a preset curve generation formula to obtain the target ray.

9. The method of claim 7, wherein, The two-dimensional target ray is switched to a three-dimensional target ray, including: A second ray parameter is obtained, wherein the second ray parameter includes a target shape, a target map, and a target size; The two-dimensional target ray is sampled to obtain a plurality of sampling points corresponding to the target ray; Based on the target shape and the target size, a plurality of contour points are constructed on the plane where each sampling point is located; The plurality of contour points are connected in the order corresponding to each sampling point to obtain a three-dimensional contour corresponding to the target ray; The target map is added to the three-dimensional contour to obtain a three-dimensional target ray.

10. The method of claim 9, wherein, The method further includes: In response to a user-triggered radius adjustment operation, target radius information is obtained; Based on the target radius information, the distance between the plurality of contour points and the sampling points is adjusted to obtain updated plurality of contour points; The updated plurality of contour points are connected in the order corresponding to each sampling point to obtain an updated three-dimensional contour; The target map is added to the updated three-dimensional contour to obtain a three-dimensional target ray after radius adjustment.

11. A radiation display device, characterized by comprising: Including: A display module is configured to display a preset remote control device and an interactive interface in a three-dimensional space, construct a target ray between the remote control device and the interactive interface, and display the target ray in a preset display style, wherein the target ray is constructed based on an intersection feature between an original ray emitted by the remote control device and the interactive interface, a three-dimensional display position of the remote control device, and a preset distance coefficient; and the intersection feature includes real-time intersection, historical intersection, and delay intersection between the original ray and the interactive interface. A control module is configured to control the target ray to move following the remote control device in response to a user triggering a movement operation on the remote control device. A switching module is configured to switch a display style of the target ray when determining that movement-related information of the target ray during movement satisfies a preset switching condition.

12. An electronic device, comprising: Comprise: a processor and a memory; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, so that the processor executes the ray display method according to any one of claims 1 to 10.

13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, and when the processor executes the computer-executable instructions, the ray display method according to any one of claims 1 to 10 is realized.

14. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to realize the ray display method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Interaction method and device in virtual environment, equipment and storage medium

    CN116430990A