Method and apparatus for displaying virtual environment picture, device, and storage medium

US11878242B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11878242-B2
Application numberUS-202117516514-A
CountryUS
Kind codeB2
Filing dateNov 1, 2021
Priority dateApr 9, 2020
Publication dateJan 23, 2024
Grant dateJan 23, 2024

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

This application discloses a method for displaying a virtual environment picture performed by a computer device. The method includes: displaying a first virtual environment picture obtained by observing a virtual environment by using a first observation position; displaying, in response to receiving a first directional instruction generated by a first directional operation, a directional skill indicator pointing to a first direction; and in accordance with a determination that a length of the directional skill indicator is greater than a distance threshold in the first virtual environment picture, displaying a second virtual environment picture obtained by observing the virtual environment by using a second observation position, the second virtual environment picture including the directional skill indicator, and the second observation position being in the first direction of the first observation position or in a surrounding region in the first direction.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for displaying a virtual environment picture performed by a computer device, the method comprising: displaying a first virtual environment picture, the first virtual environment picture being a picture obtained by observing a virtual environment by using a first observation position as an observation center, the first virtual environment picture displaying a master virtual character located in the virtual environment; displaying, in response to receiving a first directional instruction generated by a first directional operation, a directional skill indicator pointing to a first direction, the directional skill indicator being a directional identifier that uses a position of the master virtual character as a starting point and that points to the first direction; and in accordance with a determination that a length of the directional skill indicator is greater than a distance threshold in the first virtual environment picture, displaying a second virtual environment picture, the second virtual environment picture being a picture obtained by observing the virtual environment by using a second observation position as the observation center, the second virtual environment picture comprising the directional skill indicator, and the second observation position being in the first direction of the first observation position or in a surrounding region in the first direction. 2. The method according to claim 1 , wherein the distance threshold is a visual field threshold that uses the position of the master virtual character as a starting point in the first virtual environment picture and that is in the first direction. 3. The method according to claim 1 , wherein the first virtual environment picture and the second virtual environment picture are pictures captured by a camera model disposed in the virtual environment, and the observation center is an intersection of a ray emitted from a position of the camera model along an observing direction and the virtual environment; and the displaying the second virtual environment picture comprises: obtaining an offset of the camera model in response to that the length of the directional skill indicator is greater than the distance threshold, the offset being used for determining a moving direction and a moving distance of the camera model; controlling, according to the offset, the camera model to move from a first camera position to a second camera position, an observation center of the camera model at the first camera position being the first observation position, and an observation center of the camera model at the second camera position being the second observation position; and displaying the second virtual environment picture according to the camera model at the second camera position, the second virtual environment picture comprising the directional skill indicator. 4. The method according to claim 3 , wherein the offset is calculated according to a visual field determining box, and the visual field determining box is configured to represent a visual field of the camera model; and the obtaining an offset of the camera model in response to that the length of the directional skill indicator is greater than the distance threshold comprises: obtaining the offset of the camera model in response to that the directional skill indicator is at least partially outside a first visual field determining box and according to a distance by which the directional skill indicator is at least partially outside the first visual field determining box, the first visual field determining box being a visual field determining box with the first observation position as a center. 5. The method according to claim 4 , wherein the obtaining the offset of the camera model in response to that the directional skill indicator is at least partially outside a first visual field determining box and according to a distance by which the directional skill indicator is at least partially outside the first visual field determining box comprises: obtaining an offset calculation point of the directional skill indicator, the offset calculation point being determined based on an end of the directional skill indicator; calculating, in response to that the offset calculation point is located outside the first visual field determining box, an exceeding distance by which the offset calculation point is at least partially outside the first visual field determining box; and determining the exceeding distance and the first direction as the moving distance and the moving direction of the offset of the camera model. 6. The method according to claim 5 , further comprising: displaying, in response to receiving a second directional instruction generated according to a second directional operation, that the directional skill indicator changes from pointing to the first direction to pointing to a second direction; controlling, in response to that the offset calculation point of the directional skill indicator that points to the second direction is located inside of a second visual field determining box, the camera model to move toward a default camera position until reach a third camera position, the second visual field determining box being a visual field determining box with the second observation position as a center point, and the default camera position being a position of the camera model in the virtual environment when the camera model is not offset; and displaying a third virtual environment picture according to the camera model at the third camera position, the third virtual environment picture comprising the directional skill indicator, an observation center of the camera model at the third camera position being a third observation position, the offset calculation point of the directional skill indicator in the third virtual environment picture being located on a side line of a third visual field determining box, the third visual field determining box being a visual field determining box with the third observation position as a center point. 7. The method according to claim 3 , wherein the offset is calculated according to the first direction; and the obtaining an offset of the camera model in response to that the length of the directional skill indicator is greater than the distance threshold comprises: obtaining the offset of the camera model according to the first direction and a fixed offset distance in response to that the length of the directional skill indicator is greater than the distance threshold, the fixed offset distance being a predetermined value. 8. The method according to claim 7 , wherein the obtaining the offset of the camera model according to the first direction and a fixed offset distance comprises: obtaining a first angle between the first direction and an x-axis of a ground coordinate system, the ground coordinate system being a rectangular coordinate system that uses the position of the master virtual character as an origin and that is established according to the observing direction of the camera model and parallel to a ground; determining the fixed offset distance corresponding to the first direction according to a quadrant or a coordinate axis at which the first direction is located in the ground coordinate system; and determining the offset of the camera model according to the first angle and the fixed offset distance corresponding to the first direction. 9. The method according to claim 8 , wherein the fixed offset distance comprises at least one of a longitudinal fixed offset distance and a transverse fixed offset distance; and the determining the offset of the camera model according to the first angle and the fixed offset distance corresponding to the first direction com

Assignees

Inventors

Classifications

  • by dynamically adapting the position of the virtual camera to keep a game object or game character in its viewing frustum, e.g. for tracking a character or a ball · CPC title

  • using trajectories of game objects, e.g. of a golf ball according to the point of impact · CPC title

  • characterized by output arrangements for receiving control signals generated by the game device · CPC title

  • A63F13/35Primary

    Details of game servers · CPC title

  • the surface being also a display device, e.g. touch screens · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11878242B2 cover?
This application discloses a method for displaying a virtual environment picture performed by a computer device. The method includes: displaying a first virtual environment picture obtained by observing a virtual environment by using a first observation position; displaying, in response to receiving a first directional instruction generated by a first directional operation, a directional skill …
Who is the assignee on this patent?
Tencent Tech Shenzhen Co Ltd
What technology area does this patent fall under?
Primary CPC classification A63F13/5258. Mapped technology areas include Human Necessities.
When was this patent published?
Publication date Tue Jan 23 2024 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 5 related publications on this page (citations in our corpus or others sharing the same primary CPC).