Display method and device of three-dimensional model, vehicle and medium

By adjusting the field of view angle and position by the virtual camera, flexible split-screen display of the three-dimensional model in the display screen is solved, which solves the problem of insufficient flexibility in split-screen display in the prior art and improves practicality and user experience.

CN120128751APending Publication Date: 2025-06-10GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311690663.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-09
Publication Date
2025-06-10

AI Technical Summary

Technical Problem

The prior art lacks flexibility and practicality when displaying three-dimensional scenes in split-screen display, making it difficult for users to meet the simultaneous display needs of multiple three-dimensional scenes.

Method used

By detecting split-screen display requests, the virtual camera is used to adjust the field of view angle and position according to the area setting information, and determine the target display area of ​​the three-dimensional model in the display screen, thereby realizing flexible split-screen display of the three-dimensional model.

Benefits of technology

It improves the flexibility and practicality of the split-screen display of three-dimensional models, and can flexibly determine the display area based on the moving position and field of view of the virtual camera, meeting the user's simultaneous display needs for multiple three-dimensional scenes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120128751A_ABST
    Figure CN120128751A_ABST
Patent Text Reader

Abstract

The invention is suitable for the technical field of automobiles, and provides a three-dimensional model display method and device, a vehicle and a medium, and the method comprises the steps: determining a to-be-displayed three-dimensional model according to a split-screen display request when the split-screen display request is detected; according to the area setting information, determining a target view angle and a target position of a virtual camera corresponding to the to-be-displayed three-dimensional model; adjusting the virtual camera to a target view angle and moving the virtual camera to a target position to obtain a target display area of the to-be-displayed three-dimensional model in the display screen; and displaying the to-be-displayed three-dimensional model in the target display area. Compared with the prior art, the method has the advantages that the display area of the three-dimensional model needing to be subjected to split-screen display on the display screen can be flexibly determined according to the moving position and the view angle of the virtual camera, and the flexibility and practicability of split-screen display of the three-dimensional model are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the technical field of automobiles, and particularly relates to a method and device for displaying a three-dimensional model, a vehicle, and a medium. Background Art

[0002] Currently, with the rapid development of software technology and in-vehicle systems, three-dimensional scenes have become popular on in-vehicle displays. The visual effects of three-dimensional scenes, the fluency of operation, and the smooth transitions of one-shot-through are beyond the reach of two-dimensional scenes. To improve the user experience and immersion in the car, multiple applications on the in-vehicle terminal can display three-dimensional scenes through a three-dimensional engine. When the user needs to present multiple three-dimensional scenes simultaneously, it is necessary to split the screen on the display screen used to present the three-dimensional scenes to present multiple three-dimensional scenes on the display screen.

[0003] The prior art usually divides the display area of the display screen equally according to the number of three-dimensional scenes to be displayed on the display screen, obtaining multiple display sub-areas, so that each three-dimensional scene is displayed in its corresponding display sub-area. It can be seen that the prior art has the problems of inflexible screen splitting method and low practicability. Summary of the Invention

[0004] The embodiments of this application provide a method and device for displaying a three-dimensional model, a vehicle, and a medium, which improve the flexibility and practicability of split-screen display of the three-dimensional model.

[0005] In a first aspect, the embodiments of this application provide a method for displaying a three-dimensional model, including:

[0006] When a split-screen display request is detected, determine the three-dimensional model to be displayed according to the split-screen display request;

[0007] According to the region setting information, determine the target field of view angle and target position of the virtual camera corresponding to the three-dimensional model to be displayed; wherein, the three-dimensional model to be displayed is constructed by a three-dimensional engine, and the virtual camera is provided in the three-dimensional engine; the virtual camera is used to set the display area of the three-dimensional model on the display screen according to the field of view angle and position;

[0008] Adjust the virtual camera to the target field of view angle and move it to the target position to obtain the target display area of the three-dimensional model to be displayed on the display screen;

[0009] Display the three-dimensional model to be displayed in the target display area.

[0010] Optionally, the area setting information includes size setting information and position setting information for the target display area; the determining the target field of view angle and target position of the virtual camera corresponding to the three-dimensional model to be displayed according to the area setting information includes:

[0011] Determining a first reception time of the size setting information and a second reception time of the position setting information;

[0012] If the first reception time is earlier than the second reception time, determining the target field of view angle according to the size setting information and determining the target position according to the position setting information;

[0013] If the second reception time is earlier than the first reception time, determining the target field of view angle according to the position setting information and determining the target position according to the size setting information.

[0014] Optionally, the adjusting the virtual camera to the target field of view angle and moving it to the target position includes:

[0015] If the first reception time is earlier than the second reception time, first adjusting the virtual camera to the target field of view angle and then moving the virtual camera to the target position;

[0016] If the second reception time is earlier than the first reception time, first moving the virtual camera to the target position and then adjusting the virtual camera to the target field of view angle.

[0017] Optionally, the area setting information includes size setting information and position setting information for the target display area; the determining the target field of view angle and target position of the virtual camera corresponding to the three-dimensional model to be displayed according to the area setting information includes:

[0018] If a specified operation is detected in a first preset area of the display screen, determining the target field of view angle according to the size setting information and determining the target position according to the position setting information;

[0019] If the specified operation is detected in a second preset area of the display screen, determining the target position according to the size setting information and determining the target field of view angle according to the position setting information.

[0020] Optionally, the area setting information includes position setting information and size setting information for the target display area; after determining the target field of view angle and target position of the virtual camera corresponding to the three-dimensional model to be displayed according to the area setting information, further includes:

[0021] If the target viewing angle is determined by the size setting information and the target position is determined by the position setting information, then determine that the angle adjustment method of the virtual camera is to adjust the field of view angle of the virtual camera, and determine that the position adjustment method of the virtual camera is to translate on a first plane parallel to the display screen;

[0022] Correspondingly, the adjusting the virtual camera to the target viewing angle and moving it to the target position includes:

[0023] Adjusting the field of view angle of the virtual camera to the target viewing angle and moving the virtual camera on the first plane to the target position.

[0024] Optionally, the area setting information includes position setting information and size setting information for the target display area; after determining the target viewing angle and target position of the virtual camera corresponding to the three-dimensional model to be displayed according to the area setting information, it further includes:

[0025] If the target viewing angle is determined by the position setting information and the target position is determined by the size setting information, then determine that the angle adjustment method of the virtual camera is to adjust the rotation angle of the virtual camera, and determine that the position adjustment method of the virtual camera is to translate in a second plane perpendicular to the display screen along the direction of approaching or departing from the display screen;

[0026] Correspondingly, the adjusting the virtual camera to the target viewing angle and moving it to the target position includes:

[0027] Adjusting the rotation angle of the virtual camera to the target viewing angle and moving the virtual camera in the second plane along the direction of approaching the display screen to the target position.

[0028] Optionally, the three-dimensional model to be displayed is any one of the preset three-dimensional models that are full-screen displayed on the display screen; displaying the three-dimensional model to be displayed in the target display area includes:

[0029] Covering and displaying the three-dimensional model to be displayed above the initial three-dimensional model, where the initial three-dimensional model is the three-dimensional model included in the preset three-dimensional models and displayed within the target display area.

[0030] In a second aspect, an embodiment of the present application provides a display device for a three-dimensional model, including:

[0031] A data determination unit, configured to determine a three-dimensional model to be displayed according to the split-screen display request when detecting the split-screen display request;

[0032] An information determination unit, configured to determine a target field of view angle and a target position of a virtual camera corresponding to the three-dimensional model to be displayed according to the regional setting information; wherein, the three-dimensional model to be displayed is constructed by a three-dimensional engine, and the virtual camera is provided in the three-dimensional engine; the virtual camera is used to set a display area of the three-dimensional model on the display screen according to the field of view angle and position.

[0033] A first adjustment unit, configured to adjust the virtual camera to the target field of view angle and move it to the target position to obtain a target display area of the three-dimensional model to be displayed on the display screen.

[0034] A first display unit, configured to display the three-dimensional model to be displayed in the target display area.

[0035] In a third aspect, an embodiment of the present application provides a vehicle-mounted terminal, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the display method of the three-dimensional model according to any one of the above first aspects is implemented.

[0036] In a fourth aspect, an embodiment of the present application provides a vehicle, including a vehicle-mounted terminal, and the vehicle-mounted terminal is used to execute the display method of the three-dimensional model according to any one of the first aspects.

[0037] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the display method of the three-dimensional model according to any one of the above first aspects is implemented.

