Three-dimensional picture display method and device, equipment and storage medium
By dynamically adjusting the viewing angle of the three-dimensional screen display, the problem of fixed screen display orientation in the prior art is solved, and the function of the observer to see 3D effects at different angles is realized, which improves the viewing experience.
Patent Information
- Application Number
- CN202510062897.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-15
- Publication Date
- 2025-04-25
AI Technical Summary
In the existing three-dimensional screen display technology, the orientation angle of the screen display is fixed, and the viewing angle cannot be dynamically adjusted according to the observer's position, resulting in the observer being unable to see the complete 3D effect at different angles.
By preset update time per interval, the object coordinates of at least one target object are obtained and the target viewing angle coordinates are determined; the target display section is determined based on the target viewing angle coordinates and the center point coordinates of the target cubic screen; based on the target display section, the target cubic screen is controlled to display the target three-dimensional screen.
The screen dynamically adjusts the viewing angle according to the observer's position, so that the observer can see the 3D effect at different angles, improving the viewing experience.
Smart Images

Figure CN119893075A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of screen display technology, and in particular to a three-dimensional picture display method, device, equipment and storage medium. Background Art
[0002] With the development of LED display, the 3D display of LED cube screen is gradually needed by the majority of users. Because in order to give the observer a complete 3D visual effect on a cube screen, it is actually through Opengles / Opengl technology to continuously capture each frame of the 3D picture viewed from an observation perspective, and then re-render the captured picture to each side of the cube screen, so as to give the observer a visual 3D effect. The observer is like a camera that has been shooting a content from a perspective, and the cube screen continuously renders the captured picture to the corresponding surface of the screen. However, in practice, if the observer is not in a default perspective, then the complete 3D effect cannot be observed. It is often necessary to move the position by itself or adjust the perspective of the picture through the client software to achieve the purpose of observing the 3D effect. Summary of the invention
[0003] The embodiments of the present invention provide a three-dimensional image display method, device, equipment and storage medium, which can realize that the screen can dynamically adjust the viewing angle according to the position of the observer, so that the observer can see the 3D effect at different angles, thereby improving the viewing experience.
[0004] In a first aspect, an embodiment of the present invention provides a three-dimensional image display method, the method comprising:
[0005] At each preset update time interval, the object coordinates of at least one target object are obtained, and the target viewing angle coordinates are determined according to the object coordinates of the target object; the target display section is determined according to the target viewing angle coordinates and the center point coordinates of the target cubic screen; based on the target display section, the target cubic screen is controlled to display the target three-dimensional picture.
[0006] In a second aspect, an embodiment of the present invention provides a three-dimensional image display device, the device comprising:
[0007] A viewing angle coordinate determination module is used to obtain the object coordinates of at least one target object at each preset update time interval, and determine the target viewing angle coordinates according to the object coordinates of the target object; a display section determination module is used to determine the target display section according to the target viewing angle coordinates and the center point coordinates of the target cubic screen; a display control module is used to control the target cubic screen to display the target three-dimensional picture based on the target display section.
[0008] In a third aspect, an embodiment of the present invention provides a computer device, the computer device comprising:
[0009] one or more processors;
[0010] A memory for storing one or more programs;
[0011] When the one or more programs are executed by the one or more processors, the one or more processors implement the three-dimensional image display method described in any embodiment.
[0012] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the three-dimensional image display method described in any embodiment.
[0013] The technical solution provided by the embodiment of the present invention obtains the object coordinates of at least one target object by presetting the update duration at each interval, determines the target viewing angle coordinates according to the object coordinates of the target object; determines the target display section according to the target viewing angle coordinates and the center point coordinates of the target cube screen; and controls the target cube screen to display the target three-dimensional image based on the target display section. The technical solution of the embodiment of the present invention solves the problem of the fixed orientation angle of the image display in the existing three-dimensional image display technology, and can realize that the screen can dynamically adjust the viewing angle according to the position of the observer, so that the observer can see the 3D effect at different angles, improving the viewing experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 is a flow chart of a three-dimensional image display method provided by an embodiment of the present invention;
[0015] Figure 2 is a flow chart of another three-dimensional image display method provided by an embodiment of the present invention;
[0016] Figure 3 is a schematic diagram of a target cubic screen provided by an embodiment of the present invention;
[0017] Figure 4 is a schematic diagram of rendering a 3D image provided by an embodiment of the present invention;
[0018] Figure 5 is a structural schematic diagram of a three-dimensional image display device provided by an embodiment of the present invention;
[0019] Figure 6 It is a structural schematic diagram of a computer device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0020] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0021] Figure 1 It is a flow chart of a three-dimensional image display method provided by an embodiment of the present invention. The embodiment of the present invention can be applied to a scene of controlling a cube to display a 3D image. The method can be executed by a three-dimensional image display device, which can be implemented by software and / or hardware.
[0022] like Figure 1 As shown, the three-dimensional picture display method includes the following steps:
[0023] S110 , obtaining object coordinates of at least one target object at every preset update duration, and determining target viewing angle coordinates according to the object coordinates of the target object.
[0024] The target cubic screen may be a cubic screen that needs to manage the screen display angle. Optionally, the target cubic screen may be an LED cubic screen. The 3D screen may be displayed from a variety of angles. The preset update duration may be a preset duration for updating the screen display angle of the target cubic screen. Specifically, the preset update duration may be manually set.
[0025] The target object may be an object that observes the target cube screen. The object coordinates may be the coordinates at which the target object is located. Specifically, the object coordinates may be three-dimensional coordinates of the target object. For example, a recognition device may be installed on one side of the target cube to recognize the target object within the detection range at each preset update time interval, determine the object coordinates of each target object, and send the object coordinates of each target object to the device of the embodiment of the present invention.
[0026] Furthermore, the target viewing angle coordinates may be reference coordinates for the target cubic screen to display the image. That is, the target cubic screen needs to adjust the angle of the displayed image so that the observer can observe the complete 3D image from the target viewing angle coordinates. Specifically, the object coordinates of the target object may be analyzed to determine a coordinate with the best observation effect relative to multiple target objects, and the coordinate is used as the target viewing angle coordinate.
[0027] S120: Determine a target display section according to the target viewing angle coordinates and the center point coordinates of the target cubic screen.
[0028] The target display section may be a reference section for the target cubic screen to display the image. Specifically, the target viewing angle coordinates and the center point coordinates of the target cubic screen may be connected to obtain a target extension line, and a section perpendicular to the target extension line may be used as the target display section. By determining the target display section, it is convenient to subsequently determine the rotation angle of the display image based on the target display section.
[0029] S130: Based on the target display slice, control the target cube screen to display a target three-dimensional image.
[0030] The target three-dimensional picture may be a picture displayed on the target cubic screen. Specifically, the display angle of the target three-dimensional picture may be adjusted so that the best display section of the target three-dimensional picture coincides with the target display section. The best display section of the target three-dimensional picture may be a manually set section, through which the 3D effect of the target three-dimensional picture may be fully observed.
[0031] The technical solution provided by the embodiment of the present invention obtains the object coordinates of at least one target object by presetting the update duration at each interval, determines the target viewing angle coordinates according to the object coordinates of the target object; determines the target display section according to the target viewing angle coordinates and the center point coordinates of the target cube screen; and controls the target cube screen to display the target three-dimensional image based on the target display section. The technical solution of the embodiment of the present invention solves the problem of the fixed orientation angle of the image display in the existing three-dimensional image display technology, and can realize that the screen can dynamically adjust the viewing angle according to the position of the observer, so that the observer can see the 3D effect at different angles, improving the viewing experience.
[0032] Figure 2 It is another flow chart of a three-dimensional picture display method provided by an embodiment of the present invention. The embodiment of the present invention can be applied to a scene of controlling a cube to display a 3D picture. Based on the above embodiment, this embodiment further explains how to determine the target viewing angle coordinates according to the object coordinates of the target object; how to determine the target display section according to the target viewing angle coordinates and the center point coordinates of the target cube screen; and how to control the target cube screen to display the target three-dimensional picture based on the target display section. The device can be implemented by software and / or hardware and integrated in a computer device with application development function.
[0033] like Figure 2 As shown, the three-dimensional picture display method includes the following steps:
[0034] S210 , obtaining object coordinates of at least one target object at every preset update time interval.
[0035] The target cubic screen may be a cubic screen that needs to manage the screen display angle. Optionally, the target cubic screen may be an LED cubic screen. The 3D screen may be displayed from a variety of angles. The preset update duration may be a preset duration for updating the screen display angle of the target cubic screen. Specifically, the preset update duration may be manually set.
[0036] Further, the target object may be an object that observes the target cube screen. The object coordinates may be the coordinates at which the target object is located. Specifically, the object coordinates may be the three-dimensional coordinates of the target object. For example, a recognition device may be installed on one side of the target cube to recognize the target object within the detection range at each preset update time interval, determine the object coordinates of each target object, and send the object coordinates of each target object to the device of the embodiment of the present invention.
[0037] S220 . For each target object, determine an observation distance between the target object and the target cube screen according to the object coordinates of the target object, and determine an observation priority of the target object according to the observation distance.
[0038] The distance between the target object and the target cube can be calculated according to the coordinates between the two, and the calculated distance is used as the observation distance of the target object. The observation priority can be a level of evaluating the target object from the observation angle.
[0039] Optionally, determining the observation priority of the target object based on the observation distance includes: determining the observation state of the target object based on the current observation distance and the last observation distance of the target object, and determining the state priority of the target object based on the observation state; comparing the observation distance with at least one preset distance threshold, and determining the distance priority of the target object based on the comparison result; determining the observation priority of the target object based on the observation priority and the distance priority.
[0040] Among them, the observation state may include a stationary state, a close state, and a far state. Specifically, the current observation distance of the target object and the last observation distance may be compared. If the difference between the two is within a preset range, it can be determined that the observation state of the target object is a stationary state. If the difference between the two is not within the preset range, and the current observation distance is greater than the last observation distance, it can be determined that the observation state of the target object is a far state. If the difference between the two is not within the preset range, and the current observation distance is less than the last observation distance, it can be determined that the observation state of the target object is a close state.
[0041] Furthermore, the distance priority may be a level for evaluating the target object from the perspective of observation distance. Specifically, the observation distance may be compared with at least one preset distance threshold, and the distance priority of the target object may be determined based on the comparison result. Exemplarily, the distance priority may include an optimal observation level and an observable level. For example, if the size of the target cube screen is 100cm*100cm*100cm and the resolution is 1920*1080, then the observation range of the optimal distance device is considered to be within 5m, and the observable range is within 5m-10m.
[0042] S230 , comparing the observation priority of each target object, and determining the target viewing angle coordinates according to the object coordinates of at least one target object with the highest observation priority.
[0043] The target viewing angle coordinates may be reference coordinates for the target cubic screen to display the picture, that is, the target cubic screen needs to adjust the angle of the displayed picture so that the observer can observe the complete 3D picture from the target viewing angle coordinates.
[0044] Optionally, the observation priority of each target object is compared, and the target viewing angle coordinates are determined based on the object coordinates of at least one target object with the highest observation priority, including: when the number of target objects with the highest priority is one, the object coordinates of the target object with the highest priority are used as the target viewing angle coordinates; when the number of target objects with the highest priority is multiple, the mean coordinates of the object coordinates of the multiple target objects with the highest priority are determined, and the mean coordinates are used as the target viewing angle coordinates.
[0045] The mean coordinate is the average value of multiple coordinates. When there are multiple target objects with the highest priority, the object coordinates of the multiple target objects with the highest priority can be averaged and the obtained average value is used as the target viewing angle coordinate.
[0046] Exemplarily, determining the target viewing angle coordinates may include the following steps:
[0047] 1. Statistics are collected every 500ms (the collected observer data is encapsulated into a model)
[0048] 2. Calculate the best observation range and observable range based on the size and resolution of the device. (For example, if the device size is 100cm*100cm*100cm and the resolution is 1920*1080, then the best observation range of the device is 5m, 10m is the observable range, and anything beyond 10m or within 20cm is considered unobservable)
[0049] 3. Then, the observer's observation priority is calculated according to the distance of the observer (ie, the target object) from the device and the observer's state.
[0050] 4. Calculate the target viewing angle coordinates based on the observer’s priority.
[0051] Statistical process:
[0052] 1. Encapsulate the counted observers into a model. The model information includes:
[0053] ①Unique identification
[0054] ② Three-dimensional coordinates relative to the device
[0055] ③Specific distance relative to the device
[0056] ④ The state of the observer
[0057] ⑤ Priority
[0058] 2. When counting, if the distance between the observer and the device is shortened compared to the last time, the observer is considered to be approaching, otherwise it is considered to be moving away. If there is no change, it is considered to be observing (this process can be processed according to the speed and displacement distance, and the observer's state is counted as being in a relatively stable state as much as possible)
[0059] 3. If the observer is out of the observable range, remove the observer data.
[0060] 4. Priority division (the same level is distinguished by the distance from the device, the closer the distance, the higher the priority):
[0061] ① The best observation range and the priority is first in a static state
[0062] ② Best observation range, and close to the state with the second priority
[0063] ③ Observable range, and in close state, priority 3
[0064] ④ Observable range and in a stationary state. Priority 4
[0065] ⑤ Best observation range, and in a far away state, the fifth priority
[0066] ⑥ Observable range, and in a distant state, priority 6
[0067] 5. The coordinates of the observer with the highest priority are taken as the target viewing angle coordinates (if the priorities are the same, the average of the three-dimensional coordinates of observers with the same level of priority is taken as the target viewing angle coordinates).
[0068] S240: Determine a target display section according to the target viewing angle coordinates and the center point coordinates of the target cubic screen.
[0069] The target display section may be a reference section for the target cubic screen to display the image. Specifically, the target viewing angle coordinates and the center point coordinates of the target cubic screen may be connected to obtain a target extension line, and a section perpendicular to the target extension line may be used as the target display section. By determining the target display section, it is convenient to subsequently determine the rotation angle of the display image based on the target display section.
[0070] S250: Based on the target display slice, control the target cube screen to display a target three-dimensional image.
[0071] The target three-dimensional picture may be a picture displayed on the target cubic screen. Specifically, the display angle of the target three-dimensional picture may be adjusted so that the best display section of the target three-dimensional picture coincides with the target display section. The best display section of the target three-dimensional picture may be a manually set section, through which the 3D effect of the target three-dimensional picture may be fully observed.
[0072] Optionally, based on the target display section, controlling the target cubic screen to display the target three-dimensional image includes: determining the target rotation angle according to the target display section and the current display section of the target cubic screen; and based on the target rotation angle, controlling the target cubic screen to rotate and display the target three-dimensional image.
[0073] The target rotation angle may be an adjustment angle of the target three-dimensional image. The target rotation angle may be a three-dimensional angle. Specifically, the angle between the target display section and the current display section of the target cube screen may be used as the target rotation angle. Further, the current display angle of the target three-dimensional image may be rotated by the target rotation angle for display.
[0074] Optionally, controlling the target cubic screen to rotate the target three-dimensional image for display includes: for each two-dimensional image of the target three-dimensional image, rotating each two-dimensional image by a target rotation angle for rendering and display. Rendering and displaying can be understood as displaying after rendering processing. Rendering processing includes but is not limited to color adjustment, saturation adjustment, and brightness adjustment.
[0075] For example, Figure 3 This is a schematic diagram of a target cubic screen provided by an embodiment of the present invention. The default screen center is the origin, and the size of the cubic screen is 100cm*100cm*100cm, so the coordinates of the eight vertices can be known (assuming that our screen is now placed like this, the viewing angle coordinates are the vertical sections determined by the viewing angle after the extension line of the line connecting the center point and C1 at this time are B, B1, D, D1).
[0076] In order to better understand the technical solution provided by the present invention, the following is an introduction to the specific embodiment steps:
[0077] 1. Collect data
[0078] ① By connecting the positioning device (infrared positioning sensor, binocular camera and other modules, assuming it is installed at C1) to the top of the screen or other fixed positions.
[0079] ②500ms is used to collect valid data from the positioning device (the observer's effective three-dimensional coordinates x, y, z relative to the center of the device. If there are multiple observers, there will be multiple observation coordinates. The specific interference processing details are described in the implementation method).
[0080] 2. Data Processing
[0081] ① After obtaining the viewer's viewing angle coordinates (x, y, z), draw a line to the center of the cubic screen and determine a vertical section. If the observer's coordinates are on the extension line of the origin and D1 at this time, it can be determined that the cubic screen section at this time is A, A1, C1, C. (The coordinates obtained at different installation locations need to be offset according to the coordinates of the installation location relative to the center of the screen).
[0082] ② By intersecting this section with the default 3D viewing angle sections B, B1, D, and D1 of the screen, it is possible to calculate in the cube that the angle between the two sections is +90°.
[0083] ③ After determining the angle, just rotate the original sections B, B1, D, D1 by +90 degrees so that they can overlap with sections A, A1, C1, C, thereby achieving the purpose of 3D perspective rotation.
[0084] 3. Dynamically render 3D images (by cutting each face of the actual image seen by the observer into 2D planes, and continuously rendering each frame of the image to each face corresponding to the cubic screen).
[0085] For example, Figure 4 FIG. 1 is a schematic diagram of rendering a 3D image provided by an embodiment of the present invention. Figure 4 As shown, the red sphere in Figure (1) represents the viewpoint A where the observer is located. The rendering at this time is based on the viewpoint A, and the yellow sphere represents the viewpoint B after the observer moves. When the observer is in viewpoint A, the image he actually sees is Figure (2) (a complete 3D image), and when the observer is in viewpoint B, the image he actually sees is Figure (3). Therefore, the observer cannot observe the complete 3D image when he is in viewpoint B.
[0086] The technical solution provided by the embodiment of the present invention obtains the object coordinates of at least one target object by presetting the update duration at each interval; for each target object, determines the observation distance between the target object and the target cube screen according to the object coordinates of the target object, and determines the observation priority of the target object according to the observation distance; compares the observation priority of each target object, and determines the target viewing angle coordinates according to the object coordinates of at least one target object with the highest observation priority; determines the target display section according to the target viewing angle coordinates and the center point coordinates of the target cube screen; based on the target display section, controls the target cube screen to display the target three-dimensional picture. The technical solution of the embodiment of the present invention solves the problem of the fixed orientation angle of the picture display in the existing three-dimensional picture display technology, and can realize that the screen can dynamically adjust the viewing angle according to the position of the observer, so that the observer can see the 3D effect at different angles, improving the viewing experience.
[0087] Figure 5 It is a structural schematic diagram of a three-dimensional image display device provided by an embodiment of the present invention. The embodiment of the present invention can be applied to a scene of controlling a cube to display a 3D image. The device can be implemented by software and / or hardware and integrated into a computer device with application development function.
[0088] like Figure 5 As shown, the three-dimensional image display device includes: a viewing angle coordinate determination module 310, a display section determination module 320 and a display control module 330.
[0089] Among them, the viewing angle coordinate determination module 310 is used to obtain the object coordinates of at least one target object at each preset update time interval, and determine the target viewing angle coordinates according to the object coordinates of the target object; the display section determination module 320 is used to determine the target display section according to the target viewing angle coordinates and the center point coordinates of the target cubic screen; the display control module 330 is used to control the target cubic screen to display the target three-dimensional picture based on the target display section.
[0090] The technical solution provided by the embodiment of the present invention obtains the object coordinates of at least one target object by presetting the update duration at each interval, determines the target viewing angle coordinates according to the object coordinates of the target object; determines the target display section according to the target viewing angle coordinates and the center point coordinates of the target cube screen; and controls the target cube screen to display the target three-dimensional image based on the target display section. The technical solution of the embodiment of the present invention solves the problem of the fixed orientation angle of the image display in the existing three-dimensional image display technology, and can realize that the screen can dynamically adjust the viewing angle according to the position of the observer, so that the observer can see the 3D effect at different angles, improving the viewing experience.
[0091] In an optional implementation, the viewing angle coordinate determination module 310 is specifically used to: for each target object, determine the observation distance between the target object and the target cube screen according to the object coordinates of the target object, and determine the observation priority of the target object according to the observation distance; compare the observation priority of each target object, and determine the target viewing angle coordinates according to the object coordinates of at least one target object with the highest observation priority.
[0092] In an optional embodiment, the viewing coordinate determination module 310 includes: an observation priority determination unit, used to: determine the observation state of the target object based on the current observation distance and the last observation distance of the target object; compare the observation distance with at least one preset distance threshold, and determine the distance priority of the target object based on the comparison result; determine the observation priority of the target object based on the observation state and the distance priority.
[0093] In an optional embodiment, the viewing angle coordinate determination module 310 includes: a target viewing angle coordinate determination unit, which is used to: when the number of target objects with the highest priority is one, use the object coordinates of the target object with the highest priority as the target viewing angle coordinates; when the number of target objects with the highest priority is multiple, determine the mean coordinates of the object coordinates of the multiple target objects with the highest priority, and use the mean coordinates as the target viewing angle coordinates.
[0094] In an optional implementation, the display section determination module 320 is specifically used to: connect the target viewing angle coordinates and the center point coordinates of the target cubic screen to obtain a target extension line, and use a section perpendicular to the target extension line as the target display section.
[0095] In an optional implementation, the display control module 330 is specifically used to: determine a target rotation angle according to the target display section and the current display section of the target cube screen; and based on the target rotation angle, control the target cube screen to rotate and display the target three-dimensional image.
[0096] In an optional implementation, the display control module 330 includes: a picture display unit, configured to: for each two-dimensional picture of the target three-dimensional picture, rotate each two-dimensional picture by a target rotation angle and then render and display it.
[0097] The three-dimensional image display device provided in the embodiment of the present invention can execute the three-dimensional image display method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0098] Figure 6A schematic diagram of the structure of a computer device provided in an embodiment of the present invention. Figure 6 A block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention is shown. Figure 6 The computer device 12 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention. The computer device 12 can be any terminal device with computing capability and can be configured in a three-dimensional image display device.
[0099] like Figure 6 As shown, the computer device 12 is in the form of a general-purpose computing device. The components of the computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that connects various system components (including the system memory 28 and the processing unit 16).
[0100] The bus 18 may be one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. For example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
[0101] The computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the computer device 12, including volatile and non-volatile media, removable and non-removable media.
[0102] The system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache 32. The computer device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 6 not shown, usually called a "hard drive"). Although Figure 6 Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The system memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present invention.
[0103] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. Program modules 42 generally perform the functions and / or methods of the embodiments described herein.
[0104] The computer device 12 may also communicate with one or more external devices 14 (e.g., keyboards, pointing devices, displays 24, etc.), one or more devices that enable a user to interact with the computer device 12, and / or any device that enables the computer device 12 to communicate with one or more other computing devices (e.g., network cards, modems, etc.). Such communication may be performed through an input / output (I / O) interface 22. Furthermore, the computer device 12 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) through a network adapter 20. Figure 6 As shown, the network adapter 20 communicates with other modules of the computer device 12 via the bus 18. It should be understood that although Figure 6 Not shown, other hardware and / or software modules may be used in conjunction with computer device 12, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0105] The processing unit 16 executes various functional applications and data processing by running the program stored in the system memory 28, for example, implementing the three-dimensional image display method provided in the embodiment of the present invention, the method comprising:
[0106] At each preset update time interval, the object coordinates of at least one target object are obtained, and the target viewing angle coordinates are determined according to the object coordinates of the target object; the target display section is determined according to the target viewing angle coordinates and the center point coordinates of the target cubic screen; based on the target display section, the target cubic screen is controlled to display the target three-dimensional picture.
[0107] This embodiment provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, a three-dimensional image display method provided in any embodiment of the present invention is implemented, including:
[0108] At each preset update time interval, the object coordinates of at least one target object are obtained, and the target viewing angle coordinates are determined according to the object coordinates of the target object; the target display section is determined according to the target viewing angle coordinates and the center point coordinates of the target cubic screen; based on the target display section, the target cubic screen is controlled to display the target three-dimensional picture.
[0109] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.
[0110] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0111] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0112] Computer program code for performing the operations of the present invention may be written in one or more programming languages or combinations thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0113] It should be understood by those skilled in the art that the modules or steps of the present invention described above can be implemented by a general-purpose computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, optionally, they can be implemented by a program code executable by a computer device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0114] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A three-dimensional image display method, applied to a target cubic screen, characterized in that: include: At every preset update time interval, obtaining the object coordinates of at least one target object, and determining the target viewing angle coordinates according to the object coordinates of the target object; Determining a target display section according to the target viewing angle coordinates and the center point coordinates of the target cubic screen; Based on the target display slice, the target cube screen is controlled to display a target three-dimensional image.
2. The method according to claim 1, characterized in that The step of determining the target viewing angle coordinates according to the object coordinates of the target object comprises: For each target object, determining an observation distance between the target object and the target cube screen according to the object coordinates of the target object, and determining an observation priority of the target object according to the observation distance; The observation priorities of each target object are compared, and the target viewing angle coordinates are determined according to the object coordinates of at least one target object with the highest observation priority.
3. The method according to claim 2, characterized in that The determining the observation priority of the target object according to the observation distance includes: Determining the observation state of the target object according to the current observation distance and the last observation distance of the target object; Comparing the observed distance with at least one preset distance threshold, and determining the distance priority of the target object according to the comparison result; The observation priority of the target object is determined according to the observation state and the distance priority.
4. The method according to claim 2, characterized in that: The comparing the observation priorities of each target object and determining the target viewing angle coordinates according to the object coordinates of at least one target object with the highest observation priority includes: When the number of the target object with the highest priority is one, using the object coordinates of the target object with the highest priority as the target viewing angle coordinates; In the case that there are multiple target objects with the highest priority, the average coordinates of the object coordinates of the multiple target objects with the highest priority are determined, and the average coordinates are used as the target viewing angle coordinates.
5. The method according to claim 1, characterized in that The step of determining a target display section according to the target viewing angle coordinates and the center point coordinates of the target cubic screen includes: The target viewing angle coordinates and the center point coordinates of the target cubic screen are connected to obtain a target extension line, and a section perpendicular to the target extension line is used as the target display section.
6. The method according to claim 1, characterized in that The controlling the target cubic screen to display a target three-dimensional picture based on the target display section includes: Determining a target rotation angle according to the target display section and the current display section of the target cube screen; Based on the target rotation angle, the target cube screen is controlled to rotate and then display the target three-dimensional image.
7. The method according to claim 6, characterized in that The controlling the target cubic screen to rotate and then display the target three-dimensional image comprises: For each two-dimensional picture of the target three-dimensional picture, each two-dimensional picture is rotated by a target rotation angle and then rendered and displayed.
8. A three-dimensional image display device, characterized in that: The device comprises: A viewing angle coordinate determination module, configured to obtain the object coordinates of at least one target object at every preset update time interval, and determine the target viewing angle coordinates according to the object coordinates of the target object; A display section determination module, used to determine a target display section according to the target viewing angle coordinates and the center point coordinates of the target cubic screen; The display control module is used to control the target cube screen to display the target three-dimensional picture based on the target display section.
9. A computer device, characterized in that: The computer device comprises: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the three-dimensional image display method as described in any one of claims 1-7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the three-dimensional image display method as described in any one of claims 1 to 7 is implemented.