Method and apparatus for constructing building in virtual environment, device, and storage medium
US-11675488-B2 · Jun 13, 2023 · US
US12165254B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-12165254-B2 |
| Application number | US-202318504955-A |
| Country | US |
| Kind code | B2 |
| Filing date | Nov 8, 2023 |
| Priority date | Apr 9, 2020 |
| Publication date | Dec 10, 2024 |
| Grant date | Dec 10, 2024 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
This application discloses a method for operating virtual characters within a virtual environment performed by a computer device. The method includes: displaying a first virtual environment picture of a virtual environment by observing the virtual environment using a camera model at a first observation position; in response to receiving an aiming operation associated with the main master virtual character, determining a target region in the virtual environment where the master virtual character aims for releasing a skill; and in accordance with a determination that at least a portion of the target region is not within the first region: moving the camera model from the first observation position to a second observation position by an offset manner; and displaying a second virtual environment picture by observing the virtual environment using the camera model at the second first observation position, the second virtual environment picture comprising a second region such that the target region is within the second region.
Opening claim text (preview).
What is claimed is: 1. A method for operating virtual characters within a virtual environment performed by a computer device, the method comprising: displaying a first virtual environment picture of a virtual environment by observing the virtual environment using a camera model at a first observation position, the first virtual environment picture comprising a first region including a master virtual character located in the virtual environment; in response to receiving an aiming operation associated with the main master virtual character, determining a target region in the virtual environment where the master virtual character aims for releasing a skill; and in accordance with a determination that at least a portion of the target region is not within the first region: moving the camera model from the first observation position to a second observation position by an offset manner; and displaying a second virtual environment picture by observing the virtual environment using the camera model at the second first observation position, the second virtual environment picture comprising a second region such that the target region is within the second region. 2. The method according to claim 1 , wherein the target region is surrounded by a regional skill indicator in the second virtual environment picture indicating a skill action region by the skill after released by the master virtual character. 3. The method according to claim 2 , wherein the target region is not within the first region when a center point of the regional skill indicator is outside a visual field determining box associated with the first region. 4. The method according to claim 2 , wherein the target region is within the first region when a center point of the regional skill indicator is within a visual field determining box associated with the second region. 5. The method according to claim 2 , wherein the method further comprises: after the master virtual character releases the skill toward the target region, removing the regional skill indicator from the target region; moving the virtual camera from the second observation position back to the first observation position; and displaying a third virtual environment picture by observing the virtual environment using the camera model at the first observation position, the third virtual environment picture comprising the first region and a portion of the target region. 6. The method according to claim 1 , wherein the offset manner comprises a first offset manner, the first offset manner is a manner in which the camera model is offsetting based on a visual field determining box, and the visual field determining box is configured to indicate a visual field range of the camera model; and the moving the camera model from the first observation position to a second observation position according to an offset manner comprises: determining, in response to that a region reference point is located outside the visual field determining box, a first offset of the camera model in the first offset manner according to a distance between the region reference point and a frame of the visual field determining box, the region reference point being determined based on a center point of the target region; and moving the camera model from the first camera position to the second camera position according to the first offset. 7. The method according to claim 6 , wherein the determining, in response to that a region reference point is located outside the visual field determining box, a first offset of the camera model in the first offset manner according to a distance between the region reference point and a frame of the visual field determining box comprises: calculating a vertical distance between the region reference point and the frame of the visual field determining box in response to that the region reference point is located outside the visual field determining box, the vertical distance comprising at least one of a transverse vertical distance and a longitudinal vertical distance, the transverse vertical distance being a vertical distance between the region reference point and a longitudinal frame of the visual field determining box, and the longitudinal vertical distance being a vertical distance between the region reference point and a transverse frame of the visual field determining box; and determining the vertical distance as the first offset of the camera model in the first offset manner. 8. The method according to claim 1 , wherein the offset manner comprises a second offset manner, the second offset manner is a manner of offsetting based on an indication direction, and the indication direction is a direction pointing from a position at which the master virtual character is located to a center point of the target region; and the moving the camera model from the first observation position to a second observation position according to an offset manner comprises: determining a second offset of the camera model in the second offset manner according to the indication direction; and moving the camera model from the first observation position to the second observation position according to the second offset. 9. The method according to claim 8 , wherein the determining a second offset of the camera model in the second offset manner according to the indication direction comprises: obtaining an angle between the indication direction and a horizontal direction, the horizontal direction being parallel to a horizontal plane in the virtual environment and perpendicular to an observation direction of the camera model; obtaining a fixed offset distance of the camera model corresponding to the indication direction; obtaining an offset ratio of the camera model in the second offset manner, the offset ratio being used for instructing the camera model to move according to the ratio; and determining the second offset according to the angle, the fixed offset distance, and the offset ratio. 10. A computer device comprising a processor and a memory, the memory storing at least one program, the program being loaded and executed by the processor to perform a method for operating virtual characters within a virtual environment including: displaying a first virtual environment picture of a virtual environment by observing the virtual environment using a camera model at a first observation position, the first virtual environment picture comprising a first region including a master virtual character located in the virtual environment; in response to receiving an aiming operation associated with the main master virtual character, determining a target region in the virtual environment where the master virtual character aims for releasing a skill; and in accordance with a determination that at least a portion of the target region is not within the first region: moving the camera model from the first observation position to a second observation position by an offset manner; and displaying a second virtual environment picture by observing the virtual environment using the camera model at the second first observation position, the second virtual environment picture comprising a second region such that the target region is within the second region. 11. The computer device according to claim 10 , wherein the target region is surrounded by a regional skill indicator in the second virtual environment picture indicating a skill action region by the skill after released by the master virtual character. 12. The computer device according to claim 11 , wherein the target region is not within the first region when a center point of the regional skill indicator is outside a visual field determining
Camera pose · CPC title
Determining position or orientation of objects or cameras (camera calibration G06T7/80) · CPC title
Changing parameters of virtual cameras · CPC title
Role playing or strategy games · CPC title
details of game services offered to the player · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.