[0038] In a sixth aspect, an embodiment of the present application provides a computer program product. When the computer program product runs on a vehicle-mounted terminal, the vehicle-mounted terminal can execute the display method of the three-dimensional model according to any one of the above first aspects.

[0039] The beneficial effects of the embodiments of the present application compared with the prior art are as follows:

[0040] Compared with the prior art, the present method can flexibly determine the display area of the three-dimensional model to be split-screen displayed on the display screen according to the moving position and field of view angle of the virtual camera, improving the flexibility and practicability of split-screen display of the three-dimensional model. Description of the Drawings

[0041] To more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0042] Figure 1 It is a flowchart of the implementation of the method for displaying a 3D model provided by an embodiment of the present application;

[0043] Figure 2 It is a schematic structural diagram of an input box provided by an embodiment of the present application;

[0044] Figure 3 It is a schematic diagram of an operation on a first set area provided by an embodiment of the present application;

[0045] Figure 4 It is a schematic diagram of an operation on a second set area provided by an embodiment of the present application;

[0046] Figure 5 It is a flowchart of the implementation of the method for displaying a 3D model provided by another embodiment of the present application;

[0047] Figure 6 It is a flowchart of the implementation of the method for displaying a 3D model provided by still another embodiment of the present application;

[0048] Figure 7 It is a flowchart of the implementation of the method for displaying a 3D model provided by yet another embodiment of the present application;

[0049] Figure 8 It is a flowchart of the implementation of the method for displaying a 3D model provided by yet another embodiment of the present application;

[0050] Figure 9 It is a schematic diagram of determining the target display area of the 3D model to be displayed provided by an embodiment of the present application;

[0051] Figure 10 It is a schematic diagram of determining the target display area of the 3D model to be displayed provided by another embodiment of the present application;

[0052] Figure 11 It is a schematic diagram of determining the target display area of the 3D model to be displayed provided by still another embodiment of the present application;

[0053] Figure 12 It is a schematic diagram of determining the target display area of the 3D model to be displayed provided by yet another embodiment of the present application;

[0054] Figure 13 It is a schematic structural diagram of the display device for the 3D model provided by an embodiment of the present application;

[0055] Figure 14 It is a schematic structural diagram of an in-vehicle terminal provided by an embodiment of the present application. Specific embodiments

[0056] In the following description, specific details such as specific system structures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present application. However, those skilled in the art should clearly understand that the present application can also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid unnecessary details from interfering with the description of the present application.

[0057] In all embodiments of the present application, the in-vehicle terminal of the vehicle is provided with a 3D engine, and the 3D engine is used to construct a 3D model.

[0058] In practical applications, a three-dimensional (3D) engine is a set of algorithm implementations that abstract substances in reality into forms such as polygons or various curves, perform related calculations in a computer, and output the final image.

[0059] The 3D engine can be any one of the Unity 3D engine, the Unreal 3D engine, the Cocos 3D engine, or the Kanzi 3D engine, etc. The type of the 3D engine is not limited here, and it can be specifically set according to actual needs.

[0060] It should be noted that at least one virtual camera is provided in the 3D engine in all embodiments of the present application, and each virtual camera is used to adjust the display area of the 3D model on the display screen according to its own field of view angle and its own position.

[0061] In the embodiment of the present application, the display screen communicatively connected to the in-vehicle terminal can be a touch screen.

[0062] Please refer to Figure 1 , Figure 1 It is a flowchart of the implementation of a method for displaying a 3D model provided by an embodiment of the present application. In the embodiment of the present application, the execution subject of the method for displaying the 3D model is an in-vehicle terminal.

[0063] As Figure 1 shown, the method for displaying a 3D model provided by an embodiment of the present application may include S101 to S104, which are described in detail as follows:

[0064] In S101, when a split-screen display request is detected, determine the 3D model to be displayed according to the split-screen display request.

[0065] In an embodiment of the present application, when a display screen in a vehicle is displaying a certain preset three-dimensional model (such as a three-dimensional vehicle model), when a user needs to display a certain three-dimensional sub-model in the three-dimensional model in a split screen, a split-screen display request can be sent to the display screen. Among them, the three-dimensional model includes a variety of three-dimensional sub-models.

[0066] Exemplarily, taking the display screen displaying a three-dimensional vehicle model as an example, all items included in the three-dimensional vehicle model are three-dimensional sub-models. For example, a teddy bear doll located at the co-pilot seat of the three-dimensional vehicle model is a three-dimensional sub-model, and any item worn on the teddy bear doll is also a three-dimensional sub-model.

[0067] In an implementation manner of the embodiment of the present application, when the in-vehicle terminal detects a setting operation on the display screen, it can determine that the above-mentioned split-screen display request is detected. Among them, the setting operation can be set according to actual needs and is not limited here. Exemplarily, the setting operation can be clicking on a certain three-dimensional sub-model in the three-dimensional model displayed on the display screen.

[0068] It should be noted that the in-vehicle terminal pre-stores the corresponding relationship between different three-dimensional sub-models and different model identifiers. Based on this, in this embodiment, when the in-vehicle terminal detects that a certain three-dimensional sub-model in the three-dimensional model displayed on the display screen is clicked, it can determine the model identifier corresponding to the three-dimensional sub-model according to the above corresponding relationship, and generate a split-screen display request according to the model identifier.

[0069] Among them, the model identifier includes but is not limited to numbers, letters, etc.

[0070] In an embodiment of the present application, when the in-vehicle terminal detects the above-mentioned split-screen display request, it can extract the above-mentioned scene identifier from the split-screen display request, and determine the three-dimensional model to be displayed in a split screen according to the scene identifier.

[0071] In some possible embodiments, when the user's finger performs the above-mentioned setting operation on the display screen, the display screen in the vehicle detects the above-mentioned setting operation and sends the setting operation to the 3D desktop system in the vehicle. When the 3D desktop system detects that the request corresponding to the above-mentioned setting operation is a split-screen display request, the 3D desktop system sends the split-screen instruction to the 3D engine in the vehicle through the desktop communication service system. At this time, the 3D engine controls a new virtual camera to be added in the virtual camera system therein, so that the in-vehicle terminal can carry the three-dimensional model to be displayed in a split screen by controlling the newly added virtual camera.

[0072] It should be noted that each virtual camera in the virtual camera system can carry a three-dimensional model, that is, one virtual camera corresponds to one three-dimensional model.

[0073] In S102, according to the region setting information, determine the target field of view angle and target position of the virtual camera corresponding to the three-dimensional model to be displayed; wherein, the three-dimensional model to be displayed is constructed by a three-dimensional engine, and the virtual camera is provided in the three-dimensional engine; the virtual camera is used to set the display area of the three-dimensional model on the display screen according to the field of view angle and position.

[0074] In the embodiment of the present application, after detecting the split-screen display request, the vehicle-mounted terminal can control the display screen to be in the adjusted split-screen state to receive the region setting information input by the user. Among them, the region setting information refers to the setting information for the target display area of the three-dimensional model to be displayed.

[0075] The region setting information includes but is not limited to: size setting information and position setting information. Among them, the size setting information is the setting information for the size of the target display area, and the position setting information is the setting information for the position of the target display area.

[0076] In some possible embodiments, when the display screen is in the adjusted split-screen state, the vehicle-mounted terminal can control the display screen to display an input box within the range where the three-dimensional model to be displayed is located on the display screen. Based on this, the user can input the above region setting information in the input box.

[0077] Exemplarily, please refer to Figure 2 , Figure 2 which is a schematic structural diagram of the input box provided by an embodiment of the present application. As Figure 2 shown, D is the full-screen area of the display screen, C is the three-dimensional model to be displayed, and E is the input box.

[0078] In one implementation manner of this embodiment, the user can input text information in the above input box, and this text information is the region setting information.

[0079] Exemplarily, please refer to Figure 2 , Figure 2 which is a schematic structural diagram of the input box provided by an embodiment of the present application. As Figure 2 shown, D is the full-screen area of the display screen, C is the three-dimensional model to be displayed, and E is the input box.

[0080] In another implementation manner of this embodiment, the user can also drag the above input box, that is, the user's finger slides in the input box. After that, the vehicle-mounted terminal can determine the region setting information according to the above finger movement of the user.

[0081] Exemplarily, please continue to refer to Figure 2 , as Figure 2As shown in (b), when a finger of the user slides a certain distance up / down / left / right in the input box E, the vehicle-mounted terminal can determine that the target display area needs to move a certain distance up / down / left / right, that is, the position setting information of the target display area is determined.

