WO2024051633A1 - 场景视角调整方法、装置、终端及存储介质 - Google Patents

场景视角调整方法、装置、终端及存储介质 Download PDF

Info

Publication number
WO2024051633A1
WO2024051633A1 PCT/CN2023/116678 CN2023116678W WO2024051633A1 WO 2024051633 A1 WO2024051633 A1 WO 2024051633A1 CN 2023116678 W CN2023116678 W CN 2023116678W WO 2024051633 A1 WO2024051633 A1 WO 2024051633A1
Authority
WO
WIPO (PCT)
Prior art keywords
scene
adjustment
virtual device
perspective
adjusted
Prior art date
Application number
PCT/CN2023/116678
Other languages
English (en)
French (fr)
Inventor
孙文明
王冰洁
Original Assignee
北京有竹居网络技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京有竹居网络技术有限公司 filed Critical 北京有竹居网络技术有限公司
Publication of WO2024051633A1 publication Critical patent/WO2024051633A1/zh

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/60Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/23Input arrangements for video game devices for interfacing with the game device, e.g. specific interfaces between game controller and console

Definitions

  • the present disclosure relates to the field of computer application technology, for example, to a scene perspective adjustment method, device, terminal and storage medium.
  • Game scenes are one of the main components of the game.
  • the quality of game scene editing will directly affect the user's gaming experience.
  • the user can browse the currently edited game scene from different angles by adjusting the scene perspective in the game scene.
  • the present disclosure provides a scene perspective adjustment method, device, terminal and storage medium to achieve the effect of improving the flexibility of scene perspective adjustment.
  • Embodiments of the present disclosure provide a scene perspective adjustment method, where the method may include:
  • a pre-adjustment picture is displayed in the scene editor, and the pre-adjustment picture is a picture corresponding to the virtual device in the scene in the editing state from the perspective of the pre-adjustment scene;
  • the adjusted picture is displayed in the scene editor, wherein:
  • the adjusted picture is the picture corresponding to the virtual device under the adjusted scene perspective;
  • the pre-adjustment position is different from the post-adjustment position.
  • the pre-adjustment position is the position of the virtual device in the scene under the pre-adjustment scene perspective
  • the post-adjustment position is the post-adjustment scene position. The position of the virtual device in the scene from the perspective.
  • An embodiment of the present disclosure also provides a scene perspective adjustment device, wherein the device includes:
  • the scene editor display module is configured to display the scene editor, wherein the scene editor A pre-adjustment picture is displayed, and the pre-adjustment picture is a picture corresponding to the virtual device in the scene in the editing state from the perspective of the pre-adjustment scene;
  • a scene perspective adjustment module configured to respond to a virtual device adjustment operation and display the adjustment in the scene editor when the virtual device adjustment operation is used to adjust the position of the virtual device in the scene.
  • the rear picture wherein the adjusted picture is the picture corresponding to the virtual device under the adjusted scene perspective;
  • the pre-adjustment position is different from the post-adjustment position.
  • the pre-adjustment position is the position of the virtual device in the scene under the pre-adjustment scene perspective
  • the post-adjustment position is the post-adjustment scene position. The position of the virtual device in the scene from the perspective.
  • An embodiment of the present disclosure also provides a terminal, wherein the terminal includes:
  • processors one or more processors
  • memory configured to store one or more programs
  • the one or more processors are caused to implement the scene perspective adjustment method provided by any embodiment of the present disclosure.
  • An embodiment of the present disclosure also provides a computer-readable storage medium, wherein when the computer program is executed by a processor, the scene perspective adjustment method provided by any embodiment of the present disclosure is implemented.
  • Figure 1 is a schematic flowchart of a scene perspective adjustment method provided by an embodiment of the present disclosure
  • Figure 2a is a schematic interface diagram of a screen before adjustment provided by an embodiment of the present disclosure
  • Figure 2b is a schematic interface diagram of an adjusted screen 1 provided by an embodiment of the present disclosure
  • Figure 2c is a schematic interface diagram of an adjusted screen 2 provided by an embodiment of the present disclosure.
  • Figure 2d is a schematic interface diagram of a rotated screen provided by an embodiment of the present disclosure
  • Figure 2e is a schematic interface diagram of a post-positioning screen provided by an embodiment of the present disclosure.
  • Figure 3 is a schematic flowchart of another scene perspective adjustment method provided by an embodiment of the present disclosure.
  • Figure 4 is a schematic interface diagram of an orientation adjustment option provided by an embodiment of the present disclosure.
  • Figure 5 is a schematic flowchart of yet another scene perspective adjustment method provided by an embodiment of the present disclosure.
  • Figure 6 is a schematic structural diagram of a scene perspective adjustment device provided by an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a terminal provided by an embodiment of the present disclosure.
  • the term “include” and its variations are open-ended, that is, “including but not limited to.”
  • the term “based on” means “based at least in part on.”
  • the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one additional embodiment”; and the term “some embodiments” means “at least some embodiments”. Relevant definitions of other terms will be given in the description below.
  • Figure 1 is a schematic flowchart of a scene perspective adjustment method provided by an embodiment of the present disclosure.
  • the embodiment of the present disclosure is suitable for adjusting the scene perspective.
  • it can be applied to adjusting the scene perspective by adjusting the position of a virtual device in the scene. situation.
  • This method can be performed by a scene perspective adjustment device, which can be implemented in the form of software and/or hardware, optionally, through a terminal, which can be a mobile terminal or a Personal Computer (PC) terminal. etc., which may be a mobile terminal, such as a mobile phone or a tablet computer.
  • a scene perspective adjustment device which can be implemented in the form of software and/or hardware, optionally, through a terminal, which can be a mobile terminal or a Personal Computer (PC) terminal.
  • PC Personal Computer
  • the method includes the following steps.
  • the scene editor can be understood as a device for scene editing.
  • the scene being edited here in terms of scene type, can be a game scene, animation scene, movie scene or architectural scene, etc.; in terms of scene dimension, , it can be a two-dimensional (2D) scene or a three-dimensional (3D) scene; in terms of virtuality and reality of the scene, it can be a virtual scene.
  • the scene editor is displayed, and a pre-adjustment picture of the scene in an editing state is displayed in the scene editor.
  • Said scene It is a scene in editing state, that is, the scene has not been edited and cannot be applied directly at present. That is to say, the technical solutions explained in the embodiments of the present disclosure are applied to the scene editing stage.
  • the scene is a game scene
  • the game scene is in an editing state, which means that the game in which the game scene is located has not been edited yet and is not a game that can be directly played by players.
  • the virtual device can be understood as a virtual electronic device in the scene that can correspond to one or some pictures, for example, it can be a virtual camera, camera or camera, etc.
  • the picture before adjustment can be understood as the picture corresponding to the scene perspective of the virtual device before adjustment
  • the scene perspective before adjustment can be understood as the scene perspective that the virtual device currently has in the scene.
  • the scene perspective of the virtual device in the scene can be understood as the shooting perspective of the virtual device for the scene or the viewing perspective of the user (such as the scene editor user) for the scene, etc. .
  • the corresponding picture can be understood in many ways.
  • it can be a picture taken directly by the virtual device for the scene. That is, the picture before adjustment can be understood as the picture taken by the virtual device under the perspective of the scene before adjustment.
  • a picture taken directly from the scene for example, it can also be a picture in the scene directly provided by the server or terminal according to the position of the virtual device in the scene, that is, the picture before adjustment can be understood as the The server or the terminal directly provides a picture in the scene according to the position of the virtual device in the scene corresponding to the scene angle before adjustment; it can also be other understandings, which are not limited here.
  • the rest of the corresponding pictures in the following text, for example, the adjusted picture in S120 is the corresponding picture of the virtual device in the adjusted scene perspective, which can be understood by referring to several examples here, and will not be repeated again.
  • the virtual device adjustment operation when the virtual device adjustment operation is used to adjust the position of the virtual device in the scene, display the adjusted screen in the scene editor, wherein, The adjusted picture is the corresponding picture of the virtual device under the adjusted scene perspective.
  • the pre-adjusted position is different from the post-adjusted position.
  • the pre-adjusted position is the position of the virtual device under the pre-adjusted scene perspective.
  • the adjusted position is the position of the virtual device in the scene under the adjusted scene perspective.
  • the virtual device adjustment operation may be understood as an operation for adjusting the position or orientation of the virtual device in the scene.
  • the virtual device adjustment operation may be input in a variety of ways, such as touch input, key input, gesture input, or voice control input, which are not limited here.
  • the virtual device adjustment operation it is determined whether the virtual device adjustment operation is used to adjust the position of the virtual device in the scene or to adjust the orientation of the virtual device in the scene. Adjustment. If it is determined that the virtual device adjustment operation is used to adjust the position of the virtual device in the scene, the adjusted screen can be displayed in the scene editor, and the adjusted screen can be understood as the The corresponding picture of the virtual device under the adjusted scene perspective, the adjustment The adjusted scene angle can be understood as the scene angle that the virtual device currently has in the scene after position adjustment.
  • the pre-adjusted position of the virtual device in the scene under the pre-adjusted scene perspective and the adjusted position of the virtual device in the scene under the adjusted scene perspective are Different locations in said scene. That is to say, by adjusting the position of the virtual device in the scene, the scene perspective adjustment effect is achieved.
  • the straight line formed by the pre-adjustment position and the post-adjustment position is parallel to the pre-adjustment picture, perpendicular to the pre-adjustment picture, or obliquely intersecting the pre-adjustment picture.
  • the straight line when the straight line is parallel to the pre-adjustment picture, it means that the virtual device has moved on a parallel plane parallel to the pre-adjustment picture and including the pre-adjustment position, for example, it can be, Move up, down, left or right.
  • the straight line is perpendicular to the pre-adjusted picture, this means that the virtual device has moved in a direction perpendicular to the pre-adjusted picture. For example, it can be moved forward or backward.
  • the distance between the virtual device and the pre-adjusted picture has changed, so the post-adjusted picture can be understood as a picture after scaling the pre-adjusted picture.
  • the virtual device may be fixed on a scene object in the scene, and the orientation of the virtual device in the scene may be adjusted.
  • the embodiment of the present disclosure can adjust the virtual device to any position in any direction in the scene (for example, up, down, left, right, front or back, etc.). This makes the adjustable range of the scene perspective wider, thereby improving the flexibility of adjusting the scene perspective and allowing the user to browse the scene from any angle.
  • FIG. 2a shows the pre-adjustment screen displayed in the scene editor.
  • the terminal moves the virtual device to the left. Move to obtain the adjusted picture 1 shown in Figure 2b.
  • Figure 2a has the same meaning.
  • the terminal moves the virtual device backward to obtain the reduced adjusted image shown in Figure 2c Screen 2.
  • Figures 2a to 2c are the corresponding pictures when the virtual device faces the Z+ direction (Z+ as shown in the upper right corner of the figure), that is, the orientation of the virtual device in the scene has not changed. .
  • the technical solution of the embodiment of the present disclosure is to display a scene editor, which displays a pre-adjustment picture.
  • the pre-adjustment picture includes a corresponding picture of the virtual device in the scene in the editing state from the perspective of the pre-adjustment scene. ;
  • the adjusted picture in the scene editor, wherein the adjusted picture includes the virtual device under the adjusted scene perspective.
  • the technical solution of the embodiment of the present disclosure adjusts the scene perspective by adjusting the position of the virtual device in the scene during the scene editing stage, thereby improving the flexibility of scene perspective adjustment and better satisfying the user's requirements for the scene.
  • the viewing angle needs to be adjusted and the user experience is better.
  • the scene editor also displays a scene perspective positioning option, and the method further includes:
  • a post-positioning picture is displayed in the scene editor, wherein the post-positioning picture is the virtual device corresponding to the post-positioning scene perspective corresponding to the scene perspective positioning operation. picture.
  • one or more scene perspective positioning options can be displayed in the scene editor, and each of the scene perspective positioning options can correspond to respective positioning options.
  • the rear scene perspective can be, for example, the 45-degree perspective positioning option corresponds to the 45-degree perspective, the 2D perspective positioning option corresponds to the 2D perspective, the 90-degree perspective positioning option corresponds to the 90-degree perspective, or the orthogonal perspective positioning option corresponds to the orthogonal perspective wait.
  • At least two scene perspective positioning options can be represented by different icons.
  • Each of the icons can represent one of the scene perspective positioning options respectively; it can also be represented by the same icon.
  • the icon can be triggered to switch the icon to display different scene perspective positioning options. ; Wait, there is no limit here.
  • the scene perspective positioning operation can be understood as an operation input for the scene perspective positioning option and used to position the scene to the post-positioned scene perspective corresponding to the triggered scene perspective positioning option.
  • the input method for the scene perspective positioning operation can be multiple, for example, it can be touch input, key input, gesture input or voice control input, etc., which is not limited here; on this basis,
  • the input can be made by clicking, pressing, or sliding the scene perspective positioning option.
  • the triggered scene perspective positioning option in response to the received scene perspective positioning operation, determine the triggered scene perspective positioning option among the at least one scene perspective positioning option, thereby positioning the scene to the triggered scene.
  • the post-positioning scene perspective corresponding to the perspective positioning option, and the post-positioning picture of the scene in the post-positioning scene perspective is displayed in the scene editor, so that the user can view the post-positioning scene perspective Navigate down to the scene in question.
  • the scene angle positioning option can automatically position the scene to the corresponding scene angle after positioning, thereby achieving the effect of rapid scene angle positioning (ie, rapid adjustment). For example, click the 90-degree viewing angle lock option to display the corresponding screen of the virtual device in the 90-degree scene viewing angle in the scene editor.
  • the free perspective icon shown in the upper left corner of Figure 2b is the scene perspective positioning option.
  • the user can click this icon to switch the scene perspective positioning option to the remaining scene perspective positioning options.
  • the icon changes to the 90-degree viewing angle shown in Figure 2e.
  • the picture displayed in the scene editor also changes to the corresponding positioning picture under the 90-degree viewing angle ( Figure 2e shown).
  • the scene perspective lock option is also displayed in the scene editor, and the method further includes:
  • the method further includes:
  • the locked scene perspective includes the target scene perspective
  • the target scene perspective is the adjusted scene perspective of the virtual device in the scene obtained based on the virtual device adjustment operation.
  • the scene perspective locking option can be understood as an option for locking the scene in a scene perspective.
  • One or more scene perspective locking options are displayed in the scene editor.
  • Each scene The viewing angle locking options can respectively correspond to respective locked scene viewing angles.
  • the free viewing angle locking option corresponds to the free viewing angle
  • the 45-degree viewing angle locking option corresponds to the 45-degree viewing angle
  • the 2D viewing angle locking option corresponds to the 2D viewing angle
  • the 90-degree viewing angle corresponds to a 90-degree viewing angle
  • the orthogonal viewing angle lock option corresponds to an orthogonal viewing angle, etc.
  • the scene perspective locking option and the scene perspective positioning option mentioned above may be the same option, or they may be different options.
  • this option can not only position the scene perspective, but also play the role of scene perspective locking.
  • this option can quickly position the scene to the 2D perspective and lock the scene to the 2D perspective.
  • the scene perspective locking operation can be understood as an operation input for the scene perspective locking option and used to lock the scene to the locked scene perspective corresponding to the triggered scene perspective locking option.
  • the scene angle lock operation may be input in a variety of ways, such as touch input, key input, gesture input, or voice control input, which are not limited here.
  • the locked scene angle is determined.
  • the scene view after locking The angle may be a specific scene angle, or it may be a scene angle within a range.
  • the locked scene angle locks the virtual device to When looking down on the scene, the position of the virtual device in the scene is not limited on this basis, so the 90-degree viewing angle at this time is a viewing angle range.
  • the target scene perspective can be understood as the adjusted scene perspective of the virtual device in the scene after the position or orientation of the virtual device in the scene is adjusted based on the virtual device adjustment operation. Since the scene, or the virtual device in the scene, has been locked to the locked scene perspective, when the locked scene perspective includes the target scene perspective, that is, when the user When the triggered virtual device adjustment operation is adjusted in the locked scene perspective, the locked screen can be displayed in the scene editor, and the locked screen includes the virtual device in the target. The corresponding picture from the scene perspective.
  • the above technical solution is set up in such a way that during the scene editing process, the user sometimes needs to edit the scene in a specific scene perspective, but may leave the specific scene perspective when adjusting the virtual device, so in order to avoid this situation , the scene perspective can be locked, and when the target scene perspective is located at the specific scene perspective (ie, the scene perspective after locking), the virtual device can be adjusted by performing the user-triggered virtual device adjustment operation. Adjustment.
  • the user can adjust the virtual device at will; when the locked scene angle is a 45-degree angle, the user can only adjust the virtual device Rotate in the direction of the 45-degree viewing angle; when the scene viewing angle after locking is a 2D viewing angle, the user can only move the virtual device horizontally and not vertically; when the scene viewing angle after locking is a 90-degree viewing angle In this case, the user can only adjust the orientation of the virtual device to look down; and so on.
  • FIG. 3 is a schematic flowchart of another scene perspective adjustment method provided by an embodiment of the present disclosure; this embodiment is an addition to the adjustment operation in response to a virtual device described in the above embodiment.
  • the method includes the following steps.
  • the rotated picture is the corresponding picture of the virtual device under the rotated scene perspective
  • the pre-adjusted orientation is different from the post-adjusted orientation
  • the pre-adjusted orientation is the virtual device located under the pre-adjusted scene perspective.
  • the orientation in the scene, the adjusted orientation is located in the adjusted scene The orientation of the virtual device in the scene from the perspective.
  • the rotation can be displayed in the scene editor.
  • the rear picture, the rotated picture can be understood as the corresponding picture of the virtual device in the rotated scene perspective
  • the rotated scene perspective can be understood as the direction of the virtual device currently having in the scene after adjustment.
  • Scene perspective That is to say, the pre-adjusted orientation of the virtual device in the scene under the pre-adjusted scene perspective is the same as the adjusted orientation of the virtual device in the scene under the post-adjusted scene perspective.
  • Orientations are the different orientations in the scene. That is, by adjusting the orientation of the virtual device in the scene, the scene perspective adjustment effect is achieved.
  • the adjusted picture is the corresponding picture of the virtual device under the adjusted scene perspective.
  • the pre-adjusted position is different from the post-adjusted position.
  • the pre-adjusted position is the virtual device located under the pre-adjusted scene perspective.
  • the position in the scene, the adjusted position is the position of the virtual device in the scene under the adjusted scene perspective.
  • the adjusted picture 1 shown in the scene editor shown in Figure 2b is used as the pre-adjusted picture, that is, the virtual device is adjusted based on Figure 2b.
  • the terminal rotates the virtual device to the left to obtain the rotated screen shown in FIG. 2d.
  • Figure 2b and Figure 2d are pictures corresponding to the same position of the virtual device in the scene, that is, the position of the virtual device in the scene has not changed.
  • the technical solution of the embodiment of the present disclosure is to display the rotated picture in the scene editor when the virtual device adjustment operation is used to adjust the orientation of the virtual device in the scene. Combined with the remaining steps, it can be seen that the position or orientation of the virtual device in the scene can be adjusted according to the adjustment operation of the virtual device. The adjustment of the position and orientation in two dimensions improves the scene perspective adjustment. diversity.
  • the scene editor also displays an orientation adjustment option, and the method further includes:
  • the virtual device adjustment operation input for the orientation adjustment option is received.
  • the orientation of the virtual device in the scene can be adjusted by setting the orientation adjustment option.
  • the orientation adjustment option can be understood as an option for adjusting the orientation of the virtual device in the scene, that is, having a functional option to adjust the orientation of the virtual device in the scene.
  • One or more orientation adjustment options are displayed in the scene editor, and each orientation adjustment option may correspond to its own orientation.
  • Performance of the Orientation Adjustment Options The form can be preset according to scene requirements and is not limited here.
  • each orientation adjustment option can be represented by each face in the polyhedron, each item in the list, a single option or each candidate option in multiple options, etc., which is not limited here.
  • the orientation adjustment option is represented by multiple faces in the polyhedron, and the multiple faces correspond to different orientations in the scene;
  • the virtual device adjustment operation of receiving the input for the orientation adjustment option includes:
  • the method further includes:
  • the rotated picture is determined based on the orientation corresponding to the triggered surface among the plurality of surfaces.
  • the polyhedron can be understood as a solid surrounded by four or more polygons, such as a tetrahedron, a pentahedron, or a hexahedron (i.e., a cube), which is not limited here.
  • the orientation adjustment option may be represented by multiple faces in a polyhedron, and the multiple faces of the polyhedron may respectively correspond to different orientations in the scene. On this basis, the virtual device adjustment operation input for the plurality of faces may be received, and the triggered face among the multiple faces may be determined based on the virtual device adjustment operation.
  • the orientation of the virtual device can be adjusted by directly manipulating one face of the polyhedron, so that the rotated picture can be obtained based on the adjusted orientation of the virtual device.
  • the polyhedron is a cube.
  • Each face of the cube can respectively represent a direction in the spatial rectangular coordinate system (ie, XYZ coordinate system) established in the scene.
  • it can be , X+ direction, X- direction, Y+ direction, Y- direction, Z+ direction or Z- direction.
  • Figure 4 shows the effect of tiling the cube.
  • the user can directly click the Z+ face on the cube, and the terminal can respond to this click operation by adjusting the orientation of the virtual device from the Y+ direction to the Z+ direction, and changing the picture displayed in the scene editor to Figure 2b.
  • the scene editor also displays an orientation indicator icon, and the method further includes:
  • the presentation effect of the orientation indication icon is adjusted so that the orientation indicated by the adjusted orientation indication icon is the same as the adjusted orientation.
  • the orientation indication icon may be understood as an icon used to indicate the current orientation of the virtual device in the scene.
  • the orientation that the orientation indication icon can indicate includes at least one orthogonal viewing angle, and/or, the at least one orthogonal viewing angle is adjacent in the orientation. The 45-degree viewing angle between the two orthogonal viewing angles.
  • the orthogonal viewing angle can be the scene viewing angle in the X+ direction, X-direction, Y+ direction, Y-direction, Z+ direction or Z-direction; here, 45 degrees related to the X+ direction is used Taking the viewing angle as an example, the 45-degree viewing angle may be a 45-degree viewing angle between the orthogonal viewing angle in the X+ direction and the orthogonal viewing angle in the Y+ direction, Y-direction, Z+ direction or Z-direction.
  • the presentation effect of the orientation indication icon can be adjusted so that the orientation indicated by the adjusted orientation indication icon, Same orientation as described above.
  • the presentation effect can be expressed in a variety of ways, for example, it can be the icon style of the orientation indication icon or the icon content in the orientation indication icon.
  • the presentation effect is represented by the icon content as an example.
  • the icon content can be understood as text, letters or patterns used to identify the orientation.
  • the icon content of the multiple faces of the cube may be X+, X-, Y+, Y-, Z+ Or Z-, or east, west, south, north, pitch or tilt, etc.
  • the orientation indication icon can be understood by Z+ in the upper right corner of Figure 2b and Y+ in the upper right corner of Figure 2e.
  • the virtual device faces the Z+ direction, because based on the adjusted picture 1 shown in Figure 2b, the user triggered the free perspective icon, thereby positioning the scene to 90 degrees as shown in Figure 2e From the perspective of the perspective, the orientation of the virtual device has changed at this time, so the icon content in the orientation indication icon has also changed, from Z+ in Figure 2b to Y+ in Figure 2e.
  • FIG. 5 is a schematic flowchart of yet another scene perspective adjustment method provided by an embodiment of the present disclosure. This embodiment is an addition to the response to the virtual device adjustment operation described in the above embodiment.
  • the method includes the following steps.
  • the display screen may be a screen on a mobile terminal for displaying the scene editor, for example, it may be a mobile phone screen or a tablet screen.
  • the user can input the virtual device adjustment operation by touching the display screen, thereby improving the convenience of inputting the virtual device adjustment operation, thereby improving the convenience of inputting the virtual device adjustment operation. Improved the convenience of scene perspective adjustment.
  • the user can touch the display screen through body parts, such as fingers, or touch the display screen through external objects, such as a stylus, which is not limited here.
  • body parts such as fingers
  • a stylus which is not limited here.
  • the following description takes the user touching the display screen with a finger as an example, but this is not a limitation on the embodiments of the present disclosure.
  • the virtual device adjustment operation when the virtual device adjustment operation is used to adjust the position of the virtual device in the scene, display the adjusted screen in the scene editor, Wherein, the adjusted picture is a picture corresponding to the virtual device under the adjusted scene perspective.
  • the technical solution of the embodiment of the present disclosure is that by displaying the scene editor on the display screen, the user can input the virtual device adjustment operation by touching the display screen, thereby improving the convenience of inputting the virtual device adjustment operation, thereby improving the convenience of inputting the virtual device adjustment operation. Improved the convenience of scene perspective adjustment.
  • displaying the adjusted screen in the scene editor includes:
  • the adjusted screen is displayed in the scene editor.
  • the touch point can be understood as the point that acts on the display screen when the display screen is touched.
  • the touch point can be understood as the point that a finger acts on the display screen.
  • the operation mode of the adjustment operation may be, for example, when the number of touch points is one, the operation mode may be single-point operation; when the number of touch points is two, the operation mode may be double-point operation. Click Action.
  • the single-point operation may also be called a single-finger operation
  • the double-point operation may also be called a two-finger operation.
  • the operation mode of the virtual device adjustment operation is determined by determining the number of touch points acting on the display screen at the same time, so that the adjustment object of the virtual device adjustment operation can be accurately determined based on the operation mode. (ie, position or orientation), thereby achieving the effect of accurate judgment of the adjustment object.
  • the method also includes:
  • the operation adjustment strategy includes single-point rotation and two-point translation, or two-point rotation and single-point translation;
  • the operation adjustment policy and the operation mode it is determined whether the virtual device adjustment operation Used to adjust the position of the virtual device in the scene.
  • the operation adjustment policy can be understood as a preconfigured policy that indicates whether the corresponding virtual device adjustment policy is used to adjust position or orientation.
  • the operation adjustment strategy may include single-point rotation and two-point translation, or two-point rotation and single-point translation.
  • the single-point rotation and double-point translation can be understood as adjusting the orientation of the virtual device when the display screen is touched with a single point, and adjusting the virtual device when touching the display screen with two points.
  • the strategy for adjusting the position of the device; the situation of double-point rotation and single-point translation is similar and will not be described again here.
  • it may be determined according to the operation adjustment policy and the operation mode whether the virtual device adjustment operation is used to adjust the location of the virtual device.
  • the setting of the operation adjustment policy allows users to adjust the position and orientation of the virtual device according to their own operation habits, and the user experience is better.
  • the virtual device adjustment operation corresponding to the double-point operation is used to adjust the position of the virtual device in the scene.
  • Displaying the adjusted picture in the scene editor may include :
  • the distance between the two touch points acting on the display screen at different times can be determined. For example, assuming that the user keeps touching the display screen with two fingers for 2 seconds, a distance can be obtained every 1 second, thus obtaining 3 distances.
  • the position adjustment method is determined according to the distance difference between multiple distances.
  • the position adjustment method may include translation adjustment or zoom adjustment.
  • the translation adjustment may be understood as controlling the virtual device to adjust the position of the screen before the adjustment.
  • a method of adjusting the position of the virtual device by moving on a parallel plane that is parallel and includes the pre-adjustment position, and the scaling adjustment can be understood as controlling the virtual device in a direction perpendicular to the pre-adjustment picture.
  • the distance difference can be understood as the change value of the distance at different times. For example, continuing to take the above example as an example, three distances are now obtained (such as distance A, distance B, and distance C). , then the distance difference can be at least one of the difference between A and B, the difference between A and C, and the difference between B and C.
  • the pre-adjusted position is adjusted based on the position adjustment method to obtain the adjusted position, whereby the adjusted picture corresponding to the adjusted position can be displayed in the scene editor.
  • the above technical solutions can be By determining the change in distance between the two touch points, the position adjustment method used for the virtual device can be determined, thereby accurately realizing the position adjustment process of the virtual device.
  • determining the position adjustment method based on the distance difference between multiple distances may include:
  • the preset difference threshold can be understood as a preset threshold used to determine the position adjustment method. During the process of two fingers touching the display screen, it is difficult for the user to ensure that the distance between the two fingers will not change. Therefore, the preset difference threshold is not set to zero under normal circumstances.
  • the preset difference threshold can be preset according to scene requirements, and is not limited here.
  • the preset difference threshold may be 0.2cm, 0.3cm or 0.5cm, etc.
  • the numerical relationship may be that the distance difference exceeds or does not exceed the preset difference threshold.
  • the position adjustment method may be determined based on the numerical relationship between the distance difference and the preset difference threshold. For example, when the distance difference does not exceed the preset difference threshold, the position adjustment method is translation adjustment, otherwise it is zoom adjustment; for another example, when the distance difference exceeds the preset difference threshold, the position adjustment method is In the case of the preset difference threshold, the position adjustment method is zoom adjustment, otherwise it is translation adjustment. For the latter, optionally, when the distance difference is a positive value, the current display screen (that is, the currently displayed screen) can be enlarged; when the distance difference is a negative value, the current display screen can be reduced picture.
  • the above technical solution achieves accurate determination of the position adjustment method.
  • the operation adjustment strategy is single-finger rotation and two-finger translation
  • the virtual screen can be rotated based on the single-finger operation.
  • a camera determines the rotated picture corresponding to the rotated virtual camera, and displays the rotated picture in the scene editor.
  • the two-finger operation detected by the terminal is used to translate (i.e., move up, down, left, and right).
  • the virtual camera may translate the virtual camera based on the two-finger operation, determine the adjusted picture corresponding to the translated virtual camera, and display the adjusted picture.
  • the two-finger operation detected by the terminal is used to move the virtual camera back and forth.
  • the virtual camera can be moved back and forth based on the two-finger operation to determine the relationship between the two fingers.
  • the adjusted picture corresponding to the virtual camera after moving forward and backward is displayed in the scene editor.
  • the adjusted picture may also be called a zoomed picture.
  • the operation adjustment strategy is two-finger rotation and single-finger translation
  • the operation can be performed based on the single-finger operation.
  • Translate the virtual camera determine the adjusted picture corresponding to the translated virtual camera, and display the adjusted picture in the scene editor.
  • the two-finger operation detected by the terminal is used to rotate the virtual camera, and the rotation can be based on the two-finger operation.
  • the virtual camera determines the rotated picture corresponding to the rotated virtual camera, and displays the rotated picture on the display screen.
  • the two-finger operation detected by the terminal is used to move the virtual camera back and forth.
  • the virtual camera can be moved back and forth based on the two-finger operation to determine the relationship between the two fingers.
  • the adjusted picture corresponding to the virtual camera after moving forward and backward is displayed in the scene editor.
  • the adjusted picture may also be called a zoomed picture.
  • Figure 6 is a schematic structural diagram of a scene perspective adjustment device provided by an embodiment of the present disclosure. As shown in Figure 6, the device includes: a scene editor display module 410 and a scene perspective adjustment module 420.
  • the scene editor display module 410 is configured to display the scene editor, wherein the scene editor displays a pre-adjustment picture, and the pre-adjustment picture is the virtual device in the scene in the editing state before adjustment.
  • the scene perspective adjustment module 420 is configured to respond to a virtual device adjustment operation.
  • the virtual device adjustment operation is used to adjust the position of the virtual device in the scene, in the scene editor
  • the adjusted picture is displayed in , wherein the adjusted picture is the corresponding picture of the virtual device under the adjusted scene perspective;
  • the pre-adjustment position is different from the post-adjustment position.
  • the pre-adjustment position is the position of the virtual device in the scene under the pre-adjustment scene perspective
  • the post-adjustment position is the post-adjustment scene position. The position of the virtual device in the scene from the perspective.
  • the technical solution of the embodiment of the present disclosure displays the scene editor through the scene editor display module 410.
  • the scene editor displays a pre-adjustment picture.
  • the pre-adjustment picture is the virtual device in the scene in the editing state.
  • the corresponding picture in the scene perspective before adjustment; the scene perspective adjustment module 420 responds to the virtual device adjustment operation, and when the virtual device adjustment operation is used to adjust the position of the virtual device in the scene,
  • the adjusted picture is displayed in the scene editor, wherein the adjusted picture includes the corresponding picture of the virtual device in the adjusted scene perspective, and the position of the virtual device in the pre-adjusted scene perspective.
  • the pre-adjusted position in the scene is different from the adjusted position of the virtual device in the scene under the perspective of the adjusted scene.
  • the above device during the scene editing stage, adjusts the scene perspective by adjusting the position of the virtual device in the scene, thereby improving the flexibility of scene perspective adjustment and better meeting the user's adjustment needs for the scene perspective. Better user experience.
  • the straight line formed by the pre-adjustment position and the post-adjustment position is parallel to the pre-adjustment image, perpendicular to the pre-adjustment image, or obliquely intersecting the pre-adjustment image.
  • the scene perspective adjustment device also includes: an orientation adjustment module;
  • the orientation adjustment module is configured to, after responding to a virtual device adjustment operation, when the virtual device adjustment operation is used to adjust the orientation of the virtual device in the scene, in the scene The rotated image is displayed in the editor;
  • the rotated picture is the corresponding picture of the virtual device under the rotated scene perspective
  • the pre-adjusted orientation is different from the post-adjusted orientation
  • the pre-adjusted orientation is the virtual device located under the pre-adjusted scene perspective.
  • the orientation in the scene, the adjusted orientation is the orientation of the virtual device in the scene from the perspective of the adjusted scene.
  • the scene editor also displays an orientation adjustment option
  • the scene perspective adjustment device further includes: a virtual device adjustment operation receiving module;
  • the virtual device adjustment operation receiving module is configured to receive the virtual device adjustment operation input for the orientation adjustment option.
  • the orientation adjustment option is represented by multiple faces in the polyhedron, and the multiple faces correspond to different orientations in the scene;
  • the virtual device adjustment operation receiving module is set to:
  • the scene perspective adjustment device also includes: a rotated picture determination module;
  • the rotated picture determination module is configured to determine the rotated picture based on the orientation corresponding to the triggered surface among the plurality of surfaces after responding to the virtual device adjustment operation.
  • the scene editor also displays an orientation indication icon
  • the scene perspective adjustment device further includes: a presentation effect adjustment module
  • the presentation effect adjustment module is configured to adjust the presentation effect of the orientation indication icon when the rotated picture is displayed, so that the orientation indicated by the adjusted orientation indication icon is consistent with the orientation indicated by the orientation indication icon.
  • the orientation is the same after adjustment.
  • the orientation that the orientation indication icon may indicate includes at least one orthogonal viewing angle, and/or a 45-degree viewing angle between two orthogonal viewing angles that are adjacent in the orientation in the at least one orthogonal viewing angle.
  • the scene perspective positioning option is also displayed in the scene editor, and the scene perspective adjustment device also includes: a scene perspective positioning operation receiving module and a post-positioning picture display module;
  • the scene perspective positioning operation receiving module is configured to receive positioning operation for the scene perspective. Scene perspective positioning operation with bit option input;
  • the post-positioning picture display module is configured to display a post-positioning picture in the scene editor in response to the scene perspective positioning operation, wherein the post-positioning picture is the virtual device after positioning with the scene perspective.
  • a scene perspective lock option is also displayed in the scene editor, and the scene perspective adjustment device further includes: a locked scene perspective determination module and a locked picture display module;
  • the locked scene angle determination module is configured to determine the locked scene angle corresponding to the triggered scene angle lock option in response to a scene angle lock operation input for the scene angle lock option;
  • the locked screen display module is configured to display the locked screen in the scene editor when the locked scene perspective includes the target scene perspective after the virtual device adjustment operation, wherein , the locked picture is a picture corresponding to the virtual device in the target scene perspective, and the target scene perspective is the adjusted image of the virtual device in the scene obtained based on the virtual device adjustment operation. Scene perspective.
  • the scene editor display module 410 is set to:
  • the scene perspective adjustment device also includes: a virtual device adjustment operation receiving module;
  • the virtual device adjustment operation receiving module is configured to receive the virtual device adjustment operation input by touching the display screen before the response to the virtual device adjustment operation.
  • the scene perspective adjustment module 420 includes: an operation mode determination sub-module and an adjusted picture display sub-module;
  • the operation mode determination sub-module is configured to determine the number of touch points acting on the display screen at the same time, and determine the operation mode of the virtual device adjustment operation based on the number, wherein the operation mode includes Single point operation or double point operation;
  • the adjusted picture display sub-module is configured to, in the case where it is determined that the virtual device adjustment operation is used to adjust the position of the virtual device in the scene according to the operation mode, in the scene editing
  • the adjusted image is displayed in the device.
  • the scene perspective adjustment device further includes: an operation adjustment strategy acquisition module and a position adjustment determination module;
  • the operation adjustment strategy acquisition module is configured to obtain a preconfigured operation adjustment strategy, wherein the operation adjustment strategy includes single-point rotation and two-point translation, or two-point rotation and single-point translation;
  • the position adjustment determination module is configured to adjust the strategy according to the operation and the operation mode, Determine whether the virtual device adjustment operation is used to adjust the position of the virtual device in the scene.
  • the virtual device adjustment operation corresponding to the double-point operation is used to adjust the position of the virtual device in the scene.
  • the adjusted screen display sub-module may include: the distance between the touch points Determination unit, position adjustment method determination unit, adjusted picture determination unit and adjusted picture display unit.
  • the touch point distance determination unit is configured to determine the distance between the two touch points acting on the display screen at different times
  • the position adjustment method determining unit is configured to determine the position adjustment method according to the distance difference between multiple distances, wherein the position adjustment method includes translation adjustment or zoom adjustment;
  • the adjusted picture determining unit is configured to adjust the pre-adjusted position based on the position adjustment method, obtain the adjusted position, and determine the adjusted picture corresponding to the adjusted position;
  • the adjusted picture display unit is configured to display the adjusted picture in the scene editor.
  • the position adjustment mode determination unit is set to:
  • the scene includes a game scene.
  • the scene perspective adjustment device provided by the embodiments of the present disclosure can execute the scene perspective adjustment method provided by any embodiment of the present disclosure, and has corresponding functional modules and effects for executing the method.
  • the multiple units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned divisions, as long as they can achieve the corresponding functions; in addition, the names of the multiple functional units are only for the convenience of distinguishing each other. , are not used to limit the protection scope of the embodiments of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a terminal provided by an embodiment of the present disclosure.
  • Terminal devices in embodiments of the present disclosure may include mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (Personal Digital Assistant, PDA), tablet computers (Portable Android Device, PAD), portable multimedia players (Portable Media Player, PMP), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and the like, as well as fixed terminals such as digital televisions (television, TV), desktop computers, and the like.
  • PDA Personal Digital Assistant
  • PAD Portable multimedia players
  • PMP Portable Media Player
  • vehicle-mounted terminals such as vehicle-mounted navigation terminals
  • fixed terminals such as digital televisions (television, TV), desktop computers, and the like.
  • the terminal shown in FIG. 7 is only an example and should not impose any restrictions on the functions and scope of use of the embodiments of the present disclosure.
  • the terminal 500 may include a processing device (such as a central processing unit, a graphics processor, etc.) 501.
  • the processing device 501 may process data according to a program stored in a read-only memory (Read-Only Memory, ROM) 502 or from a storage device.
  • the device 508 loads a program in the random access memory (Random Access Memory, RAM) 503 to perform a variety of appropriate actions and processes.
  • RAM Random Access Memory
  • various programs and data required for the operation of the terminal 500 are also stored.
  • the processing device 501, ROM 502 and RAM 503 are connected to each other via a bus 504.
  • An input/output (I/O) interface 505 is also connected to bus 504.
  • the following devices can be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speaker , an output device 507 such as a vibrator; a storage device 508 including a magnetic tape, a hard disk, etc.; and a communication device 509.
  • input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.
  • LCD liquid crystal display
  • speaker an output device 507 such as a vibrator
  • storage device 508 including a magnetic tape, a hard disk, etc.
  • the communication device 509 may allow the terminal 500 to communicate wirelessly or wiredly with other devices to exchange data.
  • FIG. 7 illustrates terminal 500 with a variety of devices, it should be understood that implementation or availability of all illustrated devices is not required. More or fewer means may alternatively
  • embodiments of the present disclosure include a computer program product including a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the method illustrated in the flowchart.
  • the computer program may be downloaded and installed from the network via communication device 509, or from storage device 508, or from ROM 502.
  • the processing device 501 When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.
  • the terminal provided by the embodiment of the present disclosure and the scene perspective adjustment method provided by the above embodiment belong to the same disclosed concept.
  • Technical details not described in this embodiment can be referred to the above embodiment, and this embodiment has the same effect as the above embodiment. .
  • Embodiments of the present disclosure provide a computer storage medium on which a computer program is stored.
  • the computer program is executed by a processor, the scene perspective adjustment method provided in the above embodiments is implemented.
  • the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two.
  • the computer-readable storage medium may be, for example, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof.
  • Computer-readable storage media may include: an electrical connection having one or more wires, portable computer disks, hard drives, RAM, ROM, Erasable Programmable Read-Only Memory (EPROM), flash memory, fiber optics , portable compact disk read-only memory (Compact Disc Read-Only Memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take many forms, including electromagnetic signals, optical signals, or any suitable combination of the above.
  • a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device .
  • Program code contained on a computer-readable medium can be transmitted using any appropriate medium, including: wires, optical cables, radio frequency (Radio Frequency, RF), etc., or any suitable combination of the above.
  • the storage medium may be a non-transitory storage medium.
  • the client and server can communicate using any currently known or future developed network protocol, such as HyperText Transfer Protocol (HTTP), and can communicate with digital data in any form or medium.
  • HTTP HyperText Transfer Protocol
  • Communications e.g., communications network
  • Examples of communication networks include Local Area Networks (LANs), Wide Area Networks (WANs), the Internet (e.g., the Internet), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any current network for knowledge or future research and development.
  • LANs Local Area Networks
  • WANs Wide Area Networks
  • the Internet e.g., the Internet
  • end-to-end networks e.g., ad hoc end-to-end networks
  • the above-mentioned computer-readable medium may be included in the above-mentioned terminal; it may also exist separately without being assembled into the terminal.
  • the computer-readable medium carries one or more programs.
  • the terminal displays a scene editor, wherein the scene editor displays the pre-adjustment picture, so
  • the above-mentioned picture before adjustment is the picture corresponding to the virtual device in the scene in editing state from the perspective of the scene before adjustment;
  • the adjusted picture is displayed in the scene editor, wherein:
  • the adjusted picture is the picture corresponding to the virtual device under the adjusted scene perspective;
  • the pre-adjustment position is different from the post-adjustment position.
  • the pre-adjustment position is the position of the virtual device in the scene under the pre-adjustment scene perspective
  • the post-adjustment position is the post-adjustment scene position. The position of the virtual device in the scene from the perspective.
  • Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional Procedural programming language—such as "C" or a similar programming language.
  • the program code may 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 a remote computer or server.
  • the remote computer may be connected to the user computer through any kind of network, including a LAN or WAN, or may be connected to an external computer (eg, through the Internet using an Internet service provider).
  • each block in the flowchart or block diagram may represent a module, segment, or portion of code that contains one or more logic functions that implement the specified executable instructions.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown one after another may actually execute substantially in parallel, or they may sometimes execute in the reverse order, depending on the functionality involved.
  • Each block in the block diagram and/or flowchart illustration, and combinations of blocks in the block diagram and/or flowchart illustration may be implemented by special purpose hardware-based systems that perform the specified functions or operations, or may be implemented using special purpose hardware implemented in combination with computer instructions.
  • the units involved in the embodiments of the present disclosure can be implemented in software or hardware.
  • the name of the unit does not constitute a limitation on the unit itself in one case.
  • the scene editor display module can also be described as "displaying the scene editor, wherein the scene editor displays the adjusted The picture before adjustment is the picture corresponding to the virtual device in the scene in the editing state from the perspective of the scene before adjustment.”
  • FPGA Field Programmable Gate Array
  • ASIC Application Specific Integrated Circuit
  • ASSP Application Specific Standard Parts
  • SOC System on Chip
  • CPLD Complex Programmable Logic Device
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with an instruction execution system, apparatus, or device.
  • the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • Machine-readable media may include electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing.
  • Machine-readable storage media includes one or more wire-based electrical connections, portable computer disks, hard drives, RAM, ROM, EPROM, flash memory, fiber optics, portable CD-ROMs, optical storage devices, magnetic storage devices, or the above any suitable combination of content.
  • Example 1 provides a scene perspective adjustment method. laws, including:
  • a pre-adjustment picture is displayed in the scene editor, and the pre-adjustment picture is a picture corresponding to the virtual device in the scene in the editing state from the perspective of the pre-adjustment scene;
  • the adjusted picture is displayed in the scene editor, wherein:
  • the adjusted picture is the picture corresponding to the virtual device under the adjusted scene perspective;
  • the pre-adjustment position is different from the post-adjustment position.
  • the pre-adjustment position is the position of the virtual device in the scene under the pre-adjustment scene perspective
  • the post-adjustment position is the post-adjustment scene position. The position of the virtual device in the scene from the perspective.
  • Example 2 provides the method of Example 1, where the straight line formed by the pre-adjusted position and the post-adjusted position is parallel to the pre-adjusted image and perpendicular to the adjusted The front screen, or obliquely intersected with the adjusted front screen.
  • Example 3 provides the method of Example 1, further including:
  • the rotated picture is the corresponding picture of the virtual device under the rotated scene perspective
  • the pre-adjusted orientation is different from the post-adjusted orientation
  • the pre-adjusted orientation is the virtual device located under the pre-adjusted scene perspective.
  • the orientation in the scene, the adjusted orientation is the orientation of the virtual device in the scene from the perspective of the adjusted scene.
  • Example 4 provides the method of Example 3, the scene editor also displays an orientation adjustment option, and the method further includes:
  • the virtual device adjustment operation input for the orientation adjustment option is received.
  • Example 5 provides the method of Example 4.
  • the orientation adjustment option is represented by multiple faces in a polyhedron, and the multiple faces correspond to the orientation in the scene. different orientations;
  • the virtual device adjustment operation of receiving the input for the orientation adjustment option includes:
  • the method further includes:
  • the rotated picture is determined based on the orientation corresponding to the triggered surface among the plurality of surfaces.
  • Example 6 provides the method of Example 3, so The scene editor also displays an orientation indicator icon, and the method further includes:
  • the presentation effect of the orientation indication icon is adjusted so that the orientation indicated by the adjusted orientation indication icon is the same as the adjusted orientation.
  • Example 7 provides the method of Example 6, the orientation that the orientation indication icon can indicate includes at least one orthogonal viewing angle, and/or the at least one orthogonal viewing angle The 45-degree viewing angle between two adjacent orthogonal viewing angles in the orientation.
  • Example 8 provides the method of Example 1.
  • the scene editor also displays a scene perspective positioning option.
  • the method further includes:
  • a post-positioning picture is displayed in the scene editor, wherein the post-positioning picture is the virtual device corresponding to the post-positioning scene perspective corresponding to the scene perspective positioning operation. picture.
  • Example 9 provides the method of Example 1.
  • the scene editor also displays a scene perspective lock option, and the method further includes:
  • the method further includes:
  • the locked scene perspective includes the target scene perspective
  • the target scene perspective is the adjusted scene perspective of the virtual device in the scene obtained based on the virtual device adjustment operation.
  • Example 10 provides the method of Example 1, where the display scene editor includes:
  • the method further includes:
  • the virtual device adjustment operation input by touching the display screen is received.
  • Example 11 provides the method of Example 10, where the virtual device adjustment operation is used to adjust the position of the virtual device in the scene.
  • the adjusted picture is displayed in the scene editor, including:
  • the adjusted screen is displayed in the scene editor.
  • Example 12 provides the method of Example 11, which further includes:
  • the operation adjustment strategy includes single-point rotation and two-point translation, or two-point rotation and single-point translation;
  • the operation adjustment policy and the operation mode it is determined whether the virtual device adjustment operation is used to adjust the position of the virtual device in the scene.
  • Example 13 provides the method of Example 11, and the virtual device adjustment operation corresponding to the double-point operation is used to adjust the virtual device in the scene. Adjust the position, and display the adjusted picture in the scene editor, including:
  • Example 14 provides the method of Example 13, which determines a position adjustment method based on distance differences between multiple distances, including:
  • Example 15 provides the method of Example 1, and the scene includes a game scene.
  • Example 16 provides a scene perspective adjustment device, including:
  • the scene editor display module is configured to display the scene editor, wherein the scene editor displays a pre-adjustment picture, and the pre-adjustment picture corresponds to the virtual device in the scene in the editing state under the pre-adjustment scene perspective. picture;
  • the scene perspective adjustment module is configured to respond to a virtual device adjustment operation.
  • the virtual device adjustment operation is used to adjust the position of the virtual device in the scene, in the scene
  • the adjusted picture is displayed in the scene editor, wherein the adjusted picture is the corresponding picture of the virtual device under the adjusted scene perspective;
  • the pre-adjustment position is different from the post-adjustment position.
  • the pre-adjustment position is the position of the virtual device in the scene under the pre-adjustment scene perspective
  • the post-adjustment position is the post-adjustment scene position. The position of the virtual device in the scene from the perspective.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Processing Or Creating Images (AREA)

Abstract

一种场景视角调整方法、装置、终端及存储介质。该方法包括:展示场景编辑器,其中,场景编辑器中展示有调整前画面,调整前画面是处于编辑状态的场景中的虚拟设备在调整前场景视角下对应的画面(S110);响应于虚拟设备调整操作,在该虚拟设备调整操作用于对虚拟设备在场景中的位置进行调整的情况下,于场景编辑器中展示调整后画面;其中,调整前位置与调整后位置不同,调整前位置是位于调整前场景视角下的虚拟设备在场景中的位置,调整后位置是位于调整后场景视角下的虚拟设备在场景中的位置(S120)。

Description

场景视角调整方法、装置、终端及存储介质
本申请要求在2022年09月06日提交中国专利局、申请号为202211096798.5的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。
技术领域
本公开涉及计算机应用技术领域,例如涉及一种场景视角调整方法、装置、终端及存储介质。
背景技术
随着智能移动设备的不断普及以及游戏开发技术的不断提高,游戏已成为越来越多的人们在休闲娱乐时的主要选择。
游戏场景是游戏中的主要组成之一,游戏场景编辑的优良将会直接影响到用户的游戏体验。为了确认当前编辑的游戏场景是否符合预期,用户可通过调整游戏场景中的场景视角的方式,来从不同角度浏览该当前编辑的游戏场景。
但是,相关技术中采用的场景视角调整方案,无法较好的满足用户对于场景视角的调整需求,用户体验不佳。
发明内容
本公开提供一种场景视角调整方法、装置、终端及存储介质,以实现提高场景视角调整的灵活性的效果。
本公开实施例提供了一种场景视角调整方法,其中,该方法可包括:
展示场景编辑器,其中,所述场景编辑器中展示有调整前画面,所述调整前画面是处于编辑状态的场景中的虚拟设备在调整前场景视角下对应的画面;
响应于虚拟设备调整操作,在所述虚拟设备调整操作用于对所述虚拟设备在所述场景中的位置进行调整的情况下,于所述场景编辑器中展示调整后画面,其中,所述调整后画面是所述虚拟设备在调整后场景视角下对应的画面;
其中,调整前位置与调整后位置不同,所述调整前位置是位于所述调整前场景视角下的所述虚拟设备在所述场景中的位置,所述调整后位置是位于所述调整后场景视角下的所述虚拟设备在所述场景中的位置。
本公开实施例还提供了一种场景视角调整装置,其中,该装置包括:
场景编辑器展示模块,设置为展示场景编辑器,其中,所述场景编辑器中 展示有调整前画面,所述调整前画面是处于编辑状态的场景中的虚拟设备在调整前场景视角下对应的画面;
场景视角调整模块,设置为响应于虚拟设备调整操作,在所述虚拟设备调整操作用于对所述虚拟设备在所述场景中的位置进行调整的情况下,于所述场景编辑器中展示调整后画面,其中,所述调整后画面是所述虚拟设备在调整后场景视角下对应的画面;
其中,调整前位置与调整后位置不同,所述调整前位置是位于所述调整前场景视角下的所述虚拟设备在所述场景中的位置,所述调整后位置是位于所述调整后场景视角下的所述虚拟设备在所述场景中的位置。
本公开实施例还提供了一种终端,其中,该终端包括:
一个或多个处理器;
存储器,设置为存储一个或多个程序;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现本公开任意实施例所提供的场景视角调整方法。
本公开实施例还提供了一种计算机可读存储介质,其中,所述计算机程序被处理器执行时实现本公开任意实施例所提供的场景视角调整方法。
附图说明
图1是本公开实施例所提供的一种场景视角调整方法的流程示意图;
图2a是本公开实施例所提供的一种调整前画面的界面示意图;
图2b是本公开实施例所提供的一种调整后画面1的界面示意图;
图2c是本公开实施例所提供的一种调整后画面2的界面示意图;
图2d是本公开实施例所提供的一种旋转后画面的界面示意图;
图2e是本公开实施例所提供的一种定位后画面的界面示意图;
图3是本公开实施例所提供的另一种场景视角调整方法的流程示意图;
图4是本公开实施例所提供的一种朝向调整选项的界面示意图;
图5是本公开实施例所提供的又一种场景视角调整方法的流程示意图;
图6是本公开实施例所提供的一种场景视角调整装置的结构示意图;
图7是本公开实施例所提供的一种终端的结构示意图。
具体实施方式
下面将参照附图描述本公开的实施例。虽然附图中显示了本公开的一些实施例,然而,本公开可以通过多种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了理解本公开。本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。
本公开的方法实施方式中记载的多个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,除非在上下文另有指出,否则应该理解为“一个或多个”。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
图1为本公开实施例所提供的一种场景视角调整方法的流程示意图,本公开实施例适用于场景视角调整的情形,例如可适用于通过调整虚拟设备在场景中的位置来调整场景视角的情形。该方法可以由场景视角调整装置来执行,该装置可通过软件和/或硬件的形式实现,可选的,通过终端来实现,该终端可以是移动终端或是个人电脑(Personal Computer,PC)端等,可以是移动终端,例如可以是,手机或平板电脑等。
如图1所示,所述方法包括以下步骤。
S110、展示场景编辑器,其中,所述场景编辑器中展示有调整前画面,所述调整前画面是处于编辑状态的场景中的虚拟设备在调整前场景视角下对应的画面。
其中,所述场景编辑器可以理解为用于进行场景编辑的装置,这里被编辑的场景,从场景类型而言,可以是游戏场景、动漫场景、电影场景或建筑场景等;从场景维度而言,可以是二维(two dimension,2D)场景或是三维(three dimension,3D)场景;从场景虚实而言,可以是虚拟场景。展示所述场景编辑器,在所述场景编辑器中展示有处于编辑状态的场景的调整前画面。所述场景 是处于编辑状态的场景,即所述场景还未编辑完成,当前无法直接应用。也就是说,在本公开实施例中阐述的技术方案应用于场景编辑阶段。示例性的,这里以所述场景是游戏场景为例,所述游戏场景正处于编辑状态,这意味着所述游戏场景所在的游戏当前并没有编辑完成,并非是可供玩家直接游玩的游戏。
所述虚拟设备可以理解为所述场景中的虚拟的可对应于一个或是一些画面的电子设备,例如可以是,虚拟的摄像机、相机或摄像头等。所述调整前画面可理解为所述虚拟设备在调整前场景视角下对应的画面,所述调整前场景视角可以理解为所述虚拟设备在所述场景中当前具有的场景视角。本公开实施例中,所述虚拟设备在所述场景中具有的场景视角可以理解为所述虚拟设备针对所述场景的拍摄视角或是用户(例如场景编辑用户)对于所述场景的观看视角等。
所述对应的画面可以有多种理解,例如可以是,所述虚拟设备针对所述场景直接拍摄的画面,即所述调整前画面可理解为所述虚拟设备在所述调整前场景视角下针对所述场景直接拍摄的画面;例如还可以是,服务器或终端根据所述虚拟设备在所述场景中的位置直接提供的所述场景中的一个画面,即所述调整前画面可理解为所述服务器或终端根据所述虚拟设备在所述场景中的对应于所述调整前场景视角的位置直接提供的所述场景中的一个画面;也可以是其余理解,在此未做限定。后文中其余的对应的画面,例如S120中所述调整后画面是所述虚拟设备在调整后场景视角下对应的画面,其可以参考这里的几个举例进行理解,届时不再重复说明。
S120、响应于虚拟设备调整操作,在所述虚拟设备调整操作用于对所述虚拟设备在所述场景中的位置进行调整的情况下,于所述场景编辑器中展示调整后画面,其中,所述调整后画面是所述虚拟设备在调整后场景视角下对应的画面,调整前位置与调整后位置不同,所述调整前位置是位于所述调整前场景视角下的所述虚拟设备在所述场景中的位置,所述调整后位置是位于所述调整后场景视角下的所述虚拟设备在所述场景中的位置。
其中,所述虚拟设备调整操作可以理解为用于对所述虚拟设备在所述场景中的位置或朝向进行调整的操作。在本公开实施例中,所述虚拟设备调整操作的输入方式可以有多种,例如可以是,触摸输入、按键输入、手势输入或声控输入等,在此并不做限定。
响应于所述虚拟设备调整操作,确定所述虚拟设备调整操作是用于对所述虚拟设备在所述场景中的位置进行调整,还是用于对所述虚拟设备在所述场景中的朝向进行调整。如果确定所述虚拟设备调整操作是用于对所述虚拟设备在所述场景中的位置进行调整,则可于所述场景编辑器中展示调整后画面,所述调整后画面可以理解为所述虚拟设备在调整后场景视角下对应的画面,所述调 整后场景视角可以理解为位置调整后的所述虚拟设备在所述场景中当前具有的场景视角。换言之,位于所述调整前场景视角下的所述虚拟设备在所述场景中的调整前位置,与,位于所述调整后场景视角下的所述虚拟设备在所述场景中的调整后位置是所述场景中的不同位置。也就是说,这里通过调整所述虚拟设备在所述场景中的位置的方式,实现了场景视角调整效果。
在此基础上,可选的,所述调整前位置与所述调整后位置构成的直线平行于所述调整前画面,垂直于所述调整前画面,或是斜交于所述调整前画面。
其中,在所述直线平行于所述调整前画面的情况下,这说明所述虚拟设备在与所述调整前画面平行并且包含所述调整前位置的平行平面上进行了移动,例如可以是,上移、下移、左移或是右移。在所述直线垂直于所述调整前画面的情况下,这说明所述虚拟设备在与所述调整前画面垂直的方向上进行了移动,例如可以是,前移或是后移,移动前后的所述虚拟设备与所述调整前画面之间的相距距离发生了变化,因此所述调整后画面可以理解为是对所述调整前画面进行了缩放之后的画面。在所述直线斜交于所述调整前画面,这说明所述虚拟设备在所述平行平面上和所述方向上均进行了移动。上述内容示例出所述虚拟设备在所述场景中的位置发生移动时可能出现的几种情况,也有可能是其余情况下的位置移动,在此未做限定。
针对固定所述虚拟设备在所述场景中的位置,例如可以是,将所述虚拟设备固定在所述场景中的一个场景对象上,通过调整所述虚拟设备在所述场景中的朝向来调整场景视角的技术方案,本公开实施例可将所述虚拟设备调整至所述场景中的任意方向(例如可以是,上、下、左、右、前或是后等)上的任意位置,这使得场景视角的可调整范围更广,从而提高了场景视角调整的灵活度,允许用户站在任意角度浏览所述场景。
为了理解上述技术方案,下面结合示例进行示例性说明。示例性的,图2a展示出了于所述场景编辑器中展示出的调整前画面,终端响应于用于向左移动所述虚拟设备的所述虚拟设备调整操作,将所述虚拟设备向左移动,得到图2b所示的调整后画面1。再示例性的,图2a含义相同,终端响应于用于向后移动所述虚拟设备的所述虚拟设备调整操作,将所述虚拟设备向后移动,得到缩小后的图2c所示的调整后画面2。除此外,图2a-图2c均是所述虚拟设备在面向Z+方向(如图示右上角所示的Z+)时对应的画面,即所述虚拟设备在所述场景中的朝向并未发生变化。
本公开实施例的技术方案,通过展示场景编辑器,所述场景编辑器中展示有调整前画面,所述调整前画面包括处于编辑状态的场景中的虚拟设备在调整前场景视角下对应的画面;响应于虚拟设备调整操作,在所述虚拟设备调整操 作用于对所述虚拟设备在所述场景中的位置进行调整的情况下,于所述场景编辑器中展示调整后画面,其中,所述调整后画面包括所述虚拟设备在调整后场景视角下对应的画面,以及位于所述调整前场景视角下的所述虚拟设备在所述场景中的调整前位置与位于所述调整后场景视角下的所述虚拟设备在所述场景中的调整后位置不同。本公开实施例的技术方案,在场景编辑阶段,通过调整所述虚拟设备在所述场景中的位置来调整场景视角,由此提高了场景视角调整的灵活性,更好地满足了用户对于场景视角的调整需求,用户体验较佳。
可选的,所述场景编辑器中还展示有场景视角定位选项,所述方法还包括:
接收针对所述场景视角定位选项输入的场景视角定位操作;
响应于所述场景视角定位操作,于所述场景编辑器中展示定位后画面,其中,所述定位后画面是所述虚拟设备在与所述场景视角定位操作对应的定位后场景视角下对应的画面。
其中,在场景编辑过程中,用户有时需在特定的场景视角下浏览所述场景,从而更好地确认所述场景的当前编辑效果。因此,为了帮助用户能够快速定位到其需要的场景视角,可以于所述场景编辑器中展示出一个或是多个场景视角定位选项,每个所述场景视角定位选项可以分别对应于各自的定位后场景视角,例如可以是,45度视角定位选项对应于45度视角,2D视角定位选项对应于2D视角,90度视角定位选项对应于90度视角,或正交视角定位选项对应于正交视角等。在此基础上,在本公开实施例中,可选的,在存在至少两个所述场景视角定位选项的情况下,至少两个所述场景视角定位选项可以通过不同的图标进行表示,这时每个所述图标可分别表示一个所述场景视角定位选项;也可以通过同一图标进行表示,这时可以通过对所述图标进行触发来使所述图标切换展示出不同的所述场景视角定位选项;等等,在此未做限定。
所述场景视角定位操作可理解为针对所述场景视角定位选项输入的,用于将所述场景定位到与被触发的所述场景视角定位选项对应的定位后场景视角下的操作。在本公开实施例中,所述场景视角定位操作的输入方式可以有多种,例如可以是,触摸输入、按键输入、手势输入或是声控输入等,在此不做限定;在此基础上,可选的,在通过触摸方式输入所述场景视角定位操作的情况下,可以通过点击、按压或是滑动所述场景视角定位选项的方式来输入。
示例性的,对接收到的所述场景视角定位操作进行响应,确定所述至少一个场景视角定位选项中被触发的所述场景视角定位选项,从而将所述场景定位到被触发的所述场景视角定位选项对应的所述定位后场景视角下,并将所述场景在所述定位后场景视角下的定位后画面展示于所述场景编辑器中,以使用户可在所述定位后场景视角下浏览到所述场景。上述技术方案,通过触发所述场 景视角定位选项,可将所述场景自动定位到相应的所述定位后场景视角下,由此达到了场景视角快速定位(即快速调整)的效果。示例性的,点击90度视角锁定选项,于场景编辑器中展示所述虚拟设备在90度场景视角下对应的画面。
示例性的,假设不同的所述场景视角定位选项通过同一图标进行表示,以图2b为例,图2b左上角所示的自由视角这个图标即为所述场景视角定位选项,用户可以通过点击这个图标来将该场景视角定位选项切换为其余的所述场景视角定位选项。例如,用户点击这个图标,该图标变化为图2e所示的90度视角,这时在所述场景编辑器中展示出的画面也变化为在90度视角下对应的定位后画面(如图2e所示)。
可选的,所述场景编辑器中还展示有场景视角锁定选项,所述方法还包括:
响应于针对所述场景视角锁定选项输入的场景视角锁定操作,确定被触发的所述场景视角锁定选项对应的锁定后场景视角;
在所述响应于虚拟设备调整操作之后,所述方法还包括:
在所述锁定后场景视角包含目标场景视角的情况下,于所述场景编辑器中展示锁定后画面,其中,所述锁定后画面是所述虚拟设备在所述目标场景视角下对应的画面,所述目标场景视角是基于所述虚拟设备调整操作得到的调整后的所述虚拟设备在所述场景中的场景视角。
其中,所述场景视角锁定选项可以理解为用于将所述场景锁定在一个场景视角下的选项,于所述场景编辑器中展示出一个或是多个场景视角锁定选项,每个所述场景视角锁定选项可以分别对应于各自的锁定后场景视角,例如可以是,自由视角锁定选项对应于自由视角,45度视角锁定选项对应于45度视角,2D视角锁定选项对应于2D视角,90度视角锁定选项对应于90度视角,或是正交视角锁定选项对应于正交视角等。在本公开实施例中,可选的,所述场景视角锁定选项与上文中的所述场景视角定位选项可以是相同的选项,也可以是不同的选项。当二者是同一选项时,这说明这一选项既可以起到场景视角定位作用,又可以起到场景视角锁定作用。示例性的,在2D视角锁定选项以及2D视角定位选项是同一选项时,该选项既可以将所述场景快速定位到2D视角下,又可以将所述场景锁定到2D视角下。
所述场景视角锁定操作可理解为针对所述场景视角锁定选项输入的,用于将所述场景锁定到与被触发的所述场景视角锁定选项对应的锁定后场景视角下的操作。在本公开实施例中,所述场景视角锁定操作的输入方式可以有多种,例如可以是,触摸输入、按键输入、手势输入或是声控输入等,在此不做限定。响应于所述场景视角锁定操作,确定所述锁定后场景视角。所述锁定后场景视 角可能是一个具体的场景视角,也可能是一个范围内的场景视角,示例性的,以所述锁定后场景视角是90度视角为例,所述锁定后场景视角将所述虚拟设备锁定到俯视所述场景的情况下,在此基础上并不限制所述虚拟设备在所述场景中的位置,因此此时的90度视角就是一个视角范围。
所述目标场景视角可以理解为基于所述虚拟设备调整操作对所述虚拟设备在所述场景中的位置或是朝向进行调整后,调整后的所述虚拟设备在所述场景中的场景视角。由于所述场景,或是说所述场景中的所述虚拟设备已被锁定到所述锁定后场景视角下,因此在所述锁定后场景视角包括所述目标场景视角的情况下,即在用户触发的所述虚拟设备调整操作是在所述锁定后场景视角下进行调整的情况下,可以于所述场景编辑器中展示锁定后画面,所述锁定后画面包括所述虚拟设备在所述目标场景视角下对应的画面。
上述技术方案这样设置,在场景编辑过程中,用户有时需要在特定的场景视角下进行场景编辑,但是在调整所述虚拟设备时有可能离开所述特定的场景视角,因此为了避免出现这一情况,可以进行场景视角锁定,并在所述目标场景视角位于所述特定的场景视角(即锁定后场景视角)的情况下,通过执行用户触发的所述虚拟设备调整操作来进行所述虚拟设备的调整。示例性的,在所述锁定后场景视角是自由视角的情况下,用户可以随意调整所述虚拟设备;在所述锁定后场景视角是45度视角的情况下,用户只能将所述虚拟设备朝45度视角方向旋转;在所述锁定后场景视角是2D视角的情况下,用户只能对所述虚拟设备进行横向移动,不能进行纵向移动;在所述锁定后场景视角是90度视角的情况下,用户只能将所述虚拟设备的朝向调整为俯视;等等。
图3是本公开实施例所提供的另一种场景视角调整方法的流程示意图;本实施例是对上述实施例中所述响应于虚拟设备调整操作进行追加。
如图3所示,所述方法包括以下步骤。
S210、展示场景编辑器,其中,所述场景编辑器中展示有调整前画面,所述调整前画面是处于编辑状态的场景中的虚拟设备在调整前场景视角下对应的画面。
S220、响应于虚拟设备调整操作。
S230、在所述虚拟设备调整操作用于对所述虚拟设备在所述场景中的朝向进行调整的情况下,于所述场景编辑器中展示旋转后画面。
其中,所述旋转后画面是所述虚拟设备在旋转后场景视角下对应的画面,调整前朝向与调整后朝向不同,所述调整前朝向是位于所述调整前场景视角下的所述虚拟设备在所述场景中的朝向,所述调整后朝向是位于所述调整后场景 视角下的所述虚拟设备在所述场景中的朝向。
其中,在所述虚拟设备调整操作用于对所述虚拟设备在所述场景中的朝向进行调整,即用于对所述虚拟设备进行旋转的情况下,可于所述场景编辑器中展示旋转后画面,所述旋转后画面可以理解为所述虚拟设备在旋转后场景视角下对应的画面,所述旋转后场景视角可以理解为朝向调整后的所述虚拟设备在所述场景中当前具有的场景视角。也就是说,位于所述调整前场景视角下的所述虚拟设备在所述场景中的调整前朝向,与,位于所述调整后场景视角下的所述虚拟设备在所述场景中的调整后朝向是所述场景中的不同朝向。即,这里通过调整所述虚拟设备在所述场景中的朝向的方式,实现了场景视角调整效果。
S240、在所述虚拟设备调整操作用于对所述虚拟设备在所述场景中的位置进行调整的情况下,于所述场景编辑器中展示调整后画面。
其中,所述调整后画面是所述虚拟设备在调整后场景视角下对应的画面,调整前位置与调整后位置不同,所述调整前位置是位于所述调整前场景视角下的所述虚拟设备在所述场景中的位置,所述调整后位置是位于所述调整后场景视角下的所述虚拟设备在所述场景中的位置。
为了理解上述技术方案,下面结合示例进行示例性说明。示例性的,这里将图2b展示出的于所述场景编辑器中展示出的调整后画面1作为调整前画面,即接下来在图2b的基础上调整所述虚拟设备。终端响应于用于向左旋转所述虚拟设备的所述虚拟设备调整操作,将所述虚拟设备向左旋转,得到图2d所示的旋转后画面。除此外,图2b和图2d均是所述虚拟设备在所述场景中的同一位置对应的画面,即所述虚拟设备在所述场景中的位置并未发生变化。
本公开实施例的技术方案,通过在所述虚拟设备调整操作用于对所述虚拟设备在所述场景中的朝向进行调整的情况下,于所述场景编辑器中展示旋转后画面。再结合其余步骤可知,可以根据所述虚拟设备调整操作的情况,对所述虚拟设备在所述场景中的位置或是朝向进行调整,位置和朝向的两个维度的调整,提高了场景视角调整的多样性。
可选的,所述场景编辑器中还展示有朝向调整选项,所述方法还包括:
接收针对所述朝向调整选项输入的所述虚拟设备调整操作。
在本公开实施例中,可以通过设置所述朝向调整选项来调整所述虚拟设备在所述场景中的朝向。示例性的,所述朝向调整选项可以理解为用于调整所述虚拟设备在所述场景中的朝向的选项,即具备调整所述虚拟设备在所述场景中的朝向的功能选项。于所述场景编辑器中展示一个或是多个所述朝向调整选项,每个所述朝向调整选项可以分别对应有各自的朝向。所述朝向调整选项的表现 形式可以根据场景需求预设,在此不做限定。示例性的,每个所述朝向调整选项可以通过多面体中的每个面、列表中的每个条目、单选项或是多选项中的每个候选选项等进行表示,在此未做限定。
接收针对所述朝向调整选项输入的所述虚拟设备调整操作,从而通过响应于所述虚拟设备调整操作,确定被所述虚拟设备调整操作触发的所述朝向调整选项所表征的朝向,基于所述所表征的朝向旋转所述虚拟设备,由此实现了通过操控所述朝向调整选项来快速并精准调整所述虚拟设备的朝向的效果。
可选的,所述朝向调整选项通过多面体中的多个面进行表示,所述多个面对应于所述场景中的不同朝向;
所述接收针对所述朝向调整选项输入的所述虚拟设备调整操作,包括:
接收针对所述多个面输入的所述虚拟设备调整操作;
在所述响应于虚拟设备调整操作之后,所述方法还包括:
基于所述多个面中被触发的面所对应的朝向,确定所述旋转后画面。
其中,所述多面体可以理解为基于四个或四个以上多边形所围成的立体,例如可以是四面体、五面体或是六面体(即立方体)等,在此未做限定。所述朝向调整选项可以通过多面体中的多个面进行表示,所述多面体的多个面可以分别对应于所述场景中的不同朝向。在此基础上,可以接收针对所述多个面输入的所述虚拟设备调整操作,并基于所述虚拟设备调整操作确定所述多个面中被触发的面,基于所述被触发的面所对应的朝向旋转所述虚拟设备,即可以通过直接操控所述多面体中的一个面来调整所述虚拟设备的朝向,从而基于朝向调整后的所述虚拟设备得到所述旋转后画面。示例性的,这里以所述多面体是立方体为例,所述立方体中的每个面可以分别表示建立在所述场景中的空间直角坐标系(即XYZ坐标系)中的一个方向,例如可以是,X+方向、X-方向、Y+方向、Y-方向、Z+方向或是Z-方向。在此基础上,参见图4,图4右上角展示出了将立方体平铺后的效果图。用户可以通过直接点击立方体上的Z+这个面,由此终端可以响应于这个点击操作,将所述虚拟设备的朝向由Y+方向调整为Z+方向,并且将所述场景编辑器中展示的画面变化为图2b。
可选的,所述场景编辑器中还展示有朝向指示图标,所述方法还包括:
在展示所述旋转后画面的情况下,调整所述朝向指示图标的呈现效果,以使调整后的所述朝向指示图标所指示的朝向,与所述调整后朝向相同。
其中,所述朝向指示图标可以理解为用于指示所述虚拟设备在所述场景中当前的朝向的图标。在本公开实施例中,可选的,所述朝向指示图标可指示的朝向包括至少一个正交视角,和/或,所述至少一个正交视角中的在朝向上相邻 的两个正交视角间的45度视角。这里以上述XYZ坐标系为例,所述正交视角可以是X+方向、X-方向、Y+方向、Y-方向、Z+方向或是Z-方向的场景视角;这里以与X+方向有关的45度视角为例,所述45度视角可以是X+方向的正交视角与Y+方向、Y-方向、Z+方向或是Z-方向的正交视角间的45度视角。
在展示所述旋转后画面的情况下,即所述虚拟设备的朝向发生调整的情况下,可以调整所述朝向指示图标的呈现效果,以使调整后的所述朝向指示图标所指示的朝向,与所述调整后朝向相同。这样设置,用户通过所述朝向指示图标的当前的呈现效果,可以快速并且准确确定出所述虚拟设备当前在所述场景中的朝向。其中,所述呈现效果可以通过多种方式进行表示,例如可以是,所述朝向指示图标的图标样式或是所述朝向指示图标中的图标内容等。这里以通过所述图标内容表示所述呈现效果为例,所述图标内容可理解为用于标识朝向的文字、字母或图样等。在此基础上,可选的,以所述朝向指示图标通过上文中的立方体进行表示为例,所述立方体的多个面的所述图标内容可以是X+、X-、Y+、Y-、Z+或Z-,或者,东、西、南、北、俯或仰,等等。
示例性的,图2b右上角的Z+以及图2e右上角的Y+均可以理解所述朝向指示图标。在图2b中,所述虚拟设备面向Z+方向,因为在图2b所示的调整后画面1的基础上,用户触发了自由视角这个图标,从而将所述场景定位到图2e所示的90度视角下,此时所述虚拟设备的朝向发生了变化,因此所述朝向指示图标中的图标内容也发生了变化,由图2b中的Z+变化为图2e中的Y+。
图5是本公开实施例所提供的又一种场景视角调整方法的流程示意图,本实施例是对上述实施例中所述响应于虚拟设备调整操作进行追加。
如图5所示,所述方法包括以下步骤。
S310、于展示屏幕上展示场景编辑器,其中,所述场景编辑器中展示有调整前画面,所述调整前画面是处于编辑状态的场景中的虚拟设备在调整前场景视角下对应的画面。
其中,所述展示屏幕可以是移动终端上的用于展示所述场景编辑器的屏幕,例如可以是,手机屏幕或是平板屏幕等。
S320、接收通过触摸所述展示屏幕输入的虚拟设备调整操作。
其中,由于所述展示屏幕属于移动终端上的屏幕,因此用户可以通过触摸所述展示屏幕的方式来输入所述虚拟设备调整操作,由此提高了所述虚拟设备调整操作输入的便捷性,从而提高了场景视角调整的便捷性。在本公开实施例中,用户可以通过身体部位例如可以是手指等触摸所述展示屏幕,也可以通过外部对象例如可以是触控笔等触摸所述展示屏幕,在此未做限定。为了便于阐 述,下文以用户通过手指触摸所述展示屏幕为例进行阐述,但这并非是对本公开实施例的限定。
S330、响应于所述虚拟设备调整操作,在所述虚拟设备调整操作用于对所述虚拟设备在所述场景中的位置进行调整的情况下,于所述场景编辑器中展示调整后画面,其中,所述调整后画面是所述虚拟设备在调整后场景视角下对应的画面。
本公开实施例的技术方案,通过于展示屏幕上展示场景编辑器,用户可以通过触摸所述展示屏幕输入所述虚拟设备调整操作,由此提高了所述虚拟设备调整操作输入的便捷性,从而提高了场景视角调整的便捷性。
可选的,所述在所述虚拟设备调整操作用于对所述虚拟设备在所述场景中的位置进行调整的情况下,于所述场景编辑器中展示调整后画面,包括:
确定同一时间作用在所述展示屏幕的触摸点的数量,并根据所述数量确定所述虚拟设备调整操作的操作方式,其中,所述操作方式包括单点操作或双点操作;
在根据所述操作方式,确定所述虚拟设备调整操作用于对所述虚拟设备在所述场景中的位置进行调整的情况下,于所述场景编辑器中展示调整后画面。
其中,所述触摸点可以理解为触摸所述展示屏幕时作用在所述展示屏幕上的点,在本公开实施例中,可以理解为手指作用于所述展示屏幕上的点。考虑到手指在所述展示屏幕上可能执行按压或是滑动等具有一定时长的操作,因此可以确定同一时间作用在所述展示屏幕上的触摸点的数量,从而根据所述数量确定所述虚拟设备调整操作的操作方式,例如可以是,在所述触摸点的数量是一个时,所述操作方式可以是单点操作;在所述触摸点的数量是两个时,所述操作方式可以是双点操作。在本公开实施例中,在用户通过手指触摸所述展示屏幕的示例中,所述单点操作也可以称为单指操作,所述双点操作也可以称为双指操作。可以根据所述操作方式确定所述虚拟设备调整操作是用于调整所述虚拟设备在所述场景中的位置或是朝向。上述技术方案,通过确定在同一时间作用在所述展示屏幕的触摸点的数量来确定所述虚拟设备调整操作的操作方式,从而可以基于所述操作方式准确判断所述虚拟设备调整操作的调整对象(即位置或是朝向),由此实现了所述调整对象的准确判断的效果。
在此基础上,可选的,所述方法还包括:
获取预先配置的操作调整策略,其中,所述操作调整策略包括单点旋转且双点平移,或是双点旋转且单点平移;
根据所述操作调整策略和所述操作方式,确定所述虚拟设备调整操作是否 用于对所述虚拟设备在所述场景中的位置进行调整。
其中,所述操作调整策略可以理解为预先配置的用于表示相应的所述虚拟设备调整策略是用于调整位置还是朝向的策略。在本公开实施例中,可选的,所述操作调整策略可以包括单点旋转且双点平移,或是双点旋转且单点平移。其中,所述单点旋转且双点平移可以理解为,在单点触摸所述展示屏幕时,对所述虚拟设备的朝向进行调整,并且在双点触摸所述展示屏幕时,对所述虚拟设备的位置进行调整的策略;所述双点旋转且单点平移的情况类似,在此不再赘述。进而,可以根据所述操作调整策略和所述操作方式,确定所述虚拟设备调整操作是否用于对所述虚拟设备的位置进行调整。所述操作调整策略的设置,允许用户根据自己的操作习惯调整所述虚拟设备的位置和朝向,用户体验较佳。
可选的,对应所述双点操作的所述虚拟设备调整操作用于对所述虚拟设备在所述场景中的位置进行调整,所述于所述场景编辑器中展示调整后画面,可包括:
确定不同时间作用在所述展示屏幕上的两个所述触摸点间的相距距离;
根据多个相距距离间的距离差值,确定位置调整方式,其中,所述位置调整方式包括平移调整或是缩放调整;
基于所述位置调整方式对所述调整前位置进行调整,得到所述调整后位置,并确定与所述调整后位置对应的调整后画面;
于所述场景编辑器中展示所述调整后画面。
其中,在基于双点操作调整所述虚拟设备的位置的情况下,可以确定不同时间作用在所述展示屏幕上的两个所述触摸点间的相距距离。示例性的,假设用户双指在所述展示屏幕上持续触摸2秒钟,则可以每隔1秒钟获取一个相距距离,从而得到3个相距距离。根据多个相距距离间的距离差值,确定位置调整方式,所述位置调整方式可以包括平移调整或是缩放调整,所述平移调整可以理解为通过控制所述虚拟设备在与所述调整前画面平行并且包含所述调整前位置的平行平面上进行移动来调整所述虚拟设备的位置的方式,而所述缩放调整可以理解为通过控制所述虚拟设备在与所述调整前画面相垂直的方向上进行移动来调整所述虚拟设备的位置的方式。所述距离差值可以理解为不同时间下的相距距离的变化值,示例性的,继续以上述示例为例,现在获取到3个相距距离(例如相距距离A、相距距离B以及相距距离C),那么距离差值可以是A和B间的差值、A和C间的差值以及B和C间的差值中的至少一个。基于所述位置调整方式调整所述调整前位置,从而得到所述调整后位置,由此可以于所述场景编辑器中展示与所述调整后位置对应的调整后画面。上述技术方案,通 过确定两个所述触摸点间的相距距离的变化情况,可以确定出针对所述虚拟设备采用的位置调整方式,从而准确实现了所述虚拟设备的位置调整过程。
可选的,所述根据多个相距距离间的距离差值,确定位置调整方式,可包括:
获取预设差值阈值,并根据所述多个相距距离间的距离差值与所述预设差值阈值之间的数值关系,确定位置调整方式。
其中,所述预设差值阈值可以理解为预设的用于确定位置调整方式的阈值。在两个手指在所述展示屏幕上触摸的过程中,用户是很难保证两个手指间的相距距离不会发生变化,因此,所述预设差值阈值在通常情况下不设置为零,在本公开实施例中,所述预设差值阈值可以根据场景需求预设,在此不做限定。示例性的,所述预设差值阈值可以为0.2cm、0.3cm或0.5cm等。所述数值关系可以是所述距离差值超过或者未超过所述预设差值阈值。
示例性的,可以根据所述距离差值与所述预设差值阈值之间的数值关系,确定位置调整方式。例如可以是,在所述距离差值未超过所述预设差值阈值的情况下,所述位置调整方式是平移调整,否则为缩放调整;再例如可以是,在所述距离差值超过所述预设差值阈值的情况下,所述位置调整方式是缩放调整,否则为平移调整。对于后者,可选的,还可以在所述距离差值是正值时,可以放大当前展示画面(即当前展示出的画面);在所述距离差值是负值时,可以缩小当前展示画面。上述技术方案,实现了位置调整方式的准确确定。
针对所述操作调整策略为单指旋转且双指平移的情况,示例性的,用户单指按住展示屏幕进行旋转时,此时终端检测到单指操作,可以基于所述单指操作旋转虚拟相机,确定与旋转后的所述虚拟相机对应的所述旋转后画面,并于所述场景编辑器中展示所述旋转后画面。
用户双指按住展示屏幕,并在保持双指间距(即所述相距距离)基本不变的情况下平移双指,此时终端检测到的双指操作用于平移(即上下左右移动)所述虚拟相机,可以基于所述双指操作平移所述虚拟相机,确定与平移后的所述虚拟相机对应的所述调整后画面,并展示所述调整后画面。
用户双指按住展示屏幕,并扩大或缩小双指间距,此时终端检测到的双指操作用于前后移动所述虚拟相机,可基于所述双指操作前后移动所述虚拟相机,确定与前后移动后的所述虚拟相机对应的所述调整后画面,并于所述场景编辑器中展示所述调整后画面,所述调整后画面也可以称为缩放后画面。
针对所述操作调整策略为双指旋转且单指平移的情况,示例性的,用户单指按住展示屏幕进行平移时,此时终端检测到单指操作,可以基于所述单指操 作平移所述虚拟相机,确定与平移后的所述虚拟相机相对应的所述调整后画面,并于所述场景编辑器中展示所述调整后画面。
用户双指按住展示屏幕,并在保持双指间距基本不变的情况下平移双指,此时终端检测到的双指操作用于旋转所述虚拟相机,则可以基于所述双指操作旋转所述虚拟相机,确定与旋转后的所述虚拟相机对应的所述旋转后画面,并于所述展示屏幕上展示所述旋转后画面。
用户双指按住展示屏幕,并扩大或缩小双指间距,此时终端检测到的双指操作用于前后移动所述虚拟相机,可基于所述双指操作前后移动所述虚拟相机,确定与前后移动后的所述虚拟相机对应的所述调整后画面,并于所述场景编辑器中展示所述调整后画面,所述调整后画面也可以称为缩放后画面。
图6为本公开实施例所提供的一种场景视角调整装置的结构示意图,如图6所示,所述装置包括:场景编辑器展示模块410以及场景视角调整模块420。
其中,所述场景编辑器展示模块410,设置为展示场景编辑器,其中,所述场景编辑器中展示有调整前画面,所述调整前画面是处于编辑状态的场景中的虚拟设备在调整前场景视角下对应的画面;
所述场景视角调整模块420,设置为响应于虚拟设备调整操作,在所述虚拟设备调整操作用于对所述虚拟设备在所述场景中的位置进行调整的情况下,于所述场景编辑器中展示调整后画面,其中,所述调整后画面是所述虚拟设备在调整后场景视角下对应的画面;
其中,调整前位置与调整后位置不同,所述调整前位置是位于所述调整前场景视角下的所述虚拟设备在所述场景中的位置,所述调整后位置是位于所述调整后场景视角下的所述虚拟设备在所述场景中的位置。
本公开实施例的技术方案,通过所述场景编辑器展示模块410展示场景编辑器,所述场景编辑器中展示有调整前画面,所述调整前画面是处于编辑状态的场景中的虚拟设备在调整前场景视角下对应的画面;通过场景视角调整模块420响应于虚拟设备调整操作,在所述虚拟设备调整操作是用于对所述虚拟设备在所述场景中的位置进行调整的情况下,于所述场景编辑器中展示调整后画面,其中,所述调整后画面包括所述虚拟设备在调整后场景视角下对应的画面,以及位于所述调整前场景视角下的所述虚拟设备在所述场景中的调整前位置与位于所述调整后场景视角下的所述虚拟设备在所述场景中的调整后位置不同。上述装置,在场景编辑阶段,通过调整所述虚拟设备在所述场景中的位置来调整场景视角,由此提高了场景视角调整的灵活性,更好地满足了用户对于场景视角的调整需求,用户体验较佳。
可选的,所述调整前位置与所述调整后位置构成的直线平行于所述调整前画面,垂直于所述调整前画面,或是斜交于所述调整前画面。
可选的,所述场景视角调整装置,还包括:朝向调整模块;
其中,所述朝向调整模块,设置为在响应于虚拟设备调整操作之后,在所述虚拟设备调整操作用于对所述虚拟设备在所述场景中的朝向进行调整的情况下,于所述场景编辑器中展示旋转后画面;
其中,所述旋转后画面是所述虚拟设备在旋转后场景视角下对应的画面,调整前朝向与调整后朝向不同,所述调整前朝向是位于所述调整前场景视角下的所述虚拟设备在所述场景中的朝向,所述调整后朝向是位于所述调整后场景视角下的所述虚拟设备在所述场景中的朝向。
可选的,所述场景编辑器中还展示有朝向调整选项,所述场景视角调整装置还包括:虚拟设备调整操作接收模块;
其中,所述虚拟设备调整操作接收模块,设置为接收针对所述朝向调整选项输入的所述虚拟设备调整操作。
可选的,所述朝向调整选项通过多面体中的多个面进行表示,所述多个面对应于所述场景中的不同朝向;
所述虚拟设备调整操作接收模块,设置为:
接收针对所述多个面输入的所述虚拟设备调整操作;
所述场景视角调整装置还包括:旋转后画面确定模块;
其中,所述旋转后画面确定模块,设置为在响应于虚拟设备调整操作之后,基于所述多个面中被触发的面所对应的朝向,确定所述旋转后画面。
可选的,所述场景编辑器中还展示有朝向指示图标,所述场景视角调整装置还包括:呈现效果调整模块;
其中,所述呈现效果调整模块,设置为在展示所述旋转后画面的情况下,调整所述朝向指示图标的呈现效果,以使调整后的所述朝向指示图标所指示的朝向,与所述调整后朝向相同。
可选的,所述朝向指示图标可指示的朝向包括至少一个正交视角,和/或,所述至少一个正交视角中的在朝向上相邻的两个正交视角间的45度视角。
可选的,所述场景编辑器中还展示有场景视角定位选项,所述场景视角调整装置还包括:场景视角定位操作接收模块以及定位后画面展示模块;
其中,所述场景视角定位操作接收模块,设置为接收针对所述场景视角定 位选项输入的场景视角定位操作;
所述定位后画面展示模块,设置为响应于所述场景视角定位操作,于所述场景编辑器中展示定位后画面,其中,所述定位后画面是所述虚拟设备在与所述场景视角定位操作对应的定位后场景视角下对应的画面。
可选的,所述场景编辑器中还展示有场景视角锁定选项,所述场景视角调整装置还包括:锁定后场景视角确定模块和锁定后画面展示模块;
其中,所述锁定后场景视角确定模块,设置为响应于针对所述场景视角锁定选项输入的场景视角锁定操作,确定与被触发的所述场景视角锁定选项对应的锁定后场景视角;
所述锁定后画面展示模块,设置为在所述响应于虚拟设备调整操作之后,在所述锁定后场景视角包含目标场景视角的情况下,于所述场景编辑器中展示出锁定后画面,其中,所述锁定后画面是所述虚拟设备在所述目标场景视角下对应的画面,所述目标场景视角是基于所述虚拟设备调整操作得到的调整后的所述虚拟设备在所述场景中的场景视角。
可选的,所述场景编辑器展示模块410,设置为:
于展示屏幕上展示场景编辑器;
所述场景视角调整装置还包括:虚拟设备调整操作接收模块;
其中,所述虚拟设备调整操作接收模块,设置为在所述响应于虚拟设备调整操作之前,接收通过触摸所述展示屏幕输入的所述虚拟设备调整操作。
可选的,所述场景视角调整模块420,包括:操作方式确定子模块和调整后画面展示子模块;
其中,所述操作方式确定子模块,设置为确定同一时间作用在所述展示屏幕的触摸点的数量,并根据所述数量确定所述虚拟设备调整操作的操作方式,其中,所述操作方式包括单点操作或双点操作;
所述调整后画面展示子模块,设置为在根据所述操作方式,确定所述虚拟设备调整操作用于对所述虚拟设备在所述场景中的位置进行调整的情况下,于所述场景编辑器中展示调整后画面。
可选的,所述场景视角调整装置,还包括:操作调整策略获取模块和位置调整确定模块;
其中,所述操作调整策略获取模块,设置为获取预先配置的操作调整策略,其中,所述操作调整策略包括单点旋转且双点平移,或是双点旋转且单点平移;
所述位置调整确定模块,设置为根据所述操作调整策略以及所述操作方式, 确定所述虚拟设备调整操作是否用于对所述虚拟设备在所述场景中的位置进行调整。
可选的,对应所述双点操作的所述虚拟设备调整操作用于对所述虚拟设备在所述场景中的位置进行调整,所述调整后画面展示子模块,可包括:触摸点相距距离确定单元、位置调整方式确定单元、调整后画面确定单元以及调整后画面展示单元。
其中,所述触摸点相距距离确定单元,设置为确定不同时间作用在所述展示屏幕上的两个所述触摸点间的相距距离;
所述位置调整方式确定单元,设置为根据多个相距距离间的距离差值,确定位置调整方式,其中,所述位置调整方式包括平移调整或是缩放调整;
所述调整后画面确定单元,设置为基于所述位置调整方式对所述调整前位置进行调整,得到所述调整后位置,并确定与所述调整后位置对应的调整后画面;
所述调整后画面展示单元,设置为于所述场景编辑器中展示所述调整后画面。
可选的,所述位置调整方式确定单元,设置为:
获取预设差值阈值,并根据所述多个相距距离间的距离差值与所述预设差值阈值之间的数值关系,确定位置调整方式。
可选的,所述场景包括游戏场景。
本公开实施例所提供的场景视角调整装置可执行本公开任意实施例所提供的场景视角调整方法,具备执行方法相应的功能模块和效果。
上述装置所包括的多个单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,多个功能单元的名称也只是为了便于相互区分,并不用于限制本公开实施例的保护范围。
图7为本公开实施例所提供的一种终端的结构示意图。下面参考图7,其示出了适于用来实现本公开实施例的终端500的结构示意图。本公开实施例中的终端设备可以包括诸如移动电话、笔记本电脑、数字广播接收器、个人数字助理(Personal Digital Assistant,PDA)、平板电脑(Portable Android Device,PAD)、便携式多媒体播放器(Portable Media Player,PMP)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字电视(television,TV)、台式计算机等等的固定终端。图7示出的终端仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图7所示,终端500可以包括处理装置(例如中央处理器、图形处理器等)501,处理装置501可以根据存储在只读存储器(Read-Only Memory,ROM)502中的程序或者从存储装置508加载到随机访问存储器(Random Access Memory,RAM)503中的程序而执行多种适当的动作和处理。在RAM 503中,还存储有终端500操作所需的多种程序和数据。处理装置501、ROM 502以及RAM 503通过总线504彼此相连。输入/输出(Input/Output,I/O)接口505也连接至总线504。
以下装置可以连接至I/O接口505:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置506;包括例如液晶显示器(Liquid Crystal Display,LCD)、扬声器、振动器等的输出装置507;包括例如磁带、硬盘等的存储装置508;以及通信装置509。通信装置509可以允许终端500与其他设备进行无线或有线通信以交换数据。虽然图7示出了具有多种装置的终端500,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置509从网络上被下载和安装,或者从存储装置508被安装,或者从ROM 502被安装。在该计算机程序被处理装置501执行时,执行本公开实施例的方法中限定的上述功能。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
本公开实施例提供的终端与上述实施例提供的场景视角调整方法属于同一公开构思,未在本实施例中描述的技术细节可参见上述实施例,并且本实施例与上述实施例具有相同的效果。
本公开实施例提供了一种计算机存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述实施例所提供的场景视角调整方法。
本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质可以包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、RAM、ROM、可擦式可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM)、闪存、光纤、便携式紧凑磁盘只读存储器(Compact  Disc Read-Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括:电线、光缆、射频(Radio Frequency,RF)等等,或者上述的任意合适的组合。存储介质可以是非暂态(non-transitory)存储介质。
在一些实施方式中,客户端、服务器可以利用诸如超文本传输协议(HyperText Transfer Protocol,HTTP)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(Local Area Network,LAN),广域网(Wide Area Network,WAN),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述终端中所包含的;也可以是单独存在,而未装配入该终端中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该终端执行时,使得该终端:展示场景编辑器,其中,所述场景编辑器中展示有调整前画面,所述调整前画面是处于编辑状态的场景中的虚拟设备在调整前场景视角下对应的画面;
响应于虚拟设备调整操作,在所述虚拟设备调整操作用于对所述虚拟设备在所述场景中的位置进行调整的情况下,于所述场景编辑器中展示调整后画面,其中,所述调整后画面是所述虚拟设备在调整后场景视角下对应的画面;
其中,调整前位置与调整后位置不同,所述调整前位置是位于所述调整前场景视角下的所述虚拟设备在所述场景中的位置,所述调整后位置是位于所述调整后场景视角下的所述虚拟设备在所述场景中的位置。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机 上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括LAN或WAN—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开多种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在一种情况下并不构成对该单元本身的限定,例如,场景编辑器展示模块还可以被描述为“展示场景编辑器,其中,所述场景编辑器中展示有调整前画面,所述调整前画面是处于编辑状态的场景中的虚拟设备在调整前场景视角下对应的画面”。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(Field Programmable Gate Array,FPGA)、专用集成电路(Application Specific Integrated Circuit,ASIC)、专用标准产品(Application Specific Standard Parts,ASSP)、片上系统(System on Chip,SOC)、复杂可编程逻辑设备(Complex Programmable Logic Device,CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、RAM、ROM、EPROM、快闪存储器、光纤、便捷式CD-ROM、光学储存设备、磁储存设备、或上述内容的任何合适组合。
根据本公开的一个或多个实施例,【示例一】提供了一种场景视角调整方 法,包括:
展示场景编辑器,其中,所述场景编辑器中展示有调整前画面,所述调整前画面是处于编辑状态的场景中的虚拟设备在调整前场景视角下对应的画面;
响应于虚拟设备调整操作,在所述虚拟设备调整操作用于对所述虚拟设备在所述场景中的位置进行调整的情况下,于所述场景编辑器中展示调整后画面,其中,所述调整后画面是所述虚拟设备在调整后场景视角下对应的画面;
其中,调整前位置与调整后位置不同,所述调整前位置是位于所述调整前场景视角下的所述虚拟设备在所述场景中的位置,所述调整后位置是位于所述调整后场景视角下的所述虚拟设备在所述场景中的位置。
根据本公开的一个或是多个实施例,【示例二】提供了示例一的方法,所述调整前位置与所述调整后位置构成的直线平行于所述调整前画面,垂直于所述调整前画面,或是斜交于所述调整前画面。
根据本公开的一个或多个实施例,【示例三】提供了示例一的方法,还包括:
在所述虚拟设备调整操作用于对所述虚拟设备在所述场景中的朝向进行调整的情况下,于所述场景编辑器中展示旋转后画面;
其中,所述旋转后画面是所述虚拟设备在旋转后场景视角下对应的画面,调整前朝向与调整后朝向不同,所述调整前朝向是位于所述调整前场景视角下的所述虚拟设备在所述场景中的朝向,所述调整后朝向是位于所述调整后场景视角下的所述虚拟设备在所述场景中的朝向。
根据本公开的一个或是多个实施例,【示例四】提供了示例三的方法,所述场景编辑器中还展示有朝向调整选项,所述方法还包括:
接收针对所述朝向调整选项输入的所述虚拟设备调整操作。
根据本公开的一个或是多个实施例,【示例五】提供了示例四的方法,所述朝向调整选项通过多面体中的多个面进行表示,所述多个面对应于所述场景中的不同朝向;
所述接收针对所述朝向调整选项输入的所述虚拟设备调整操作,包括:
接收针对所述多个面输入的所述虚拟设备调整操作;
在所述响应于虚拟设备调整操作之后,所述方法还包括:
基于所述多个面中被触发的面所对应的朝向,确定所述旋转后画面。
根据本公开的一个或是多个实施例,【示例六】提供了示例三的方法,所 述场景编辑器中还展示有朝向指示图标,所述方法还包括:
在展示所述旋转后画面的情况下,调整所述朝向指示图标的呈现效果,以使调整后的所述朝向指示图标所指示的朝向,与所述调整后朝向相同。
根据本公开的一个或是多个实施例,【示例七】提供了示例六的方法,所述朝向指示图标可指示的朝向包括至少一个正交视角,和/或,所述至少一个正交视角中的在朝向上相邻的两个正交视角间的45度视角。
根据本公开的一个或是多个实施例,【示例八】提供了示例一的方法,所述场景编辑器中还展示有场景视角定位选项,所述方法还包括:
接收针对所述场景视角定位选项输入的场景视角定位操作;
响应于所述场景视角定位操作,于所述场景编辑器中展示定位后画面,其中,所述定位后画面是所述虚拟设备在与所述场景视角定位操作对应的定位后场景视角下对应的画面。
根据本公开的一个或是多个实施例,【示例九】提供了示例一的方法,所述场景编辑器中还展示有场景视角锁定选项,所述方法还包括:
响应于针对所述场景视角锁定选项输入的场景视角锁定操作,确定被触发的所述场景视角锁定选项对应的锁定后场景视角;
在所述响应于虚拟设备调整操作之后,所述方法还包括:
在所述锁定后场景视角包含目标场景视角的情况下,于所述场景编辑器中展示锁定后画面,其中,所述锁定后画面是所述虚拟设备在所述目标场景视角下对应的画面,所述目标场景视角是基于所述虚拟设备调整操作得到的调整后的所述虚拟设备在所述场景中的场景视角。
根据本公开的一个或是多个实施例,【示例十】提供了示例一的方法,所述展示场景编辑器,包括:
于展示屏幕上展示场景编辑器;
在所述响应于虚拟设备调整操作之前,所述方法还包括:
接收通过触摸所述展示屏幕输入的所述虚拟设备调整操作。
根据本公开的一个或多个实施例,【示例十一】提供了示例十的方法,所述在所述虚拟设备调整操作用于对所述虚拟设备在所述场景中的位置进行调整的情况下,于所述场景编辑器中展示调整后画面,包括:
确定同一时间作用在所述展示屏幕的触摸点的数量,并根据所述数量确定所述虚拟设备调整操作的操作方式,其中,所述操作方式包括单点操作或双点 操作;
在根据所述操作方式,确定所述虚拟设备调整操作用于对所述虚拟设备在所述场景中的位置进行调整的情况下,于所述场景编辑器中展示调整后画面。
根据本公开的一个或多个实施例,【示例十二】提供了示例十一的方法,还包括:
获取预先配置的操作调整策略,其中,所述操作调整策略包括单点旋转且双点平移,或是双点旋转且单点平移;
根据所述操作调整策略和所述操作方式,确定所述虚拟设备调整操作是否用于对所述虚拟设备在所述场景中的位置进行调整。
根据本公开的一个或是多个实施例,【示例十三】提供了示例十一的方法,对应所述双点操作的所述虚拟设备调整操作用于对所述虚拟设备在所述场景中的位置进行调整,所述于所述场景编辑器中展示调整后画面,包括:
确定不同时间作用在所述展示屏幕上的两个所述触摸点间的相距距离;
根据多个相距距离间的距离差值,确定位置调整方式,其中,所述位置调整方式包括平移调整或是缩放调整;
基于所述位置调整方式对所述调整前位置进行调整,得到所述调整后位置,并确定与所述调整后位置对应的调整后画面;
于所述场景编辑器中展示所述调整后画面。
根据本公开的一个或是多个实施例,【示例十四】提供了示例十三的方法,所述根据多个相距距离间的距离差值,确定位置调整方式,包括:
获取预设差值阈值,并根据所述多个相距距离间的距离差值与所述预设差值阈值之间的数值关系,确定位置调整方式。
根据本公开的一个或多个实施例,【示例十五】提供了示例一的方法,所述场景包括游戏场景。
根据本公开的一个或是多个实施例,【示例十六】提供了一种场景视角调整装置,包括:
场景编辑器展示模块,设置为展示场景编辑器,其中,所述场景编辑器中展示有调整前画面,所述调整前画面是处于编辑状态的场景中的虚拟设备在调整前场景视角下对应的画面;
场景视角调整模块,设置为响应于虚拟设备调整操作,在所述虚拟设备调整操作用于对所述虚拟设备在所述场景中的位置进行调整的情况下,于所述场 景编辑器中展示调整后画面,其中,所述调整后画面是所述虚拟设备在调整后场景视角下对应的画面;
其中,调整前位置与调整后位置不同,所述调整前位置是位于所述调整前场景视角下的所述虚拟设备在所述场景中的位置,所述调整后位置是位于所述调整后场景视角下的所述虚拟设备在所述场景中的位置。
此外,虽然采用特定次序描绘了多个操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了多个实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的一些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的多种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。

Claims (18)

  1. 一种场景视角调整方法,包括:
    展示场景编辑器,其中,所述场景编辑器中展示有调整前画面,所述调整前画面是处于编辑状态的场景中的虚拟设备在调整前场景视角下对应的画面;
    响应于虚拟设备调整操作,在所述虚拟设备调整操作用于对所述虚拟设备在所述场景中的位置进行调整的情况下,于所述场景编辑器中展示调整后画面,其中,所述调整后画面是所述虚拟设备在调整后场景视角下对应的画面;
    其中,调整前位置与调整后位置不同,所述调整前位置是位于所述调整前场景视角下的所述虚拟设备在所述场景中的位置,所述调整后位置是位于所述调整后场景视角下的所述虚拟设备在所述场景中的位置。
  2. 根据权利要求1所述的方法,其中,所述调整前位置与所述调整后位置构成的直线平行于所述调整前画面,垂直于所述调整前画面,或是斜交于所述调整前画面。
  3. 根据权利要求1所述的方法,其中,在所述响应于虚拟设备调整操作之后,还包括:
    在所述虚拟设备调整操作用于对所述虚拟设备在所述场景中的朝向进行调整的情况下,于所述场景编辑器中展示旋转后画面;
    其中,所述旋转后画面是所述虚拟设备在旋转后场景视角下对应的画面,调整前朝向与调整后朝向不同,所述调整前朝向是位于所述调整前场景视角下的所述虚拟设备在所述场景中的朝向,所述调整后朝向是位于所述调整后场景视角下的所述虚拟设备在所述场景中的朝向。
  4. 根据权利要求3所述的方法,其中,所述场景编辑器中还展示有朝向调整选项,所述方法还包括:
    接收针对所述朝向调整选项输入的所述虚拟设备调整操作。
  5. 根据权利要求4所述的方法,其中,所述朝向调整选项通过多面体中的多个面进行表示,所述多个面对应于所述场景中的不同朝向;
    所述接收针对所述朝向调整选项输入的所述虚拟设备调整操作,包括:
    接收针对所述多个面输入的所述虚拟设备调整操作;
    在所述响应于虚拟设备调整操作之后,所述方法还包括:
    基于所述多个面中被触发的面所对应的朝向,确定所述旋转后画面。
  6. 根据权利要求3所述的方法,其中,所述场景编辑器中还展示有朝向指示图标,所述方法还包括:
    在展示所述旋转后画面的情况下,调整所述朝向指示图标的呈现效果,以使调整后的所述朝向指示图标所指示的朝向,与所述调整后朝向相同。
  7. 根据权利要求6所述的方法,其中,所述朝向指示图标可指示的朝向包括以下至少之一:至少一个正交视角,或,所述至少一个正交视角中的在朝向上相邻的两个正交视角间的45度视角。
  8. 根据权利要求1所述的方法,其中,所述场景编辑器中还展示有场景视角定位选项,所述方法还包括:
    接收针对所述场景视角定位选项输入的场景视角定位操作;
    响应于所述场景视角定位操作,于所述场景编辑器中展示定位后画面,其中,所述定位后画面是所述虚拟设备在与所述场景视角定位操作对应的定位后场景视角下对应的画面。
  9. 根据权利要求1所述的方法,其中,所述场景编辑器中还展示有场景视角锁定选项,所述方法还包括:
    响应于针对所述场景视角锁定选项输入的场景视角锁定操作,确定被触发的所述场景视角锁定选项对应的锁定后场景视角;
    在所述响应于虚拟设备调整操作之后,所述方法还包括:
    在所述锁定后场景视角包含目标场景视角的情况下,于所述场景编辑器中展示锁定后画面,其中,所述锁定后画面是所述虚拟设备在所述目标场景视角下对应的画面,所述目标场景视角是基于所述虚拟设备调整操作得到的调整后的所述虚拟设备在所述场景中的场景视角。
  10. 根据权利要求1所述的方法,其中,所述展示场景编辑器,包括:
    于展示屏幕上展示所述场景编辑器;
    在所述响应于虚拟设备调整操作之前,所述方法还包括:
    接收通过触摸所述展示屏幕输入的所述虚拟设备调整操作。
  11. 根据权利要求10所述的方法,其中,所述在所述虚拟设备调整操作用于对所述虚拟设备在所述场景中的位置进行调整的情况下,于所述场景编辑器中展示调整后画面,包括:
    确定同一时间作用在所述展示屏幕的触摸点的数量,并根据所述数量确定所述虚拟设备调整操作的操作方式,其中,所述操作方式包括单点操作或双点操作;
    在根据所述操作方式,确定所述虚拟设备调整操作用于对所述虚拟设备在 所述场景中的位置进行调整的情况下,于所述场景编辑器中展示所述调整后画面。
  12. 根据权利要求11所述的方法,还包括:
    获取预先配置的操作调整策略,其中,所述操作调整策略包括单点旋转且双点平移,或是双点旋转且单点平移;
    根据所述操作调整策略和所述操作方式,确定所述虚拟设备调整操作是否用于对所述虚拟设备在所述场景中的位置进行调整。
  13. 根据权利要求11所述的方法,其中,对应所述双点操作的所述虚拟设备调整操作用于对所述虚拟设备在所述场景中的位置进行调整,所述于所述场景编辑器中展示调整后画面,包括:
    确定不同时间作用在所述展示屏幕上的两个触摸点间的相距距离;
    根据多个相距距离间的距离差值,确定位置调整方式,其中,所述位置调整方式包括平移调整或是缩放调整;
    基于所述位置调整方式对所述调整前位置进行调整,得到所述调整后位置,并确定与所述调整后位置对应的调整后画面;
    于所述场景编辑器中展示所述调整后画面。
  14. 根据权利要求13所述的方法,其中,所述根据多个相距距离间的距离差值,确定位置调整方式,包括:
    获取预设差值阈值,并根据所述多个相距距离间的距离差值与所述预设差值阈值之间的数值关系,确定所述位置调整方式。
  15. 根据权利要求1所述的方法,其中,所述场景包括游戏场景。
  16. 一种场景视角调整装置,包括:
    场景编辑器展示模块,设置为展示场景编辑器,其中,所述场景编辑器中展示有调整前画面,所述调整前画面是处于编辑状态的场景中的虚拟设备在调整前场景视角下对应的画面;
    场景视角调整模块,设置为响应于虚拟设备调整操作,在所述虚拟设备调整操作用于对所述虚拟设备在所述场景中的位置进行调整的情况下,于所述场景编辑器中展示调整后画面,其中,所述调整后画面是所述虚拟设备在调整后场景视角下对应的画面;
    其中,调整前位置与调整后位置不同,所述调整前位置是位于所述调整前场景视角下的所述虚拟设备在所述场景中的位置,所述调整后位置是位于所述 调整后场景视角下的所述虚拟设备在所述场景中的位置。
  17. 一种终端,包括:
    一个或多个处理器;
    存储器,设置为存储一个或多个程序;
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1至15中任一项所述的场景视角调整方法。
  18. 一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现如权利要求1至15中任一项所述的场景视角调整方法。
PCT/CN2023/116678 2022-09-06 2023-09-04 场景视角调整方法、装置、终端及存储介质 WO2024051633A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211096798.5 2022-09-06
CN202211096798.5A CN116271836A (zh) 2022-09-06 2022-09-06 一种场景视角调整方法、装置、终端及存储介质

Publications (1)

Publication Number Publication Date
WO2024051633A1 true WO2024051633A1 (zh) 2024-03-14

Family

ID=86792924

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/116678 WO2024051633A1 (zh) 2022-09-06 2023-09-04 场景视角调整方法、装置、终端及存储介质

Country Status (2)

Country Link
CN (1) CN116271836A (zh)
WO (1) WO2024051633A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116271836A (zh) * 2022-09-06 2023-06-23 北京有竹居网络技术有限公司 一种场景视角调整方法、装置、终端及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110141855A (zh) * 2019-05-24 2019-08-20 网易(杭州)网络有限公司 视角控制方法、装置、存储介质及电子设备
CN111158469A (zh) * 2019-12-12 2020-05-15 广东虚拟现实科技有限公司 视角切换方法、装置、终端设备及存储介质
CN113117332A (zh) * 2021-04-22 2021-07-16 北京字跳网络技术有限公司 一种镜头视角的调整方法、装置、电子设备及存储介质
CN113440846A (zh) * 2021-07-15 2021-09-28 网易(杭州)网络有限公司 游戏的显示控制方法、装置、存储介质及电子设备
CN116271836A (zh) * 2022-09-06 2023-06-23 北京有竹居网络技术有限公司 一种场景视角调整方法、装置、终端及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110141855A (zh) * 2019-05-24 2019-08-20 网易(杭州)网络有限公司 视角控制方法、装置、存储介质及电子设备
CN111158469A (zh) * 2019-12-12 2020-05-15 广东虚拟现实科技有限公司 视角切换方法、装置、终端设备及存储介质
CN113117332A (zh) * 2021-04-22 2021-07-16 北京字跳网络技术有限公司 一种镜头视角的调整方法、装置、电子设备及存储介质
CN113440846A (zh) * 2021-07-15 2021-09-28 网易(杭州)网络有限公司 游戏的显示控制方法、装置、存储介质及电子设备
CN116271836A (zh) * 2022-09-06 2023-06-23 北京有竹居网络技术有限公司 一种场景视角调整方法、装置、终端及存储介质

Also Published As

Publication number Publication date
CN116271836A (zh) 2023-06-23

Similar Documents

Publication Publication Date Title
US9081477B2 (en) Electronic device and method of controlling the same
EP2178282B1 (en) Mobile terminal and method for controlling functions related to external devices
US8619028B2 (en) Mobile communication terminal, application program, image display control apparatus, electronic apparatus, and image display control method
US11604580B2 (en) Configuration of application execution spaces and sub-spaces for sharing data on a mobile touch screen device
US10541885B2 (en) System and method for negotiating control of a shared audio or visual resource
WO2024051633A1 (zh) 场景视角调整方法、装置、终端及存储介质
EP4044606B1 (en) View adjustment method and apparatus for target device, electronic device, and medium
EP3842106A1 (en) Method and device for processing control information, electronic equipment, and storage medium
WO2023138559A1 (zh) 虚拟现实交互方法、装置、设备和存储介质
WO2022183887A1 (zh) 视频编辑及播放方法、装置、设备、介质
WO2022206335A1 (zh) 图像显示方法、装置、设备及介质
CN114546227B (zh) 虚拟镜头控制方法、装置、计算机设备及介质
US11869195B2 (en) Target object controlling method, apparatus, electronic device, and storage medium
CN111710047A (zh) 一种信息展示方法、装置和电子设备
WO2020010977A1 (zh) 多世界虚拟场景中的虚拟通道渲染方法及装置
CN114168250A (zh) 页面显示方法、装置、电子设备和存储介质
US20150007036A1 (en) Electronic device for sharing question message and method of controlling the electronic device
CN116112744A (zh) 视频处理方法、装置、电子设备及存储介质
EP4125274A1 (en) Method and apparatus for playing videos
EP4274237A1 (en) Information display method and apparatus, and device and medium
WO2021244651A1 (zh) 信息显示方法、装置、终端及存储介质
CN114100121A (zh) 操作控制方法、装置、设备、存储介质及计算机程序产品
CN113490052A (zh) 一种终端设备、自由视点视频播放方法和服务器
CN112612397B (zh) 多媒体列表管理方法、装置、设备及存储介质
US20230405475A1 (en) Shooting method, apparatus, device and medium based on virtual reality space

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23862327

Country of ref document: EP

Kind code of ref document: A1