Legal claims defining the scope of protection, as filed with the USPTO.
1. A real-time generating method for a 360-degree VR panoramic graphic image, the method comprising: determining camera position information by determining a current camera position and scene information according to a preset setting or information of an external device; generating a panoramic CUBE texture map according to a change of the scene information, all the three-dimensional graphic images in a scene captured by a camera are real-time rendered onto a spatial projection object, and combined rendering and capturing are performed to form a full-enclosed panoramic CUBE texture map; generating a panoramic scene map, wherein a texture of the panoramic CUBE texture map is used as a data source, and the texture of the panoramic CUBE texture map is spherically projected and re-rendered within a 360-degree angle of view, and converted into a rendering target, and then generating a 4K panoramic scene map; and generating a 360 degree VR panoramic graphic image by extracting the generated panoramic scene texture for texture data, outputting the panoramic scene texture to a rendered result data queue, and outputting the rendered result data through a video IO card to obtain a 360 Degree VR panoramic graphic image with a key signal.
2. The method according to claim 1 , wherein in the step of generating a CUBE texture map, real-time rendering all three-dimensional graphic images onto the spatial projection object comprises the following steps: establishing a local three-dimensional coordinate system with the camera position as an origin; wherein, with a field angle FOV of 90 degrees, objects in the scene are respectively projected along the directions of the X, −X, Y, −Y, Z, and −Z axes of the three-dimensional coordinate system, and the combined rendering is performed six times, sky bounding boxes with six textured faces are merged to form six square texture maps to form a fully enclosed CUBE texture map.
3. The method according to claim 1 , wherein after the panoramic scene texture is generated at an end of the panoramic rendering, a graphic acceleration card is instructed to acquire a texture data object interface, lock the texture data object, obtain texture data, and then unlock the texture data object and use these links to get texture data extraction.
4. The method according to claim 1 , wherein the panoramic CUBE texture map is centered on the camera and includes rendered textures of all objects in the scene.
5. The method according to claim 1 , wherein the panoramic scene map has an aspect ratio of 2:1.
6. The method according to claim 1 , wherein in the step of generating a 360 degree VR panoramic graphic image, the step of outputting the panoramic scene texture to the rendered result data queue includes: i) setting a critical lock and under protection thereof, wherein the data address is taken out from an empty data queue header, the calculated latest data is updated, and the data block is added with a timestamp and a parity field identifier, and the data block is added to the end of a data queue to be broadcast, and the empty data queue header is used for storing rendered result; ii) in the video broadcast thread, when the broadcast instruction is obtained, under the protection of the critical lock, the data to be broadcasted and identified correctly is taken out from a head of the data queue to be broadcast according to the broadcast state, and sent to the board for broadcasting out; iii) putting the broadcasted data cache into the end of the empty data queue to form a queue of 8-shaped structures.
Unknown
May 25, 2021
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.