[0082] Please continue to refer to Figure 2 , such as Figure 2 As shown in (c), when two fingers of the user slide a certain distance in different directions from the center of the input box E in the input box E, the vehicle-mounted terminal can determine that the target display area needs to expand by a certain size in different directions, that is, the size setting information of the target display area is determined; when two fingers of the user slide a certain distance from different directions of the input box E to the center of the input box E, the vehicle-mounted terminal can determine that the target display area needs to shrink by a certain size, that is, the size setting information of the target display area is determined.

[0083] In the embodiments of the present application, multiple setting areas are set on the screen of the display screen, including but not limited to the first setting area and the second setting area, and different setting areas correspond to different setting information.

[0084] In some possible embodiments, the vehicle-mounted terminal sets the setting information corresponding to the first setting area as size setting information, and the vehicle-mounted terminal sets the setting information corresponding to the second setting area as position setting information.

[0085] Based on this, in this embodiment, when the vehicle-mounted terminal detects a first preset operation in the first setting area of the display screen, it can determine that the setting information for the size of the target display area is detected. Therefore, the vehicle-mounted terminal can obtain the size setting information for the target display area according to the above first preset operation. Among them, the first preset operation can be set according to actual needs and is not limited here.

[0086] In some possible embodiments, the first preset operation may include: a sliding operation.

[0087] Exemplarily, please refer to Figure 3 , Figure 3 is an operation schematic diagram for the first setting area provided by an embodiment of the present application. As Figure 3 shown, D is the full-screen area of the display screen, A is the display area where the three-dimensional model to be displayed is located, E1 is the first setting area. In the first setting area E1, when a finger of the user slides a certain distance up / down / left / right, the vehicle-mounted terminal can determine that the target display area needs to be enlarged or reduced by a certain size, that is, the size setting information of the target display area is determined.

[0088] In this embodiment, when the vehicle-mounted terminal detects a second preset operation in the second set area of the display screen, it can determine the setting information for the position of the target display area. Therefore, the vehicle-mounted terminal can obtain the position setting information for the target display area according to the above-mentioned second preset operation. The second preset operation can be set according to actual needs and is not limited here.

[0089] It should be noted that the first preset operation and the second preset operation can be the same or different.

[0090] In some possible embodiments, the second preset operation may also include: a sliding operation.

[0091] Exemplarily, please refer to Figure 4 , Figure 4 is an operation schematic diagram for the second set area provided by an embodiment of the present application. As Figure 4 shown, D is the full-screen area of the display screen, A is the display area where the three-dimensional model to be displayed is located, E2 is the second set area. In the second set area E2, when the user's finger slides up / down / left / right a certain distance, the vehicle-mounted terminal can determine that the target display area needs to move up / down / left / right a certain distance, that is, the position setting information of the target display area is determined.

[0092] In this embodiment, after the vehicle-mounted terminal obtains the area setting information, since the virtual camera is used to adjust the display area of the three-dimensional model on the display screen according to its own field of view angle and its own adjustment, the vehicle terminal can determine the target field of view angle and target position of the virtual camera corresponding to the three-dimensional model to be displayed according to the area setting information, so as to determine the target display area of the three-dimensional model to be displayed, and then realize the split-screen display of the three-dimensional model to be displayed.

[0093] The target field of view angle includes but is not limited to the field of view angle and / or the rotation angle.

[0094] The target position refers to the three-dimensional space position of the virtual camera.

[0095] In an embodiment of the present application, in practical applications, when the virtual camera adjusts the display area of the three-dimensional model on the display screen according to the field of view angle, when the size of the field of view angle of the virtual camera is different, the size of the three-dimensional model presented within the field of view angle is different. That is to say, when the vehicle-mounted terminal needs to adjust the size of the display area of the three-dimensional model to be displayed, it needs to adjust the size of the field of view angle. That is, the vehicle-mounted terminal can determine the size of the target field of view angle of the virtual camera according to the size setting information in the area setting information.

[0096] It should be noted that different sizes of the viewing angle can be achieved through different field-of-view angles of the virtual camera. Therefore, the vehicle-mounted terminal can determine the field-of-view angle of the virtual camera according to the size setting information in the area setting information, and thus determine the size of the target viewing angle of the virtual camera.

[0097] In addition, when the viewing directions of the viewing angles of the virtual camera are different, the three-dimensional models presented are at different positions. That is to say, when the vehicle-mounted terminal needs to adjust the position of the target display area of the three-dimensional model to be displayed, it needs to adjust the viewing direction of the viewing angle. That is, the vehicle-mounted terminal can determine the viewing direction of the target viewing angle of the virtual camera according to the position setting information in the area setting information.

[0098] It should be noted that different viewing directions of the viewing angle can be achieved through different positions of the virtual camera on the first plane parallel to the display screen. Therefore, the vehicle-mounted terminal can determine the position of the virtual camera on the above-mentioned first plane according to the position setting information in the area setting information, and thus determine the viewing direction of the target viewing angle of the virtual camera.

[0099] Based on this, in this embodiment, the vehicle-mounted terminal can determine the field-of-view angle of the virtual camera corresponding to the three-dimensional model to be displayed, that is, the target viewing angle, according to the area setting information, and can determine the target position of the virtual camera corresponding to the three-dimensional model to be displayed on the first plane according to the area setting information, and further determine the target display area of the three-dimensional model to be displayed, so as to realize the split-screen display of the three-dimensional model to be displayed.

[0100] It should be noted that when the vehicle-mounted terminal adjusts the viewing angle (i.e., the field-of-view angle) of the virtual camera, the three-dimensional spatial position of the virtual camera remains fixed; at the same time, when the vehicle-mounted terminal adjusts the position of the virtual camera, the viewing angle (i.e., the field-of-view angle) of the virtual camera remains unchanged.

[0101] In another embodiment of the present application, in practical applications, when the virtual camera adjusts the display area of the three-dimensional model to be displayed on the display screen according to its own three-dimensional spatial position, when the vertical distance between the virtual camera and the display screen is different, the size of the three-dimensional model presented within the viewing angle is different. That is to say, when the vehicle-mounted terminal needs to adjust the size of the display area of the three-dimensional model to be displayed, it can adjust the distance between the virtual camera and the display screen. That is, the vehicle-mounted terminal can determine the target position of the virtual camera on the second plane perpendicular to the display screen according to the size setting information in the area setting information.

[0102] In addition, when the viewing directions of the viewing angles of the virtual camera are different, the three-dimensional models presented are at different positions. That is to say, when the vehicle-mounted terminal needs to adjust the position of the target display area of the three-dimensional model to be displayed, it can adjust the viewing direction of the viewing angle, that is, the vehicle-mounted terminal can determine the viewing direction of the target viewing angle of the virtual camera according to the position setting information in the area setting information.

[0103] It should be noted that different viewing directions of the viewing angle can be achieved by different rotation angles of the virtual camera. Therefore, the vehicle-mounted terminal can determine the rotation angle of the virtual camera according to the position setting information in the area setting information, and thus determine the viewing direction of the target viewing angle of the virtual camera.

[0104] Based on this, in this embodiment, the vehicle-mounted terminal can determine the rotation angle of the virtual camera corresponding to the three-dimensional model to be displayed, that is, the target viewing angle, according to the area setting information, and can determine the target position of the virtual camera corresponding to the three-dimensional model to be displayed in the second plane according to the area setting information, and then determine the target display area of the three-dimensional model to be displayed, so as to realize the split-screen display of the three-dimensional model to be displayed.

[0105] It should be noted that when the vehicle-mounted terminal adjusts the viewing angle (i.e., the rotation angle) of the virtual camera, the three-dimensional spatial position of the virtual camera remains fixed; at the same time, when the vehicle-mounted terminal adjusts the position of the virtual camera, the viewing angle (i.e., the rotation angle) of the virtual camera remains unchanged.

[0106] In an embodiment of the present application, the three-dimensional spatial position of the virtual camera can not only control the different sizes of the viewing angles of the virtual camera, but also determine the different viewing directions of the viewing angles of the virtual camera. At the same time, the size of the field of view angle of the virtual camera can control the different sizes of the viewing angles of the virtual camera, and the rotation angle of the virtual camera can determine the different viewing directions of the viewing angles of the virtual camera. Therefore, in order to accurately determine the adjustment method of the virtual camera to improve the determination accuracy of the target viewing angle and the target position, the vehicle-mounted terminal can specifically pass through Figure 5 the steps S201 to S203 shown to determine the target viewing angle and the target position of the virtual camera, which are described in detail as follows:

