Disclosure of Invention
The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview nor is intended to identify key/critical elements or to delineate the scope of such embodiments but rather as a prelude to the more detailed description that is presented later.
The embodiment of the disclosure provides a 3D display method, a 3D display device and a 3D display device, and aims to solve the technical problems that 3D display modes are solidified, the 3D display flexibility is reduced, and the improvement of a 3D display effect is not facilitated.
The 3D display method provided by the embodiment of the disclosure comprises the following steps:
displaying, in a 3D display device, at least one 3D display interface having a 3D effect with respect to the 3D display device;
and performing 3D display in at least one 3D display interface.
In some embodiments, displaying at least one 3D display interface may include:
and generating and displaying an interface parallax image capable of forming at least one 3D display interface.
In some embodiments, generating the interface parallax image may include:
rendering at least one 3D display interface based on the parallax texture of the interface parallax image to obtain an image to be displayed with parallax;
and distributing the image to be displayed with parallax to the pixels.
In some embodiments, rendering at least one 3D display interface based on the disparity texture to obtain an image to be displayed with disparity may include:
and separating a left eye parallax texture and a right eye parallax texture from the parallax texture, and rendering a rendering scene of at least one 3D display interface through a left eye logic camera and a right eye logic camera respectively to obtain a left eye image to be displayed and a right eye image to be displayed.
In some embodiments, rendering a rendered scene of at least one 3D display interface may include:
performing left-eye parallax texture mapping on an interface of a rendered scene through a left-eye logic camera to obtain a left-eye image to be displayed; and performing right eye parallax texture mapping in an interface of a rendered scene through a right eye logic camera to obtain a right eye image to be displayed.
In some embodiments, the 3D display method may further include: and establishing a 3D model of at least one 3D display interface to obtain a rendering scene.
In some embodiments, assigning the image to be displayed with parallax to the pixels may include:
and distributing the image to be displayed for the left eye and the image to be displayed for the right eye to the pixels.
In some embodiments, the 3D display device may include at least two viewpoints;
distributing the left-eye image to be displayed and the right-eye image to be displayed to pixels, comprising the following steps:
and distributing the left-eye image to be displayed and the right-eye image to be displayed to pixels corresponding to at least two viewpoints.
In some embodiments, the 3D display method may further include: a parallax texture is obtained.
In some embodiments, obtaining the disparity texture may include at least one of:
obtaining parallax textures through the 3D picture;
obtaining a parallax texture through a 3D video file;
obtaining a disparity texture through a 3D video stream;
the parallax texture is directly obtained by a 3D photographing apparatus.
In some embodiments, the 3D effect of the at least one 3D display interface with respect to the 3D display device may include:
at least one 3D display interface is displayed relative to the 3D display device; or
At least one 3D display interface is arranged in a screen relative to the 3D display device; or
One part of the at least one 3D display interface is displayed relative to the 3D display device, and the other part of the at least one 3D display interface is displayed relative to the 3D display device.
In some embodiments, the at least one 3D display interface may be arranged in at least one of the following ways:
the position of at least one 3D display interface in the 3D display device is fixed or variable;
the 3D effect of the at least one 3D display interface with respect to the 3D display device is fixed or variable.
In some embodiments, the at least one 3D display interface having a 3D effect with respect to the 3D display device may include at least one of:
at least one display frame having a 3D effect with respect to a 3D display device;
at least one display background having a 3D effect with respect to the 3D display device.
In some embodiments, the 3D display in the at least one 3D display interface may include:
and performing 3D display in a display area defined by a 3D display interface including at least one of a display frame and a display background.
The 3D display device provided by the embodiments of the present disclosure includes a processor and a memory storing program instructions, and the processor is configured to execute the 3D display method described above when executing the program instructions.
The 3D display device provided by the embodiment of the disclosure comprises the 3D display device.
In some embodiments, the 3D display device may be a 3D display module; or
The 3D display device can be a 3D display screen comprising a 3D display module; or
The 3D display device may be a 3D display including a 3D display screen.
The 3D display method, the 3D display device and the 3D display device provided by the embodiment of the disclosure can realize the following technical effects:
through carrying out 3D display in 3D display interface that has the 3D effect for 3D display device, improved 3D display's flexibility, be favorable to improving 3D display effect.
The foregoing general description and the following description are exemplary and explanatory only and are not restrictive of the application.
Detailed Description
So that the manner in which the features and elements of the disclosed embodiments can be understood in detail, a more particular description of the disclosed embodiments, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings. In the following description of the technology, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, at least one embodiment may be practiced without these specific details. In other instances, well-known structures and devices may be shown in simplified form in order to simplify the drawing.
Referring to fig. 1A, an embodiment of the present disclosure provides a 3D display method, including:
s110: displaying, in a 3D display device, at least one 3D display interface having a 3D effect with respect to the 3D display device;
s120: and performing 3D display in at least one 3D display interface.
Like this, through carrying out 3D in the 3D display interface that has the 3D effect for 3D display device and show, improved the flexibility of 3D display mode, be favorable to improving the 3D display effect.
Referring to fig. 1B, 1C, and 1D, based on the 3D display method provided by the embodiment of the present disclosure, in the 3D display device 200, at least one 3D display interface 210 having a 3D effect with respect to the 3D display device 200 may be displayed, and 3D display is performed in the at least one 3D display interface 210.
In some embodiments, a 3D display interface 210 is illustrated in fig. 1B, represented by a four-sided frame with diagonal fill.
In some embodiments, two 3D display interfaces 210 are exemplarily shown in fig. 1C, each represented by a four-sided frame with diagonal fill. Optionally, two 3D display interfaces 210 are adjacent to each other.
In some embodiments, two 3D display interfaces 210 are exemplarily shown in fig. 1D, each represented by a four-sided box with diagonal fill. Optionally, the two 3D display interfaces 210 are spaced apart from each other.
In some embodiments, the number of 3D display interfaces 210 may be one or more, such as: one, two, three or more. Alternatively, when the number of the 3D display interfaces 210 is two or more, at least two of the 3D display interfaces 210 may be adjacent to each other or spaced apart from each other. Alternatively, the shape of the 3D display interface 210 may be different from the four-sided frame, but in other shapes, such as: circular, oval, triangular, polygonal, irregular, etc.
In some embodiments, when the number of the 3D display interfaces 210 is multiple, the multiple 3D display interfaces 210 may be arranged in an array, for example: and the lines are arranged in a row. Alternatively, the array arrangement of the plurality of 3D display interfaces 210 may be different from the above-mentioned determinant, but may be in other array shapes, for example: circular, oval, triangular and other array arrangement modes.
Referring to fig. 2, in some embodiments, displaying at least one 3D display interface may include:
s210: generating an interface parallax image capable of forming at least one 3D display interface;
s220: and displaying the generated interface parallax image.
Referring to fig. 3, in some embodiments, generating an interface parallax image may include:
s310: rendering at least one 3D display interface based on the parallax texture of the interface parallax image to obtain an image to be displayed with parallax;
s320: and distributing the image to be displayed with parallax to the pixels.
Referring to fig. 4, in some embodiments, rendering at least one 3D display interface based on a disparity texture to obtain an image to be displayed with disparity may include:
s410: separating left eye parallax texture and right eye parallax texture from the parallax texture of the interface parallax image;
s420: rendering a rendering scene of at least one 3D display interface based on the left-eye parallax texture and the right-eye parallax texture through the left-eye logic camera and the right-eye logic camera respectively to obtain a left-eye image to be displayed and a right-eye image to be displayed.
In some embodiments, rendering a rendered scene of at least one 3D display interface may include:
performing left-eye parallax texture mapping based on left-eye parallax textures in an interface of a rendered scene through a left-eye logic camera to obtain a left-eye image to be displayed; and performing right eye parallax texture mapping based on the right eye parallax texture in an interface of a rendered scene through a right eye logic camera to obtain a right eye image to be displayed.
In some embodiments, the above-mentioned disparity texture may be embodied in a computer memory storage format of an image to be displayed. Alternatively, the interface parallax image may be generated in other feasible ways to display at least one 3D display interface, besides the parallax texture based way described above.
Referring to fig. 5, in some embodiments, the 3D display method may further include:
s510: establishing a 3D model of at least one 3D display interface;
s520: and obtaining a rendering scene based on the established 3D model.
In some embodiments, assigning the image to be displayed with parallax to the pixels may include:
and distributing the image to be displayed for the left eye and the image to be displayed for the right eye to the pixels.
In some embodiments, the 3D display device may include at least two viewpoints;
the allocating the left-eye image to be displayed and the right-eye image to be displayed to the pixels may include:
and distributing the left-eye image to be displayed and the right-eye image to be displayed to pixels corresponding to at least two viewpoints.
In some embodiments, the 3D display device may include more than two multiple viewpoints, for example: three or more. Alternatively, the left-eye image to be displayed and the right-eye image to be displayed may be allocated to pixels corresponding to a plurality of viewpoints. In this way, the pixels to which the left-eye image to be displayed is allocated may transmit the left-eye image to be displayed to the left eye of the user, and the pixels to which the right-eye image to be displayed is allocated may transmit the right-eye image to be displayed to the right eye of the user, so as to achieve a 3D effect.
In some embodiments, the at least two viewpoints described above may correspond to at least one user, for example: one, two, three or more users. Alternatively, the same or different images to be displayed may be sent to different users based on the viewpoints corresponding to the users, so that the different users can see the same or different 3D contents.
In some embodiments, the 3D display method may further include: a parallax texture is obtained.
In some embodiments, obtaining the disparity texture may include at least one of:
obtaining parallax textures through the 3D picture;
obtaining a parallax texture through a 3D video file;
obtaining a disparity texture through a 3D video stream;
the parallax texture is directly obtained by a 3D photographing apparatus.
In some embodiments, other feasible approaches besides the above-mentioned 3D picture, 3D video file, 3D video stream, 3D photographing device may be considered as long as the parallax texture can be obtained smoothly.
Referring to fig. 6A, 6B, and 6C, in some embodiments, the 3D effect of the at least one 3D display interface 210 with respect to the 3D display device 200 may include:
at least one 3D display interface 210 is out-of-screen with respect to the 3D display device 200; or
At least one 3D display interface 210 is screened relative to the 3D display device 200; or
One portion of the at least one 3D display interface 210 is out-of-screen with respect to the 3D display device 200 and another portion is in-screen with respect to the 3D display device 200.
Referring to fig. 6A, in some embodiments, at least one 3D display interface 210 may be out-of-screen with respect to the 3D display device 200.
Referring to fig. 6B, in some embodiments, at least one 3D display interface 210 may be screen-in with respect to the 3D display device 200.
Referring to fig. 6C, in some embodiments, a portion of the at least one 3D display interface 210 may be out-of-screen with respect to the 3D display device 200 and another portion may be in-screen with respect to the 3D display device 200.
In some embodiments, fig. 6C illustrates that the upper half of at least one 3D display interface 210 may be out-of-screen with respect to the 3D display device 200 and the lower half may be in-screen with respect to the 3D display device 200. Alternatively, the setting position of the out-of-screen and in-screen portion in the at least one 3D display interface 210 may also be different from that shown in fig. 6C, as long as the out-of-screen and in-screen portion exists in the at least one 3D display interface 210.
In some embodiments, the at least one 3D display interface 210 may be arranged in at least one of the following ways:
the position of the at least one 3D display interface 210 in the 3D display device 200 may be fixed or variable;
the 3D effect of the at least one 3D display interface 210 with respect to the 3D display device 200 may be fixed or variable.
In some embodiments, at least one 3D display interface 210 of the plurality of 3D display interfaces 210 may have a fixed position and may also have a position that changes, for example: location changes occur based on specific logic, conditions, etc. Alternatively, the specific logic, condition described above may be a user instruction, a display time, a posture of the 3D display device 200, a display area setting of a display interface of the 3D display device 200, or the like.
In some embodiments, at least one 3D display interface 210 of the plurality of 3D display interfaces 210 may have a fixed 3D effect (e.g., always on screen, etc.), and may also have a 3D effect change, such as: location changes occur based on specific logic, conditions, etc. Alternatively, the specific logic, condition described above may be a user instruction, a display time, a posture of the 3D display device 200, a light sensing setting of a display interface of the 3D display device 200, and the like.
Referring to fig. 7A, 7B, in some embodiments, the at least one 3D display interface 210 having a 3D effect with respect to the 3D display device 200 may include at least one of:
at least one display frame 220 having a 3D effect with respect to the 3D display device 200;
at least one display background 230 having a 3D effect with respect to the 3D display apparatus 200.
Referring to fig. 7A, in some embodiments, the at least one 3D display interface 210 may be at least one display frame 220 having a 3D effect with respect to the 3D display apparatus 200. Alternatively, when the number of the 3D display interfaces 210 is two or more, the two or more 3D display interfaces 210 may be two or more display frames 220.
Referring to fig. 7B, in some embodiments, the at least one 3D display interface 210 may be at least one display background 230 having a 3D effect with respect to the 3D display apparatus 200. Alternatively, when the number of the 3D display interfaces 210 is two or more, the two or more 3D display interfaces 210 may be two or more display backgrounds 230, respectively. Optionally, at least one of the display frames 220 may be included in at least one of the display backgrounds 230 as the 3D display interface 210.
In some embodiments, in addition to the display frame 220 and the display background 230, the at least one 3D display interface 210 may be embodied in other forms as long as it has a 3D effect with respect to the 3D display apparatus 200.
In some embodiments, the 3D display in the at least one 3D display interface 210 may include:
the 3D display is performed in a display area defined by a 3D display interface including at least one of the display frame 220 and the display background 230.
In some embodiments, whether represented as display frame 220, display background 230, or otherwise, may be 3D displayed in a display area defined by at least one 3D display interface 210, such as: the 3D image is displayed. Alternatively, the display area for 3D display is exemplarily represented by a quadrangle filled with grid lines in fig. 1B, 1C, 1D, 6A, 6B, 6C, 7A, 7B.
Referring to fig. 8, the present disclosure discloses a 3D display apparatus 200 including a processor and a memory storing program instructions, the processor being configured to execute the above-mentioned 3D display method when executing the program instructions.
In some embodiments, the structure of the 3D display device 200 shown in fig. 8 includes:
a processor (processor)810 and a memory (memory)820, and may further include a Communication Interface 830 and a bus 840. The processor 810, the communication interface 830 and the memory 820 can communicate with each other via a bus 840. Communication interface 830 may be used for information transfer. The processor 810 may call logic instructions in the memory 820 to perform the 3D display method of the above-described embodiment.
Furthermore, the logic instructions in the memory 820 may be implemented in software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as a stand-alone product.
The memory 820 is a computer-readable storage medium for storing software programs, computer-executable programs, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 810 performs functional applications and data processing, i.e., implementing the 3D display method in the above-described method embodiments, by executing program instructions/modules stored in the memory 820.
The memory 820 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. Further, the memory 820 may include a high speed random access memory and may also include a non-volatile memory.
Referring to fig. 9, the present disclosure discloses a 3D display device 300 including the 3D display apparatus 200 described above.
Referring to fig. 10A, in some embodiments, the 3D display device 300 may be a 3D display module 310.
Referring to fig. 10B, in some embodiments, the 3D display device 300 may be a 3D display screen 320 including a 3D display module 310.
Referring to fig. 10C, in some embodiments, the 3D display device 300 may be a 3D display 330 including a 3D display screen 320.
In some embodiments, the 3D display device 300 may further include other means for supporting the normal operation of the 3D display device 300, such as: at least one of a communication interface, a frame, a control circuit, and the like.
According to the 3D display method, the 3D display device and the 3D display device, 3D display is carried out in the 3D display interface with the 3D effect relative to the 3D display device, so that the flexibility of 3D display is improved, and the 3D display effect is favorably improved.
The disclosed embodiments provide a computer-readable storage medium storing computer-executable instructions configured to perform the above-described 3D display method.
An embodiment of the present disclosure provides a computer program product including a computer program stored on a computer-readable storage medium, the computer program including program instructions that, when executed by a computer, cause the computer to perform the 3D display method.
The computer-readable storage medium described above may be a transitory computer-readable storage medium or a non-transitory computer-readable storage medium.
The computer-readable storage medium and the computer program product provided by the embodiments of the present disclosure improve the flexibility of 3D display by performing 3D display in a 3D display interface having a 3D effect with respect to a 3D display device, and are advantageous to improving the 3D display effect.
The technical solution of the embodiments of the present disclosure may be embodied in the form of a software product, where the computer software product is stored in a storage medium and includes at least one instruction to enable a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present disclosure. And the aforementioned storage medium may be a non-transitory storage medium comprising: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes, and may also be a transient storage medium.
The above description and drawings sufficiently illustrate embodiments of the disclosure to enable those skilled in the art to practice them. Other embodiments may incorporate structural, logical, electrical, process, and other changes. The examples merely typify possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in or substituted for those of others. The scope of the disclosed embodiments includes the full ambit of the claims, as well as all available equivalents of the claims. As used in this application, although the terms "first," "second," etc. may be used in this application to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, unless the meaning of the description changes, so long as all occurrences of the "first element" are renamed consistently and all occurrences of the "second element" are renamed consistently. The first and second elements are both elements, but may not be the same element. Furthermore, the words used in the specification are words of description only and are not intended to limit the claims. As used in the description of the embodiments and the claims, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. Similarly, the term "and/or" as used in this application is meant to encompass any and all possible combinations of one or more of the associated listed. Furthermore, the terms "comprises" and/or "comprising," when used in this application, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. Without further limitation, an element defined by the phrase "comprising an …" does not exclude the presence of other like elements in a process, method or apparatus that comprises the element. In this document, each embodiment may be described with emphasis on differences from other embodiments, and the same and similar parts between the respective embodiments may be referred to each other. For methods, products, etc. of the embodiment disclosures, reference may be made to the description of the method section for relevance if it corresponds to the method section of the embodiment disclosure.
Those of skill in the art would appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software may depend upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments. It is clear to those skilled in the art that, for convenience and brevity of description, the working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments disclosed herein, the disclosed methods, products (including but not limited to devices, apparatuses, etc.) may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit may be merely a division of a logical function, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form. Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to implement the present embodiment. In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
In the drawings, the width, length, thickness, etc. of structures such as elements or layers may be exaggerated for clarity and descriptive purposes. When an element or layer is referred to as being "disposed on" (or "mounted on," "laid on," "attached to," "coated on," or the like) another element or layer, the element or layer may be directly "disposed on" or "over" the other element or layer, or intervening elements or layers may be present, or even partially embedded in the other element or layer.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises at least one executable instruction for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. In the description corresponding to the flowcharts and block diagrams in the figures, operations or steps corresponding to different blocks may also occur in different orders than disclosed in the description, and sometimes there is no specific order between the different operations or steps. For example, two sequential operations or steps may in fact be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. Each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.