Navigation interface display method and apparatus, terminal, and storage medium
AssigneeTencent Technology (Shenzhen) Company Limited
InventorHonglong Zhang
Life of this patent
Estimating the term…
Abstract
A navigation interface display method includes: obtaining real-time environment information; determining a first interface component based on a first navigation scene corresponding to the real-time environment information, the first interface component including a first base map and a first sky box; and displaying a navigation interface obtained by fusing the first base map and the first sky box. The first base map indicates a road surface environment, the first sky box indicates a sky environment, and styles of interface components corresponding to different navigation scenes are different.
Claims20
A navigation interface display method, performed by a terminal, the method comprising:
- obtaining real-time environment information, the real-time environment information comprising real-time location information and real-time time information;
- determining a first interface component based on a first navigation scene corresponding to the real-time environment information, the first interface component comprising a first base map and a first sky box, the first base map indicating a road surface environment, the first sky box indicating a sky environment, styles of interface components corresponding to different navigation scenes being different, the first base map being connected to the first sky box;
- combining the first base map and the first sky box to obtain a first virtual scene;
- determining a skew angle of a virtual camera based on a skew angle adjustment range, a scale adjustment range, and a scaling operation;
- determining a display proportion of a first sky box display region to a maximum sky box display region as a monotonic function of the skew angle over the skew angle adjustment range;
- determining a sky box display region of the first sky box and a base map display region of the first base map based on the display proportion and the maximum sky box display region;
- and
- displaying a navigation interface based on a navigation picture obtained by photographing the first virtual scene via the virtual camera, the navigation picture comprising the sky box display region of the first sky box and the base map display region of the first base map.
A navigation interface display apparatus, the apparatus comprising:
- at least one processor and at least one memory, the at least one memory storing at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, the at least one program, the code set, or the instruction set being loaded and executed by the at least one processor to implement:
- obtaining real-time environment information, the real-time environment information comprising real-time location information and real-time time information;
- determining a first interface component based on a first navigation scene corresponding to the real-time environment information, the first interface component comprising a first base map and a first sky box, the first base map indicating a road surface environment, the first sky box indicating a sky environment, styles of interface components corresponding to different navigation scenes being different, the first base map being connected to the first sky box;
- combining the first base map and the first sky box to obtain a first virtual scene;
- determining a skew angle of a virtual camera based on a skew angle adjustment range, a scale adjustment range, and a scaling operation;
- determining a display proportion of a first sky box display region to a maximum sky box display region as a monotonic function of the skew angle over the skew angle adjustment range;
- determining a sky box display region of the first sky box and a base map display region of the first base map based on the display proportion and the maximum sky box display region;
- and
- displaying a navigation interface based on a navigation picture obtained by photographing the first virtual scene via the virtual camera, the navigation picture comprising the sky box display region of the first sky box and the base map display region of the first base map.
A non-transitory computer-readable storage medium, the computer-readable storage medium storing at least one computer instruction, and the at least one computer instruction being loaded and executed by at least one processor to implement:
- obtaining real-time environment information, the real-time environment information comprising real-time location information and real-time time information;
- determining a first interface component based on a first navigation scene corresponding to the real-time environment information, the first interface component comprising a first base map and a first sky box, the first base map indicating a road surface environment, the first sky box indicating a sky environment, and styles of interface components corresponding to different navigation scenes being different, the first base map being connected to the first sky box;
- combining the first base map and the first sky box to obtain a first virtual scene;
- determining a skew angle of a virtual camera based on a skew angle adjustment range, a scale adjustment range, and a scaling operation;
- determining a display proportion of a first sky box display region to a maximum sky box display region as a monotonic function of the skew angle over the skew angle adjustment range;
- determining a sky box display region of the first sky box and a base map display region of the first base map based on the display proportion and the maximum sky box display region;
- and
- displaying a navigation interface based on a navigation picture obtained by photographing the first virtual scene via the virtual camera, the navigation picture comprising the sky box display region of the first sky box and the base map display region of the first base map.
Dependencies are inferred from the claim text.