[0107] In S201, determine the first reception time of the size setting information and the second reception time of the position setting information.

[0108] In S202, if the first reception time is earlier than the second reception time, determine the target viewing angle according to the size setting information and determine the target position according to the position setting information.

[0109] In S203, if the second reception time is earlier than the first reception time, determine the target viewing angle according to the position setting information, and determine the target position according to the size setting information.

[0110] In this embodiment, the vehicle-mounted terminal pre-stores the correspondence between different time sequences and the determination methods of the target viewing angle and the target position. Among them, the time sequence is used to describe the sequence of the first reception time of the size setting information and the second reception time of the position setting information.

[0111] The determination methods include but are not limited to: the first determination method of determining the target viewing angle according to the size setting information and determining the target position according to the position setting information, and the second determination method of determining the target position according to the size setting information and determining the target viewing angle according to the position setting information.

[0112] In some possible embodiments, the vehicle-mounted terminal can set the determination method corresponding to the first reception time being earlier than the second reception time as the first determination method, and the vehicle-mounted terminal can set the determination method corresponding to the second reception time being earlier than the first reception time as the second determination method.

[0113] Based on this, in this embodiment, when the vehicle-mounted terminal detects that the first reception time is earlier than the second reception time, it can determine the target viewing angle of the virtual camera according to the size setting information, and determine the target position of the virtual camera according to the position setting information.

[0114] When the vehicle-mounted terminal detects that the second reception time is earlier than the first reception time, it can determine the target viewing angle of the virtual camera according to the position setting information, and determine the target position of the virtual camera according to the size setting information.

[0115] In another embodiment of the present application, multiple preset areas can be set on the screen of the display screen, including but not limited to the first preset area and the second preset area, and the vehicle-mounted terminal can pre-set the correspondence between different preset areas and different adjustment methods. Among them, the adjustment methods include but are not limited to: the first adjustment method and the second adjustment method. The first adjustment method refers to adjusting the viewing angle of the virtual camera according to the size setting information (that is, determining the target viewing angle according to the size setting information) and adjusting the position of the virtual camera according to the position setting information (that is, determining the target position according to the position setting information). The second adjustment method refers to adjusting the position of the virtual camera according to the size setting information (that is, determining the target position according to the size setting information) and adjusting the viewing angle of the virtual camera according to the position setting information (that is, determining the target viewing angle according to the position setting information).

[0116] It should be noted that, in combination with S101, both the first preset area and the second preset area include a first set area and a second set area.

[0117] In some possible embodiments, the adjustment method corresponding to the first preset area where the vehicle-mounted terminal can be set is the first adjustment method, and the adjustment method corresponding to the second preset area where the vehicle-mounted terminal can be set is the second adjustment method.

[0118] Based on this, in order to improve the determination accuracy of the target viewing angle and the target position, the vehicle-mounted terminal can specifically also determine the target viewing angle and the target position of the virtual camera through steps S301 to S302 as shown below, which are described in detail as follows: Figure 6 As shown, the target viewing angle and the target position of the virtual camera are determined by steps S301 to S302, which are described in detail as follows:

[0119] In S301, if a specified operation is detected in the first preset area of the display screen, the target viewing angle is determined according to the size setting information, and the target position is determined according to the position setting information.

[0120] In S302, if the specified operation is detected in the second preset area of the display screen, the target position is determined according to the size setting information, and the target viewing angle is determined according to the position setting information.

[0121] In this embodiment, when the vehicle-mounted terminal detects a specified operation in the first preset area of the display screen, according to the above-pre-set corresponding relationship, the vehicle-mounted terminal can determine the target viewing angle of the virtual camera according to the size setting information, and determine the target position of the virtual camera according to the position setting information. Among them, the specified operation can be set according to actual needs and is not limited here.

[0122] When the vehicle-mounted terminal detects a specified operation in the second preset area of the display screen, according to the above-pre-set corresponding relationship, the vehicle-mounted terminal can determine the target position of the virtual camera according to the size setting information, and determine the target viewing angle of the virtual camera according to the position setting information.

[0123] In S103, the virtual camera is adjusted to the target viewing angle and moved to the target position to obtain the target display area of the to-be-displayed three-dimensional model on the display screen.

[0124] In the embodiment of the present application, after the vehicle-mounted terminal obtains the target viewing angle and the target position, since the viewing range of the virtual camera is different at different positions and / or different viewing angles, the vehicle-mounted terminal can adjust the virtual camera to the target viewing angle and move it to the target position to obtain the target display area of the to-be-displayed three-dimensional model on the display screen.

[0125] In an embodiment of the present application, in combination with S201 - S202, since the receiving times of the size setting information and the position setting information are different, the subsequent adjustment information for the viewing angle and position of the virtual camera is also different. Therefore, in order to improve the adjustment accuracy of the virtual camera, the vehicle-mounted terminal can specifically adjust the virtual camera to the target viewing angle and move it to the target position through the following steps, which are described in detail as follows:

[0126] If the first receiving time is earlier than the second receiving time, first adjust the virtual camera to the target viewing angle, and then move the virtual camera to the target position;

[0127] If the second receiving time is earlier than the first receiving time, first move the virtual camera to the target position, and then adjust the virtual camera to the target viewing angle.

[0128] In this embodiment, when the vehicle-mounted terminal detects that the first receiving time is earlier than the second receiving time, it indicates that the viewing angle of the virtual camera needs to be adjusted first, and then the position of the virtual camera needs to be moved. Therefore, the vehicle-mounted terminal can first adjust the viewing angle of the virtual camera to the target viewing angle, and then move the position of the virtual camera, so that the virtual camera moves to the target position based on the target viewing angle.

[0129] When the vehicle-mounted terminal detects that the second receiving time is earlier than the first receiving time, it indicates that the position of the virtual camera needs to be moved first, and then the viewing angle of the virtual camera needs to be adjusted. Therefore, the vehicle-mounted terminal can first move the position of the virtual camera to the target position, and then adjust the viewing angle of the virtual camera, so that the virtual camera is adjusted to the target viewing angle based on the target position.

[0130] In S104, display the three-dimensional model to be displayed in the target display area.

[0131] In an embodiment of the present application, the vehicle-mounted terminal can control the display screen to display the three-dimensional model to be displayed in the target display area, thereby realizing the split-screen display of the three-dimensional model to be displayed.

[0132] It should be noted that, in combination with S101, when the vehicle-mounted terminal controls the display screen to display the three-dimensional model to be displayed in the target display area, the display screen is still displaying the preset three-dimensional model.

[0133] In some possible embodiments, the vehicle-mounted terminal can control the display screen to display the above three-dimensional model in other areas except the target display area.

[0134] In some other possible embodiments, the vehicle-mounted terminal may control the display screen to still display the above three-dimensional model in full screen, and at the same time, display the three-dimensional model to be displayed above the initial three-dimensional model. The initial three-dimensional model is the three-dimensional model included in the above three-dimensional model and displayed within the target display area.

[0135] In an embodiment of the present application, the three-dimensional model to be displayed includes, but is not limited to, multiple sub-three-dimensional models. Therefore, when the vehicle-mounted terminal detects a split-screen operation by the user for any one of the sub-three-dimensional models, it can continue to execute steps S101 to S104 to implement split-screen display of any one of the above sub-three-dimensional models.

[0136] As can be seen from the above, a method for displaying a three-dimensional model provided by an embodiment of the present application, compared with the prior art, can flexibly determine the display area of the three-dimensional model to be split-screen displayed on the display screen according to the moving position and viewing angle of the virtual camera, improving the flexibility and practicality of split-screen display of the three-dimensional model.

[0137] In an embodiment of the present application, due to the three-dimensional spatial position of the virtual camera, it can not only control different sizes of the viewing angle of the virtual camera, but also determine different viewing directions of the viewing angle of the virtual camera. At the same time, the size of the field of view angle of the virtual camera can control different sizes of the viewing angle of the virtual camera, and the rotation angle of the virtual camera can determine different viewing directions of the viewing angle of the virtual camera. Therefore, in order to improve the adjustment accuracy of the virtual camera, when the target viewing angle of the virtual camera is determined by the size setting information and the target position of the virtual camera is determined by the position setting information, the vehicle-mounted terminal can execute steps S401 to S402 as Figure 7 shown. The specific implementation details can be seen in the specific steps of the embodiment as Figure 7 shown, which will not be elaborated here.

