A method for generating curved screen mesh based on distance measurement
Through measurement and cosine theorem calculation, a Mesh model of LED arc screen was generated, which solved the problems of complex construction error and manual modeling in the existing technology, achieved fast and accurate Mesh generation and multi-channel rendering adaptability, and improved arc The efficiency and accuracy of the shape screen mesh generation.
Patent Information
- Application Number
- CN202410228713.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-29
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-02-29
AI Technical Summary
The prior art is difficult to accurately generate the Mesh model of LED arc screens, which leads to construction errors and manual modeling complex and time-consuming, limiting the application and popularization of the Mesh generation technology of arc screens.
By measuring and obtaining the LED box size parameters and distance data from the vertex to the origin, using the cosine theorem to calculate the two-dimensional plane coordinates, generate arc line segments and substituting height data to generate patch Mesh, adjust UV mapping, and integrate into Blender software to simplify operations Process, compatible with Mesh generation of ground and top screens.
It realizes fast and accurate arc screen mesh generation, lowers technical thresholds, eliminates construction errors, improves accuracy and efficiency, and is suitable for multi-channel rendering and data sharing.
Smart Images

Figure CN118428032B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of virtual film production, and in particular to a method for generating a curved screen Mesh based on distance measurement. Background Art
[0002] In recent years, virtual production technology has developed rapidly and has been widely used in the fields of film, television, live broadcast, etc. As a mainstream technical solution in virtual production, LED curved screens can be seen in more and more film and television bases, studios, and crews.
[0003] For example, in the 2019 American TV series "The Mandalorian", the production team installed a 270-degree curved screen in a large studio. The studio is also equipped with a camera tracking system that can track the position and angle of the camera in real time. By using the Unreal game engine for real-time rendering, high-quality virtual scenes can be generated to create a realistic interstellar space for the audience.
[0004] Here are some famous film and television works that use curved screens in virtual production:
[0005] Movies: Avatar (2009): a curved screen was used to create the realistic planet Pandora; Avengers: Endgame (2019): a curved screen was used to shoot scenes of the Battle of New York; Spider-Man: No Homecoming (2021): a curved screen was used to shoot scenes on the streets of New York;
[0006] TV series: The Mandalorian (2019): curved screens were used to create realistic interstellar space; Dune (2021): curved screens were used to create realistic desert worlds; Avatar 2: The Way of Water (2022): curved screens were used to create realistic planet Pandora;
[0007] Studio: Henan TV Station’s 600-square-meter XR immersive 4K ultra-high-definition studio; Lijiang TV Station’s 500-square-meter 4K full-media studio; Foshan TV Station’s 400-square-meter XR large-scale immersive smart studio.
[0008] In virtual production, the virtual screen Mesh (also known as the virtual LED wall) is a 3D model created in a rendering engine (such as Unreal Engine), which corresponds to the LED screen in the actual physical world. In order to accurately map the virtual image to the actual environment, the shape, size and position of this virtual screen Mesh need to completely match the actual LED screen.
[0009] In the past, the modeling of LED curved screens was generally based on drawing parameters. Professional artists made 3D models in modeling software (such as 3dsMax, Maya, Blender, etc.). It was difficult to take into account the errors caused by construction and the inability to fully match the actual screen by disassembling UV according to the channel. It was difficult to calculate the errors caused by construction based on the drawing parameters, and the manual modeling process would also cause errors in the UV coordinates of the vertex coordinates. The modeling process requires a lot of mathematical calculations, and after completion, UV needs to be processed according to channel segmentation. The process is complicated and time-consuming. Manual modeling requires users to have certain 3D modeling skills, and users without relevant backgrounds will have certain difficulties in using it. This limits the application and popularization of curved screen Mesh generation technology, and also puts forward new research and development needs in this field. Therefore, we need to provide a method for generating curved screen Mesh based on distance measurement. Summary of the invention
[0010] The purpose of the present invention is to provide a method for generating a curved screen Mesh based on distance measurement, by measuring or obtaining the size parameters of an LED box; measuring and recording the distance data from the vertex of the curved screen to the origin; collecting the size data of the ground screen and the top screen; in the modeling software, using the data in steps 1, 2 and 3, according to the cosine theorem, calculating the two-dimensional plane coordinates of the vertex of the curved screen LED box; generating corresponding arc segments in the modeling software according to the calculated vertex coordinates; substituting the arc segments into the height data to generate a facet Mesh; adjusting the UV mapping of the facet Mesh according to the rendering channel; integrating into the Blender software in the form of a plug-in to simplify the user operation process, which can lower the technical threshold, improve accuracy and efficiency, be compatible with the Mesh generation of the ground screen and the top screen, and realize the serialization, preservation and sharing of data, lowering the technical threshold for the generation of the curved screen Mesh; eliminating construction errors and improving accuracy; automatically adjusting the UV distribution of the Mesh to adapt to multi-channel rendering; being compatible with the Mesh generation of the ground screen and the top screen; and realizing the serialization, preservation and sharing of data.
[0011] To achieve the above object, the present invention adopts the following technical solution: a method for generating a curved screen Mesh based on distance measurement, comprising the following steps:
[0012] By measuring or obtaining the size parameters of the LED cabinet;
[0013] Measure and record the distance data from the vertex of the curved screen to the origin;
[0014] Collect the dimension data of the floor screen and the top screen;
[0015] In the modeling software, use the data in steps 1, 2, and 3 to calculate the two-dimensional plane coordinates of the vertices of the curved screen LED box according to the cosine theorem;
[0016] According to the calculated vertex coordinates, a corresponding arc segment is generated in the modeling software;
[0017] Substitute the arc segment into the height data to generate the mesh;
[0018] Adjust the UV mapping of the mesh according to the rendering channel;
[0019] It is integrated into Blender software in the form of a plug-in to simplify the user operation process.
[0020] Preferably, substituting the arc segment into the height data to generate the mesh includes:
[0021] Generate the cosine theorem calculation formula for the mesh and then calculate the vertex coordinates.
[0022] Preferably, adjusting the UV mapping of the mesh according to the rendering channel includes:
[0023] UV mapping adjustment is based on multi-channel rendering requirements. Each channel corresponds to an independent Mesh, and its UV fills the entire UV frame.
[0024] Preferably, the modeling software is the open source software Blender.
[0025] Preferably, the method further includes serializing and saving the generated Mesh data for data sharing.
[0026] Preferably, the step of substituting the arc segment into the height data to generate the mesh further includes:
[0027] Use a checkerboard material to map the patch mesh so that you can check the channel segmentation.
[0028] Preferably, the measuring or obtaining the size parameters of the LED box includes:
[0029] When the LED cabinet is located in the center of the curved screen, the Mesh is corrected by rotating it 1 / 2 of the angle.
[0030] Preferably, the plug-in is integrated into the Blender software to simplify the user operation process, including:
[0031] It also includes receiving distance data input by the user through the Blender plug-in user interface, and providing help instructions and schematic diagrams for the data format.
[0032] Preferably, the method is suitable for generating a Mesh that is compatible with a floor screen and a top screen.
[0033] A computer program product comprises a computer-readable storage medium, wherein the storage medium stores a computer program, and when executed on a computer, implements the method for generating a curved screen Mesh according to claim 1.
[0034] The present invention is achieved through the following technical solutions:
[0035] 1. Calculate the plane coordinates of the left and right vertices of the LED box by measuring the distance from the LED box joint to the arc origin;
[0036] 2. Draw arc segments according to the coordinates in Blender, and substitute the height data into the segments to generate the mesh;
[0037] 3. Adjust the UV mapping of the Mesh to adapt to multi-channel rendering;
[0038] 4. It is integrated into the Blender software in the form of a plug-in, and users can operate directly in the Blender interface.
[0039] Beneficial effects of the invention:
[0040] Compared with the prior art, the present invention provides a method for generating curved screen mesh with low cost and easy operation. Users can quickly and accurately generate curved screen mesh without complex 3D modeling skills, and the method can handle a variety of curved screens, improving the accuracy of the results and the efficiency of the process. Other features and advantages of the present invention will be described in the subsequent description, and part of them will become obvious from the description, or can be understood by implementing the present invention. The objects and other advantages of the present invention can be achieved and obtained by the structures indicated in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 is a flow chart of the steps of the present invention;
[0042] Figure 2 It is the principle diagram of the vertex coordinate algorithm of the present invention;
[0043] Figure 3 It is a schematic diagram of the LED display screen of the present invention;
[0044] Figure 4 A test chart for surveyors of the present invention;
[0045] Figure 5 39 sets of measurement data graphs for the present invention;
[0046] Figure 6 It is a schematic diagram of the mesh screen of the present invention. DETAILED DESCRIPTION
[0047] The following will be combined with the accompanying drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. The specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0048] A method for generating a curved screen Mesh based on distance measurement comprises the following steps:
[0049] By measuring or obtaining the size parameters of the LED cabinet;
[0050] Measure and record the distance data from the vertex of the curved screen to the origin;
[0051] Collect the dimension data of the floor screen and the top screen;
[0052] In the modeling software, use the data in steps 1, 2, and 3 to calculate the two-dimensional plane coordinates of the vertices of the curved screen LED box according to the cosine theorem;
[0053] According to the calculated vertex coordinates, a corresponding arc segment is generated in the modeling software;
[0054] Substitute the arc segment into the height data to generate the mesh;
[0055] Adjust the UV mapping of the mesh according to the rendering channel;
[0056] It is integrated into Blender software in the form of a plug-in to simplify the user operation process.
[0057] Substituting the arc segment into the height data to generate the mesh includes:
[0058] The formula for calculating the cosine theorem in generating the mesh is: cosα = (a^2 + b^2 - c^2) / (2ab), which gives the α angle and then calculates the vertex coordinates.
[0059] The step of adjusting the UV mapping of the mesh according to the rendering channel includes:
[0060] UV mapping adjustment is based on multi-channel rendering requirements. Each channel corresponds to an independent Mesh, and its UV fills the entire UV frame.
[0061] The modeling software is the open source software Blender.
[0062] It also includes serialization to save the generated Mesh data for data sharing.
[0063] Substituting the arc segment into the height data to generate the mesh also includes:
[0064] Use a checkerboard material to map the patch mesh so that you can check the channel segmentation.
[0065] The step of measuring or obtaining the size parameters of the LED cabinet includes:
[0066] When the LED cabinet is located in the center of the curved screen, the Mesh is corrected by rotating it 1 / 2 of the angle.
[0067] The plug-in is integrated into the Blender software to simplify the user operation process, including:
[0068] It also includes receiving distance data input by the user through the Blender plug-in user interface, and providing help instructions and schematic diagrams for the data format.
[0069] The method is suitable for generating a Mesh that is compatible with a ground screen and a top screen.
[0070] A computer program product comprises a computer-readable storage medium, wherein the storage medium stores a computer program, and when executed on a computer, implements the method for generating a curved screen Mesh according to claim 1.
[0071] Install the plug-in, install the Blender plug-in on your computer, and check whether the Json data file is saved intact;
[0072] Collect data for Json data files that have not been saved;
[0073] Segment the collected data according to the rules and bring the segmented data into the plug-in to generate Mesh;
[0074] Generate Mesh directly based on the saved Json data file;
[0075] Get the generated Mesh and import it into the rendering platform, and save the Json data file
[0076] Example:
[0077] The LED display screen uses Xiuhu P1.68, the cabinet is arranged in 78 columns and 18 rows, the floor screen is 13.51 meters long, the center line width is 6.96 meters, and the vertical screen height is 4.5 meters.
[0078] Measuring tool: infrared rangefinder, number of people measuring: 1 person.
[0079] The measurement personnel stand in the middle of the box and measure the data every two columns, such as Figure 3As shown, 39 sets of data are measured from left to right. Figure 5 .
[0080] Import the data into the plugin, and the generated mesh screen is as follows Figure 6 Finally, it should be noted that the above is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein with equivalents. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for generating a curved screen Mesh based on distance measurement, characterized in that: The steps include: By measuring or obtaining the size parameters of the LED cabinet; Measure and record the distance data from the vertex of the curved screen to the origin; Collect the dimension data of the floor screen and the top screen; In the modeling software, use the data in steps 1, 2, and 3 to calculate the two-dimensional plane coordinates of the vertices of the curved screen LED box according to the cosine theorem; According to the calculated vertex coordinates, a corresponding arc segment is generated in the modeling software; Substitute the arc segment into the height data to generate the mesh; Adjust the UV mapping of the mesh according to the rendering channel; It is integrated into Blender software in the form of a plug-in to simplify the user operation process.
2. According to claim 1, a method for generating a curved screen Mesh based on distance measurement, characterized in that: Substituting the arc segment into the height data to generate the mesh includes: Generate the cosine theorem calculation formula for the mesh and then calculate the vertex coordinates.
3. The method for generating a curved screen Mesh based on distance measurement according to claim 2, characterized in that: The step of adjusting the UV mapping of the mesh according to the rendering channel includes: UV mapping adjustment is based on multi-channel rendering requirements. Each channel corresponds to an independent Mesh, and its UV fills the entire UV frame.
4. The method for generating a curved screen Mesh based on distance measurement according to claim 1, characterized in that: The modeling software is the open source software Blender.
5. The method for generating a curved screen Mesh based on distance measurement according to claim 1, characterized in that: It also includes serialization to save the generated Mesh data for data sharing.
6. The method for generating a curved screen Mesh based on distance measurement according to claim 1, characterized in that: Substituting the arc segment into the height data to generate the mesh also includes: Use a checkerboard material to map the patch mesh so that you can check the channel segmentation.
7. The method for generating a curved screen Mesh based on distance measurement according to claim 1, characterized in that: The step of measuring or obtaining the size parameters of the LED cabinet includes: When the LED cabinet is located in the center of the curved screen, the Mesh is corrected by rotating it 1 / 2 of the angle.
8. The method for generating a curved screen Mesh based on distance measurement according to claim 1, characterized in that: The plug-in is integrated into the Blender software to simplify the user operation process, including: It also includes receiving distance data input by the user through the Blender plug-in user interface, and providing help instructions and schematic diagrams for the data format.
9. The method for generating a curved screen Mesh based on distance measurement according to claim 1, characterized in that: The method is suitable for generating a Mesh that is compatible with a ground screen and a top screen.
10. A computer program product, comprising a computer-readable storage medium, wherein the storage medium stores a computer program, and when executed on a computer, implements the method for generating a curved screen Mesh according to claim 1.