[0138] When the target viewing angle of the virtual camera is determined by the position setting information and the target position of the virtual camera is determined by the size setting information, the vehicle-mounted terminal can execute steps S501 to S502 as Figure 8 shown. The specific implementation details can be seen in the specific steps of the embodiment as Figure 8 shown, which will not be elaborated here.

[0139] Please refer to Figure 7 , Figure 7 which is a flowchart of the implementation of a method for displaying a three-dimensional model provided by another embodiment of the present application. As Figure 7 shown, relative to Figure 1 the corresponding embodiment, after S102 in this embodiment, it may further include S401; correspondingly, S103 may specifically include S402, which are described in detail as follows:

[0140] In S401, if the target viewing angle is determined by the size setting information and the target position is determined by the position setting information, it is determined that the angle adjustment method of the virtual camera is to adjust the field of view angle of the virtual camera, and the position adjustment method of the virtual camera is to translate on a first plane parallel to the display screen.

[0141] In this embodiment, when the vehicle-mounted terminal detects that the target viewing angle is determined by the size setting information and the target position is determined by the position setting information, it indicates that the vehicle-mounted terminal controls the size of the viewing angle of the virtual camera by the size of the field of view angle of the virtual camera. At the same time, the vehicle-mounted terminal determines the viewing direction of the viewing angle of the virtual camera by translating the virtual camera on a first plane parallel to the display screen. Therefore, the vehicle-mounted terminal can determine that the angle adjustment method of the virtual camera is to adjust the field of view angle of the virtual camera, and the position adjustment method of the virtual camera is to translate on a first plane parallel to the display screen.

[0142] In S402, adjust the field of view angle of the virtual camera to the target viewing angle, and move the virtual camera to the target position on the first plane.

[0143] In an embodiment of the present application, the vehicle-mounted terminal pre-stores the correspondence between different sizes of the target display area in the display screen and different field of view angles of the virtual camera. Therefore, when the size setting information is used to describe the target size of the target display area, the vehicle-mounted terminal can directly determine the target field of view angle of the virtual camera, that is, the target viewing angle, according to the size setting information and the above correspondence.

[0144] At the same time, the vehicle-mounted terminal pre-stores the correspondence between different positions of the target display area on the display screen and different positions of the virtual camera on the first plane. Therefore, when the position setting information is used to describe the target position of the target display area on the display screen, the vehicle-mounted terminal can directly determine the target position of the virtual camera on the first plane according to the position setting information and the above correspondence.

[0145] Based on this, the vehicle-mounted terminal can adjust the field of view angle of the virtual camera to the target viewing angle and move the virtual camera to the target position on the first plane.

[0146] In another embodiment of the present application, when the area setting information is used to adjust the size and / or position of the initial display area of the three-dimensional model to be displayed to obtain the target display area corresponding to the three-dimensional model to be displayed, after the vehicle-mounted terminal determines the three-dimensional model to be displayed and before determining the target field of view angle of the virtual camera, the vehicle-mounted terminal may display a reference area of the three-dimensional model to be displayed on the display screen, so that the user can determine the target display area of the three-dimensional model to be displayed based on this reference area. Therefore, the vehicle-mounted terminal may display the three-dimensional model to be displayed in the initial display area of the display screen.

[0147] In this embodiment, the vehicle-mounted terminal may obtain the first distance between the virtual camera and the display screen surface, and obtain the area size information of the initial display area. The area size information includes, but is not limited to, the length and width of the initial display area.

[0148] Among them, the area of the initial display area is set to one-fourth of the area of the full-screen area of the display screen, that is, the length of the initial display area is one-half of the length of the full-screen area, and the width of the initial display area is one-half of the width of the full-screen area.

[0149] It should be noted that the first distance specifically refers to the vertical distance between the virtual camera and the display screen.

[0150] The projection of the virtual camera on the display screen is an end point of the first side that is parallel to the top of the display screen and close to the top of the display screen in the initial display area. It can be understood that the projection of the virtual camera on the display screen is the center of the side close to the top of the full-screen area of the display screen.

[0151] Based on this, the vehicle-mounted terminal may determine the target field of view angle of the virtual camera, that is, the target field of view angle, according to the above area size information, size setting information, and the first distance.

[0152] In some possible embodiments, the vehicle-mounted terminal may detect the initial field of view angle of the virtual camera when the three-dimensional model to be displayed is displayed in the initial display area, and determine the reference size adjustment range at the reference vertical distance between the virtual camera and the display screen corresponding to the reference degree of the field of view angle.

[0153] In this embodiment, the vehicle-mounted terminal may determine the initial size of the initial display area according to the area size information, determine the target size of the target display area according to the area size information and the size setting information, and determine the distance ratio according to the first distance between the virtual camera and the display screen and the above reference distance.

[0154] After that, the in-vehicle terminal can determine the size amplitude ratio according to the distance ratio, and calculate the adjustment degree of the field of view angle of the virtual camera based on the size amplitude ratio, the reference size adjustment amplitude, the initial size, the target size, and the reference degree.

[0155] Specifically, the adjustment degree of the field of view angle of the virtual camera = (target size - initial size) / (size amplitude ratio * reference size adjustment amplitude) * reference degree.

[0156] Based on this, the in-vehicle terminal can sum the above initial field of view angle and the adjustment degree of the field of view angle, and determine the sum as the target field of view angle of the virtual camera, so as to obtain the target field of view angle.

[0157] In some other possible embodiments, the size setting information includes but is not limited to the change direction of the initial display area and the change amplitude of the side length. Specifically, the change amplitude of the side length refers to the change amplitude of the second side parallel to the change direction in the initial display area along the change direction.

[0158] It should be noted that the change direction of the initial display area includes but is not limited to: left, right, up, and down. Among them, the change direction of the initial display area is subject to the direction determined by the user facing the display screen.

[0159] Exemplarily, assuming that the change direction of the initial display area is downwards, the change amplitude of the side length specifically refers to the change amplitude of the second side parallel to the change direction in the initial display area downwards.

[0160] In this embodiment, the in-vehicle terminal can calculate the initial field of view angle of the virtual camera before any adjustment according to the above first distance and the first side parallel to the top of the display screen and close to the top of the display screen in the initial display area.

[0161] Specifically, when the change direction of the initial display area is to the right, the initial field of view angle can be calculated according to the following formula:

[0162]

[0163] Among them, α 1 represents the initial field of view angle, H represents the first distance, and l 1 represents the length of the first side.

[0164] Exemplarily, please refer to Figure 9 , Figure 9 which is a schematic diagram of determining the target display area of the three-dimensional model to be displayed provided by an embodiment of the present application. As Figure 9As shown in (a) of [reference], D is the full - screen area of the display screen, S is the virtual camera, S′ is the projection point of the virtual camera on the display screen, A is the initial display area of the three - dimensional model to be displayed, the change direction of the size setting information is to the right, the first side in the initial display area is L1, and the initial field of view angle is α 1 。

[0165] After that, the vehicle - mounted terminal can calculate the field - of - view angle adjustment amplitude of the virtual camera according to the side - length change amplitude and the first distance in the size adjustment information.

[0166] Specifically, the field - of - view angle adjustment amplitude can be calculated according to the following formula:

[0167]

[0168] where β 1 represents the field - of - view angle adjustment amplitude, H represents the first distance, and l s represents the side - length change amplitude.

[0169] Based on this, the vehicle - mounted terminal can obtain the target field of view angle according to the above - mentioned initial field of view angle and the field - of - view angle adjustment amplitude, and determine the target field of view angle as the target viewing angle.

[0170] Specifically, the target viewing angle = initial field of view angle ± field - of - view angle adjustment amplitude.

[0171] It can be understood that the vehicle - mounted terminal can increase or decrease the field - of - view angle of the virtual camera by the field - of - view angle adjustment amplitude along the change direction on the basis of the initial field of view angle, that is, increase or decrease the opening degree of the virtual camera along the change direction to obtain the target field of view angle.

[0172] Exemplarily, please continue to refer to Figure 9 ,such as Figure 9 shown in (b) of [reference], the change direction of the size adjustment information is to the right, the side - length change amplitude is d1, the first side in the initial display area is L1, the first distance is H, then the initial field of view angle of the virtual camera is α 1 ,the field - of - view angle adjustment amplitude β 1 ,the target field of view angle is α 1 +β 1 ,therefore, the vehicle - mounted terminal can increase the field - of - view angle of the virtual camera by the field - of - view angle adjustment amplitude along the change direction on the basis of the initial field of view angle, that is, increase the opening degree of the virtual camera along the change direction to obtain the target field of view angle, so as to obtain the target display area B.

[0173] After that, the vehicle - mounted terminal can adjust the field - of - view angle of the virtual camera to the above - mentioned target viewing angle.

[0174] In some other possible embodiments, the position setting information includes, but is not limited to: the first position movement direction and the first movement amplitude.

[0175] The first position movement direction includes, but is not limited to: left, right, up, and down. Among them, the first position movement direction is based on the direction determined by the user facing the display screen.

[0176] In this embodiment, when the vehicle-mounted terminal determines that the position adjustment method of the virtual camera is to translate on the first plane parallel to the display screen, it indicates that the viewing direction of the virtual camera needs to be changed, that is, the position of the virtual camera on the first plane needs to be changed. Therefore, the vehicle-mounted terminal can directly determine the above first movement amplitude as the position movement amplitude of the virtual camera.

[0177] Exemplarily, please refer to Figure 10 , Figure 10 is a schematic diagram of determining the target display area of the three-dimensional model to be displayed provided by another embodiment of the present application. As shown in (a) of Figure 10 , D is the full-screen area of the display screen, S is the virtual camera, A is the initial display area of the three-dimensional model to be displayed, the first position movement direction of the position setting information is to the right, the first movement amplitude, that is, the position movement amplitude is d2, and the initial position is P0.

[0178] After that, the vehicle-mounted terminal can obtain the initial position of the virtual camera stored in advance, and accurately determine the target position of the virtual camera according to the initial position and the position movement amplitude of the virtual camera in the first position movement direction.

[0179] Exemplarily, please continue to refer to Figure 10 , as shown in (b) of Figure 10 , the first position movement direction of the position setting information is to the right, the first movement amplitude is d2, the first distance is H, the initial position of the virtual camera is P0, the position movement amplitude is d2, and the target position is P1, so as to obtain the target display area B.

[0180] Based on this, the vehicle-mounted terminal can move the virtual camera on the first plane to the target position.

[0181] As can be seen from the above, in the display method of the three-dimensional model provided in this embodiment, if the target viewing angle is determined by the size setting information, and the target position is determined by the position setting information, then the angle adjustment method of the virtual camera is determined to adjust the field of view angle of the virtual camera, and the position adjustment method of the virtual camera is determined to translate on the first plane parallel to the display screen; adjust the field of view angle of the virtual camera to the target viewing angle, and move the virtual camera on the first plane to the target position. The method provided in this embodiment further improves the adjustment accuracy of the virtual camera.

[0182] Please refer to Figure 8 , Figure 8 which is a flowchart of the implementation of a method for displaying a 3D model provided by another embodiment of the present application. As Figure 8 shown, compared with the corresponding embodiment of Figure 1 , after S102, this embodiment may further include S501; correspondingly, S103 may specifically include S502, which is described in detail as follows:

[0183] In S501, if the target viewing angle is determined by the position setting information and the target position is determined by the size setting information, then it is determined that the angle adjustment method of the virtual camera is to adjust the rotation angle of the virtual camera, and the position adjustment method of the virtual camera is to translate along the direction of approaching or departing from the display screen on a second plane perpendicular to the display screen.

[0184] In this embodiment, when the vehicle-mounted terminal detects that the target position is determined by the size setting information and the target viewing angle is determined by the position setting information, it means that the vehicle-mounted terminal determines the viewing direction of the viewing angle of the virtual camera through the rotation angle of the virtual camera. At the same time, the vehicle-mounted terminal determines the size of the viewing angle of the virtual camera by translating the virtual camera along the direction of approaching or departing from the display screen on a second plane perpendicular to the display screen. Therefore, the vehicle-mounted terminal can determine that the angle adjustment method of the virtual camera is to adjust the rotation angle of the virtual camera, and the position adjustment method of the virtual camera is to translate along the direction of approaching or departing from the display screen on a second plane perpendicular to the display screen.

[0185] In S502, adjust the rotation angle of the virtual camera to the target viewing angle, and move the virtual camera along the direction of approaching the display screen on the second plane to the target position.

[0186] In an embodiment of the present application, the vehicle-mounted terminal pre-stores the correspondence between different positions of the target display area on the display screen and different rotation angles of the virtual camera. Therefore, when the position setting information is used to describe the target position of the target display area, the vehicle-mounted terminal can directly determine the target rotation angle of the virtual camera, that is, the target viewing angle, according to the position setting information and the above correspondence.

[0187] In this embodiment, the different positions of the above target display area on the display screen specifically refer to the positions where the center position of the target display area is located on the display screen.

[0188] Meanwhile, the vehicle-mounted terminal prestores the correspondence between different sizes of the target display area on the display screen and different positions of the virtual camera on the second plane. Therefore, when the size setting information is used to describe the target position of the target display area on the display screen, the vehicle-mounted terminal can directly determine the target position of the virtual camera on the second plane according to the size setting information and the above correspondence.

[0189] Based on this, the vehicle-mounted terminal can adjust the rotation angle of the virtual camera to the target field of view angle and move the virtual camera to the target position on the second plane.

[0190] In another embodiment of the present application, when the area setting information is used to adjust the size and / or position of the initial display area of the three-dimensional model to be displayed to obtain the target display area corresponding to the three-dimensional model to be displayed, after the vehicle-mounted terminal determines the three-dimensional model to be displayed and before determining the target field of view angle of the virtual camera, the vehicle-mounted terminal can display a reference area of the three-dimensional model to be displayed on the display screen so that the user can determine the target display area of the three-dimensional model to be displayed based on the reference area. Therefore, the vehicle-mounted terminal can display the three-dimensional model to be displayed in the initial display area of the display screen.

[0191] In this embodiment, the vehicle-mounted terminal can obtain the first distance between the virtual camera and the display screen generated by projecting the three-dimensional model to be displayed on the display screen, and obtain the area size information of the initial display area. The area size information includes, but is not limited to, the length and width of the initial display area.

[0192] Wherein, the area of the initial display area is set to be one-fourth of the area of the full-screen area of the display screen, that is, the length of the initial display area is one-half of the length of the full-screen area, and the width of the initial display area is one-half of the width of the full-screen area.

[0193] It should be noted that the first distance specifically refers to the vertical distance between the virtual camera and the display screen.

[0194] The projection of the virtual camera on the display screen is an endpoint of the first side that is parallel to the top of the display screen and close to the top of the display screen in the initial display area. It can be understood that the projection of the virtual camera on the display screen is the center of the side close to the top of the full-screen area of the display screen.

[0195] Based on this, the vehicle-mounted terminal can determine the target rotation angle of the virtual camera, that is, the target field of view angle, according to the above area size information, position setting information, and the first distance.

[0196] In some possible embodiments, the vehicle-mounted terminal can determine the reference position adjustment amplitude at the reference vertical distance between the virtual camera and the display screen corresponding to the reference rotation degree of the rotation angle.

[0197] In this embodiment, the in-vehicle terminal can determine the initial position of the initial display area, determine the target position of the center of the target display area according to the area size information and the first position adjustment information, and determine the distance ratio according to the first distance between the virtual camera and the display screen and the above-mentioned reference vertical distance.

[0198] It should be noted that the positions in the initial position, target position, first position adjustment information, and reference position adjustment amplitude all refer to the positions corresponding to the centers of the areas.

[0199] After that, the in-vehicle terminal can determine the position amplitude ratio according to the distance ratio, and calculate the adjustment degree of the rotation angle of the virtual camera according to the position amplitude ratio, the reference position adjustment amplitude, the initial position, the target position, and the reference rotation degree.

[0200] Specifically, the adjustment degree of the rotation angle of the virtual camera = (target position - initial position) / (position amplitude ratio * reference position adjustment amplitude) * reference rotation degree.

[0201] Based on this, the in-vehicle terminal can sum the above-mentioned initial rotation angle and the adjustment degree of the rotation angle, and determine the result after summation as the target rotation angle of the virtual camera.

[0202] In some other possible embodiments, the position setting information includes, but is not limited to, the area movement direction of the initial display area and the side length movement distance. Among them, the side length movement distance specifically refers to the movement distance of the third side in the initial display area that is perpendicular to the movement direction and close to the movement direction along the area movement direction.

[0203] It should be noted that the area movement direction of the initial display area includes, but is not limited to: left, right, up, and down. Among them, the area movement direction of the initial display area is subject to the direction determined by the user facing the display screen.

[0204] Exemplarily, assuming that the area movement direction of the initial display area is downward, the side length movement distance specifically refers to the downward movement distance of the third side in the initial display area that is perpendicular to the movement direction and close to the movement direction.

[0205] In this embodiment, the in-vehicle terminal can calculate the adjustment amplitude of the rotation angle of the virtual camera according to the side length movement distance and the first distance in the position setting information.

[0206] It should be noted that the adjustment amplitude of the rotation angle specifically refers to the included angle between the first line segment between a certain endpoint of the third side parallel to the movement direction in the initial display area before movement and the position of the virtual camera, and the second line segment between the corresponding moved position of the endpoint and the position of the virtual camera after the third side moves by the side length movement distance.

[0207] Specifically, when the moving direction is to the right, the rotation angle adjustment amplitude can be calculated according to the following formula:

[0208]

[0209] where β 2 represents the rotation angle adjustment amplitude, H represents the first distance, and l s represents the side length movement distance.

[0210] After that, the vehicle-mounted terminal can directly determine the rotation angle adjustment amplitude as the target rotation angle of the virtual camera, and determine this target rotation angle as the target field of view angle.

[0211] Exemplarily, please refer to Figure 11 , Figure 11 which is a schematic diagram of determining the target display area of the three-dimensional model to be displayed provided by another embodiment of this application. As Figure 11 shown, D is the full-screen area of the display screen, S is the virtual camera, S' is the projection point of the virtual camera on the display screen, A is the initial display area of the three-dimensional model to be displayed, L3 is the third side of the initial display area. Assuming that the moving direction of the first position adjustment information is to the right, point P1 is an endpoint before the third side moves, P1S is the first line segment between endpoint P1 and the virtual camera S, point P2 is the position where point P1 is located after moving the side length movement distance, P2S is the second line segment between endpoint P2 and the virtual camera S, the side length movement distance is d3, and the first distance is H, then the rotation angle adjustment amplitude of the virtual camera Based on this, the target rotation angle is β 2 , thereby obtaining the target display area B.

[0212] In some other possible embodiments, the size setting information includes but is not limited to: the second position moving direction and the second moving amplitude.

[0213] The second position moving direction includes but is not limited to: forward and backward. Among them, the first position moving direction is based on the direction determined by the user facing the display screen.

[0214] In an embodiment of this application, since the size change direction of the initial display area is different, the corresponding changing azimuth is also different. Therefore, the second position moving direction includes but is not limited to the first sub-direction and the second sub-direction.

[0215] Among them, the first sub-direction is used to represent the enlargement and reduction of the size of the initial display area, and the first sub-direction includes but is not limited to: forward and backward.

[0216] The second sub - direction is used to characterize the changing orientation of the initial display area, and the second sub - direction includes but is not limited to left, right, up, and down.

[0217] Exemplarily, assuming that the initial display area needs to expand on the right side, the first sub - direction is forward and the second sub - direction is right.

[0218] In this embodiment, when the vehicle - mounted terminal determines that the position adjustment method of the virtual camera is to translate along the direction close to or away from the display screen on the second plane perpendicular to the display screen, it indicates that the size of the viewing angle of the virtual camera needs to be changed. Therefore, the vehicle - mounted terminal can directly determine the second movement amplitude as the position movement amplitude of the virtual camera.

[0219] Exemplarily, please refer to Figure 12 , Figure 12 which is a schematic diagram of determining the target display area of the three - dimensional model to be displayed provided by another embodiment of the present application. As shown in (a) of Figure 12 , D is the full - screen area of the display screen, S is the virtual camera, A is the initial display area of the three - dimensional model to be displayed, the second position movement direction of the size setting information is right, the second movement amplitude, that is, the position movement amplitude is d4, and the initial position is P0.

[0220] After that, the vehicle - mounted terminal can obtain the initial position of the virtual camera stored in advance, and accurately determine the target position of the virtual camera according to this initial position and the position movement amplitude of the virtual camera in the second position movement direction.

[0221] Exemplarily, please continue to refer to Figure 12 , as shown in (b) of Figure 12 , the second position movement direction of the size setting information is right, the second movement amplitude is d4, the first distance is H, the initial position of the virtual camera is P0, the position movement amplitude is d2, and the target position is P2, so as to obtain the target display area B.

[0222] Based on this, the vehicle - mounted terminal can move the virtual camera to the target position on the second plane.

[0223] As can be seen from the above, in the display method of the three - dimensional model provided by this embodiment, if the target viewing angle is determined by the position setting information and the target position is determined by the size setting information, then it is determined that the angle adjustment method of the virtual camera is to adjust the rotation angle of the virtual camera, and the position adjustment method of the virtual camera is to translate along the direction close to the display screen on the second plane perpendicular to the display screen; adjust the rotation angle of the virtual camera to the target viewing angle, and move the virtual camera along the direction close to the display screen on the second plane to the target position. The method provided by this embodiment further improves the adjustment accuracy of the virtual camera.

[0224] It should be understood that the magnitudes of the sequence numbers of the steps in the above embodiments do not imply the order of execution. The order of execution of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.

[0225] Corresponding to the method for displaying a three-dimensional model described in the above embodiments, Figure 13 The structure diagram of a device for displaying a three-dimensional model provided by an embodiment of the present application is shown. For the sake of convenience of description, only the parts related to the embodiments of the present application are shown. Referring to Figure 13 the device 600 for displaying a three-dimensional model includes: a data determination unit 61, an information determination unit 62, a first adjustment unit 63, and a first display unit 64. Among them:

[0226] The data determination unit 61 is configured to determine a three-dimensional model to be displayed according to the split-screen display request when a split-screen display request is detected.

[0227] The information determination unit 62 is configured to determine a target field of view angle and a target position of a virtual camera corresponding to the three-dimensional model to be displayed according to region setting information; wherein, the three-dimensional model to be displayed is constructed by a three-dimensional engine, and the virtual camera is provided in the three-dimensional engine; the virtual camera is used to set a display area of the three-dimensional model on a display screen according to the field of view angle and position.

[0228] The first adjustment unit 63 is configured to adjust the virtual camera to the target field of view angle and move it to the target position to obtain a target display area of the three-dimensional model to be displayed on the display screen.

[0229] The first display unit 64 is configured to display the three-dimensional model to be displayed in the target display area.

[0230] In an embodiment of the present application, the region setting information includes size setting information and position setting information for the target display area; the information determination unit 62 specifically includes: a time determination unit, a first angle determination unit, and a first position determination unit. Among them:

[0231] The time determination unit is configured to determine a first reception time of the size setting information and a second reception time of the position setting information.

[0232] The first angle determination unit is configured to, if the first reception time is earlier than the second reception time, determine the target field of view angle according to the size setting information and determine the target position according to the position setting information.

[0233] The first position determination unit is configured to, if the second reception time is earlier than the first reception time, determine the target viewing angle according to the position setting information, and determine the target position according to the size setting information.

[0234] In an embodiment of the present application, the first adjustment unit 63 specifically includes: a second adjustment unit and a third adjustment unit.

[0235] Wherein:

[0236] The second adjustment unit is configured to, if the first reception time is earlier than the second reception time, first adjust the virtual camera to the target viewing angle, and then move the virtual camera to the target position.

[0237] The third adjustment unit is configured to, if the second reception time is earlier than the first reception time, first move the virtual camera to the target position, and then adjust the virtual camera to the target viewing angle.

[0238] In an embodiment of the present application, the area setting information includes size setting information and position setting information for the target display area; the information determination unit 62 specifically includes: a second angle determination unit and a second position determination unit. Wherein:

[0239] The second angle determination unit is configured to, if a specified operation is detected in a first preset area of the display screen, determine the target viewing angle according to the size setting information, and determine the target position according to the position setting information.

[0240] The second position determination unit is configured to, if the specified operation is detected in a second preset area of the display screen, determine the target position according to the size setting information, and determine the target viewing angle according to the position setting information.

[0241] In an embodiment of the present application, the area setting information includes position setting information and size setting information for the target display area; the display device 600 for the three-dimensional model further includes: a first adjustment method determination unit; correspondingly, the first adjustment unit 63 specifically includes: a fourth adjustment unit. Wherein:

[0242] The first adjustment method determination unit is configured to, if the target viewing angle is determined by the size setting information and the target position is determined by the position setting information, determine that the angle adjustment method of the virtual camera is to adjust the field of view angle of the virtual camera, and determine that the position adjustment method of the virtual camera is to translate on a first plane parallel to the display screen.

[0243] The fourth adjustment unit is used to adjust the field of view angle of the virtual camera to the target field of view angle and move the virtual camera to the target position on the first plane.

[0244] In an embodiment of the present application, the area setting information includes position setting information and size setting information for the target display area; the display device 600 for the three-dimensional model further includes: a second adjustment method determination unit; correspondingly, the first adjustment unit 63 specifically includes: a fifth adjustment unit. Wherein:

[0245] The second adjustment method determination unit is used to determine that the angle adjustment method of the virtual camera is to adjust the rotation angle of the virtual camera and determine that the position adjustment method of the virtual camera is to translate along the direction of approaching or moving away from the display screen on a second plane perpendicular to the display screen if the target field of view angle is determined by the position setting information and the target position is determined by the size setting information.

[0246] The fifth adjustment unit is used to adjust the rotation angle of the virtual camera to the target field of view angle and move the virtual camera to the target position on the second plane along the direction of approaching the display screen.

[0247] In an embodiment of the present application, the three-dimensional model to be displayed is any one of the preset three-dimensional models that are full-screen displayed on the display screen; the first display unit 64 specifically includes: a second display unit.

[0248] The second display unit is used to display the three-dimensional model to be displayed above the initial three-dimensional model, and the initial three-dimensional model is the three-dimensional model included in the preset three-dimensional model and displayed within the target display area.

[0249] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units, due to being based on the same concept as the method embodiment of the present application, for their specific functions and the technical effects brought, please refer to the method embodiment part specifically, and will not be elaborated here.

[0250] Figure 14 It is a schematic structural diagram of a vehicle-mounted terminal provided in an embodiment of the present application. As Figure 14 shown, the vehicle-mounted terminal 7 in this embodiment includes: at least one processor 70 ( Figure 14 only one is shown in the figure), a memory 71, and a computer program 72 stored in the memory 71 and operable on the at least one processor 70. When the processor 70 executes the computer program 72, it implements the steps in any of the above-mentioned method embodiments for displaying the three-dimensional model.

[0251] The vehicle-mounted terminal may include, but is not limited to, a processor 70 and a memory 71. Those skilled in the art can understand that Figure 14 merely examples of the vehicle-mounted terminal 7, which do not constitute a limitation on the vehicle-mounted terminal 7, and may include more or fewer components than shown in the figure, or combine certain components, or different components. For example, it may also include input / output devices, network access devices, etc.

[0252] The so-called processor 70 may be a central processing unit (CPU), and the processor 70 may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0253] The memory 71 may be an internal storage unit of the vehicle-mounted terminal 7 in some embodiments, such as the memory of the vehicle-mounted terminal 7. The memory 71 may also be an external storage device of the vehicle-mounted terminal 7 in other embodiments, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the vehicle-mounted terminal 7. Further, the memory 71 may also include both the internal storage unit and the external storage device of the vehicle-mounted terminal 7. The memory 71 is used to store an operating system, application programs, a boot loader, data, and other programs, such as the program code of the computer program. The memory 71 may also be used to temporarily store data that has been output or will be output.

[0254] The embodiment of the present application also provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned various method embodiments can be implemented.

[0255] The embodiment of the present application provides a computer program product, and when the computer program product runs on a vehicle-mounted terminal, the vehicle-mounted terminal is enabled to execute the steps in the above-mentioned various method embodiments.

[0256] In the above embodiments, the descriptions of the respective embodiments have their own emphases. For the parts not detailed or recorded in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.

[0257] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the various embodiments of the present application, and should all be included within the protection scope of the present application.

Claims

1. A method for displaying a 3D model, characterized in that, it includes: When a split-screen display request is detected, determine the 3D model to be displayed according to the split-screen display request; According to the region setting information, determine the target field of view angle and target position of the virtual camera corresponding to the 3D model to be displayed; wherein, the 3D model to be displayed is constructed by a 3D engine, and the virtual camera is provided in the 3D engine; the virtual camera is used to set the display area of the 3D model on the display screen according to the field of view angle and position; Adjust the virtual camera to the target field of view angle and move it to the target position to obtain the target display area of the 3D model to be displayed on the display screen; Display the 3D model to be displayed in the target display area.

2. The method for displaying a 3D model according to claim 1, characterized in that, the region setting information includes size setting information and position setting information for the target display area; the determining the target field of view angle and target position of the virtual camera corresponding to the 3D model to be displayed according to the region setting information includes: Determine the first reception time of the size setting information and the second reception time of the position setting information; If the first reception time is earlier than the second reception time, determine the target field of view angle according to the size setting information and determine the target position according to the position setting information; If the second reception time is earlier than the first reception time, determine the target field of view angle according to the position setting information and determine the target position according to the size setting information.

3. The method for displaying a 3D model according to claim 2, characterized in that, the adjusting the virtual camera to the target field of view angle and moving it to the target position includes: If the first reception time is earlier than the second reception time, first adjust the virtual camera to the target field of view angle, and then move the virtual camera to the target position; If the second reception time is earlier than the first reception time, first move the virtual camera to the target position, and then adjust the virtual camera to the target field of view angle.

4. The method for displaying a 3D model according to claim 1, characterized in that, the region setting information includes size setting information and position setting information for the target display area; the determining the target field of view angle and target position of the virtual camera corresponding to the 3D model to be displayed according to the region setting information includes: If a specified operation is detected in the first preset area of the display screen, determine the target field of view angle according to the size setting information and determine the target position according to the position setting information; If the specified operation is detected in the second preset area of the display screen, determine the target position according to the size setting information and determine the target field of view angle according to the position setting information.

5. The method for displaying a 3D model according to claim 1, characterized in that, The area setting information includes position setting information and size setting information for the target display area; after determining the target field of view angle and target position of the virtual camera corresponding to the three-dimensional model to be displayed according to the area setting information, it further includes: If the target field of view angle is determined by the size setting information and the target position is determined by the position setting information, then determine that the angle adjustment method of the virtual camera is to adjust the field of view angle of the virtual camera, and determine that the position adjustment method of the virtual camera is to translate on a first plane parallel to the display screen; Correspondingly, adjusting the virtual camera to the target field of view angle and moving it to the target position includes: Adjusting the field of view angle of the virtual camera to the target field of view angle, and moving the virtual camera to the target position on the first plane.

6. The method for displaying a three-dimensional model according to claim 1, wherein, The area setting information includes position setting information and size setting information for the target display area; after determining the target field of view angle and target position of the virtual camera corresponding to the three-dimensional model to be displayed according to the area setting information, it further includes: If the target field of view angle is determined by the position setting information and the target position is determined by the size setting information, then determine that the angle adjustment method of the virtual camera is to adjust the rotation angle of the virtual camera, and determine that the position adjustment method of the virtual camera is to translate in a second plane perpendicular to the display screen along the direction of approaching or departing from the display screen; Correspondingly, adjusting the virtual camera to the target field of view angle and moving it to the target position includes: Adjusting the rotation angle of the virtual camera to the target field of view angle, and moving the virtual camera to the target position on the second plane along the direction of approaching the display screen.

7. The method for displaying a three-dimensional model according to any one of claims 1-6, wherein, The three-dimensional model to be displayed is any one of the preset three-dimensional models for full-screen display on the display screen; Displaying the three-dimensional model to be displayed in the target display area includes: Covering and displaying the three-dimensional model to be displayed above the initial three-dimensional model, where the initial three-dimensional model is the three-dimensional model included in the preset three-dimensional models and displayed within the target display area.

8. A device for displaying a three-dimensional model, wherein, It includes: A data determination unit, configured to determine the three-dimensional model to be displayed according to the split-screen display request when detecting the split-screen display request; An information determination unit, configured to determine the target field of view angle and target position of the virtual camera corresponding to the three-dimensional model to be displayed according to the area setting information; wherein, the three-dimensional model to be displayed is constructed by a three-dimensional engine, and the virtual camera is provided in the three-dimensional engine; the virtual camera is used to set the display area of the three-dimensional model on the display screen according to the field of view angle and position. The first adjustment unit is configured to adjust the virtual camera to the target viewing angle and move it to the target position, so as to obtain the target display area of the to-be-displayed three-dimensional model on the display screen; The first display unit is configured to display the to-be-displayed three-dimensional model in the target display area.

9. A vehicle, comprising an in-vehicle terminal, where the in-vehicle terminal includes a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that when the processor executes the computer program, the display method of the three-dimensional model according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium storing a computer program, characterized in that when the computer program is executed by a processor, the display method of the three-dimensional model according to any one of claims 1 to 7 is implemented.