Method for halfway picture storage in effect picture rendering
By setting the mid-way storage rules and computing resource matching management during rendering, the problem of starting over due to dissatisfaction during rendering is solved, resource optimization and project collaboration are promoted, and rendering efficiency and quality are improved.
Patent Information
- Application Number
- CN202411691616.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-25
- Publication Date
- 2025-02-28
AI Technical Summary
During the rendering process, if the rendering result does not meet expectations, the entire rendering process needs to be restarted, resulting in wasted time and resources. Complex rendering tasks are prone to loss of unsaved work due to software crashes or power outages, increasing project risks.
By setting the mid-way picture storage rules, setting thresholds based on the rendering computing power consumption, task processing time or design workload, saving the phased rendering results, and through computing power resource matching and replacement management, the rendering task ladder is divided into multiple stages, freeing memory and computing resources, and optimizing system performance.
It realizes rapid fallback to the previous version when it is not satisfied, avoiding duplicate work and improving work efficiency; releasing resources and optimizing system performance when rendering large or complex scenes; and promoting project collaboration through the mid-way image storage function to prevent design data loss.
Smart Images

Figure CN119537022A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of cloud rendering, and in particular to a method for storing images during rendering of effect images. Background Art
[0002] In the field of digital design and visual effects production, rendering design and rendering is a critical and resource-intensive step. Designers need to plan and conceive renderings during the design process, including clarifying the design concept, collecting reference materials, selecting software and tools, and establishing 3D models; during the rendering process, multiple parameters of the image need to be monitored and adjusted in real time, including the application of materials and texture maps, the processing of lights and shadows, the integration of the environment and background, and the processing and optimization of details, to ensure that the final effect meets expectations. If the rendering result does not meet expectations, the entire rendering process needs to be restarted, which will take a lot of time and resources; at the same time, when performing complex and long-term rendering tasks, software crashes or unexpected power outages may cause the loss of unsaved work, thereby increasing project risks. Therefore, there is an urgent need for a method to save renderings midway. Summary of the invention
[0003] In view of the above technical problems, the purpose of the present invention is to provide a method for storing renderings during rendering, which comprehensively judges the three aspects of time, workload, and computing power, saves the phased rendering results, and improves rendering efficiency and rendering quality.
[0004] In order to achieve the above object, the technical solution adopted by the present invention is: a method for storing an image during rendering of an effect image, comprising the following steps: Step 1: Set the rules for saving images in the middle of the process. According to the fluctuation of the rendering computing power consumption (P), set a threshold for the rendering task processing time (T) or the design workload (M). When the set threshold is reached, save the stage results. Step 2: Computing power resource matching and replacement management. Through the mid-term image storage rules, the rendering of the effect map is divided into multiple stages in a step-by-step manner. After the mid-term image is stored, the computing power is matched according to the computing power resources required for the next stage, and the matched computing power is replaced to the next stage.
[0005] As a preferred method of the present invention, the rules for storing images in the middle are as follows: a comprehensive judgment is made based on the processing time of the rendering task (T), the design workload (M), and the rendering computing power consumption (P). ① Under non-continuous working conditions, when P fluctuates slightly, a threshold is set for M. When the designer reaches the set threshold, the stage results are saved; when P fluctuates greatly, a threshold is set for P. When P reaches the set threshold, the stage results are saved; ② Under continuous working conditions, when P fluctuates slightly, set a threshold for the rendering task working time T. When T reaches the set threshold, save the stage results. When P fluctuates greatly, set a threshold for P. When P reaches the set threshold, save the stage results.
[0006] As a preferred embodiment of the present invention, the contents of the image storage during the process include but are not limited to: ① Save the design or use material resources (materials used in the design process); ② Design process (design stage and process of designers); ③ Rendering progress (percentage or stage of current rendering completion); ④ Rendering layer (if layered rendering is used, save the rendering results of each layer); ⑤ Image file (save the currently rendered image file, the format may include BMP, TGA, TIF, JPG and PNG, etc.); ⑥ Scene file (save the currently rendered scene file so that you can continue rendering from where it was interrupted); ⑦ Parameter settings (save the parameter settings used during rendering so that they can be restored to the state before the interruption); ⑧Material and texture information (saving the model’s material and texture information to ensure that rendering can be continued from where it was interrupted without losing details), etc.
[0007] As a preferred method of the present invention, computing power resource matching and replacement management: after storing the image midway, memory and computing resources can be released in stages, optimizing system costs and saving resources. By storing the image midway, the rendering of the effect image is divided into multiple stages in a step-by-step manner, and corresponding computing power is provided according to the stage, which alleviates the problem of concentrated use of rendering computing power, reduces the rendering amount, and thus reduces computing power consumption and improves rendering efficiency.
[0008] As a preferred embodiment of the present invention, the computing power replacement process includes: ① Computing power estimation: After saving the graph in each stage, re-estimate the computing power required for the next stage; ② Computing power replacement: After the task processing of the previous stage is completed, the current computing power is judged based on the estimated situation whether it can process the task, and the matching computing power is replaced to the next stage, and the unmatched computing power is released; ③ Computing power matching: If the computing power replaced in the previous stage cannot complete the task processing, the required computing power for the task that cannot be processed by the replaced computing power is estimated and matched with the currently available computing power. The computing power resources with short distance and low cost are selected and called according to the estimated computing power to form a computing power supplement plan; ④ Computing power scheduling: According to the computing power matching supplement plan, on-demand scheduling is carried out.
[0009] Computing power consumption based on Calculation, where S is the rendering time, T is the amount of content in the rendering task, and k is the coefficient that maintains a proportional relationship. The computing power consumption of the rendering process without using mid-process image storage is P. After mid-process image storage, the computing power resources are re-matched, called, and released at the image storage point. Therefore, the total computing power consumption is .
[0010] Compared with the prior art, the present invention has the following technical effects: 1. By saving the intermediate rendering results, the designer can quickly roll back to the previous version when not satisfied, thus avoiding duplication of work and improving work efficiency.
[0011] 2. When rendering large or complex scenes, the mid-process image saving function can help free up memory and computing resources, optimize system performance and save costs.
[0012] 3. Designers can use the save function to share rendering progress so that team members and clients can provide timely feedback and promote project collaboration. During the design process, designers may have many creative ideas. The save function can help record these ideas and prevent them from being lost. Prevent design data loss due to software crashes, system failures, or unexpected shutdowns.
[0013] 4. By storing images in the middle, the rendering of the effect map is divided into multiple stages in a step-by-step manner, and corresponding computing power is provided according to the stages to alleviate the problem of concentrated use of rendering computing power, reduce the rendering volume, and thus reduce computing power consumption and improve rendering efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 The figure is a schematic diagram of the rules for saving images during rendering of the effect image in this embodiment.
[0015] Figure 2 This is a schematic diagram of the computing power consumption when rendering the effect graph without saving the graph in the middle of this embodiment.
[0016] Figure 3 This is a schematic diagram of the computing power consumption after the rendering of the effect graph in this embodiment is saved midway. DETAILED DESCRIPTION
[0017] In order to explain the technical content, structural features, achieved objectives and effects of the technical solution in detail, the following is a detailed description in conjunction with specific embodiments and accompanying drawings.
[0018] This embodiment discloses a method for storing an image during rendering, including the following steps: Step 1: Set the rules for saving images in the middle of the process. According to the fluctuation of the rendering computing power consumption (P), set a threshold for the rendering task processing time (T) or the design workload (M). When the set threshold is reached, save the stage results. Step 2: Computing power resource matching and replacement management. Through the mid-term image storage rules, the rendering of the effect map is divided into multiple stages in a step-by-step manner. After the mid-term image is stored, the computing power is matched according to the computing power resources required for the next stage, and the matched computing power is replaced to the next stage.
[0019] like Figure 1 As shown, the schematic diagram of the rules for saving images during rendering of the effect graph in this embodiment is as follows: Based on the comprehensive judgment of the rendering task processing time (T), the design workload (M), and the rendering computing power consumption (P), the specific rules are as follows: ① Under non-continuous working conditions, when P fluctuates slightly, a threshold is set for M. When the designer reaches the set threshold, the stage results are saved; when P fluctuates greatly, a threshold is set for P. When P reaches the set threshold, the stage results are saved; ② Under continuous working conditions, when P fluctuates slightly, set a threshold for the rendering task working time T. When T reaches the set threshold, save the stage results. When P fluctuates greatly, set a threshold for P. When P reaches the set threshold, save the stage results.
[0020] In this embodiment, the contents of the saved image include but are not limited to: ① Save the design or use material resources (materials used in the design process); ② Design process (design stage and process of designers); ③ Rendering progress (percentage or stage of current rendering completion); ④ Rendering layer (if layered rendering is used, save the rendering results of each layer); ⑤ Image file (save the currently rendered image file, the format may include BMP, TGA, TIF, JPG and PNG, etc.); ⑥ Scene file (save the currently rendered scene file so that you can continue rendering from where it was interrupted); ⑦ Parameter settings (save the parameter settings used during rendering so that they can be restored to the state before the interruption); ⑧Material and texture information (saving the model’s material and texture information to ensure that rendering can be continued from where it was interrupted without losing details), etc.
[0021] Computing resource matching and replacement management: After saving the image in the middle, the memory and computing resources can be released in stages, optimizing system costs and saving resources. By saving the image in the middle, the rendering of the effect image is divided into multiple stages in a step-by-step manner, and the corresponding computing power is provided according to the stage, which alleviates the problem of concentrated use of rendering computing power, reduces the rendering volume, and thus reduces computing power consumption and improves rendering efficiency.
[0022] The computing power replacement process includes: ① Computing power estimation: After saving the graph in each stage, re-estimate the computing power required for the next stage; ② Computing power replacement: After the task processing of the previous stage is completed, the current computing power is judged based on the estimated situation whether it can process the task, and the matching computing power is replaced to the next stage, and the unmatched computing power is released; ③ Computing power matching: If the computing power replaced in the previous stage cannot complete the task processing, the required computing power for the task that cannot be processed by the replaced computing power is estimated and matched with the currently available computing power. The computing power resources with short distance and low cost are selected and called according to the estimated computing power to form a computing power supplement plan; ④ Computing power scheduling: According to the computing power matching supplement plan, on-demand scheduling is carried out.
[0023] Computing power consumption based on Calculation, where S is the rendering time, T is the amount of content in the rendering task, and k is the coefficient to maintain a proportional relationship. The computing power consumption of the rendering process without using the intermediate image storage is as follows: Figure 2 As shown in the figure, after the image is stored midway, the computing power resources are re-matched, called and released at the storage point, so the total computing power consumption is ,like Figure 3 shown.
[0024] It should be noted that, although the above embodiments have been described in this article, the patent protection scope of the present invention is not limited thereby. Therefore, based on the innovative concept of the present invention, changes and modifications made to the embodiments described herein, or equivalent structures or equivalent process changes made using the contents of the present invention specification and drawings, directly or indirectly applying the above technical solutions to other related technical fields, are all included in the patent protection scope of the present invention.
Claims
1. A method for storing images during rendering, characterized in that: The following steps are involved: Step 1: Set the rules for saving images in the middle of the process. According to the fluctuation of the rendering computing power consumption (P), set a threshold for the rendering task processing time (T) or the design workload (M). When the set threshold is reached, save the stage results. Step 2: Computing power resource matching and replacement management. Through the mid-term image storage rules, the rendering of the effect map is divided into multiple stages in a step-by-step manner. After the mid-term image is stored, the computing power is matched according to the computing power resources required for the next stage, and the matched computing power is replaced to the next stage.
2. A method for storing rendering images during rendering according to claim 1, characterized in that: Rules for saving images during the process: Based on the processing time of the rendering task (T), the design workload (M), and the rendering computing power consumption (P), the specific rules are as follows: ① Under non-continuous working conditions, when P fluctuates slightly, a threshold is set for M. When the designer reaches the set threshold, the stage results are saved; when P fluctuates greatly, a threshold is set for P. When P reaches the set threshold, the stage results are saved; ② Under continuous working conditions, when P fluctuates slightly, set a threshold for the rendering task working time T. When T reaches the set threshold, save the stage results. When P fluctuates greatly, set a threshold for P. When P reaches the set threshold, save the stage results.
3. A method for storing rendering images during rendering according to claim 1 or 2, characterized in that: The contents of the saved image include: Designed or used material resources: materials used in the design process; Design Process: Designer design stages and processes; Rendering progress: the percentage or stage of the current rendering completion; Rendering layer: When layered rendering is used, the rendering results of each layer are saved; Image file: save the currently rendered image file in the following formats: BMP, TGA, TIF, JPG and PNG; Scene file: Save the currently rendered scene file so that you can continue rendering from where it was interrupted; Parameter settings: Save the parameter settings used during rendering so that you can restore to the state before the interruption; Material and Texture Information: Saves the model's material and texture information, ensuring that rendering can continue from where it was interrupted without losing detail.
4. The method for storing rendering images during rendering according to claim 1, characterized in that: Computing power replacement process: ① Computing power estimation: After saving the graph in each stage, re-estimate the computing power resources required for the next stage; ② Computing power replacement: Determine whether the current computing power can process the tasks of the next stage based on the estimated situation. If so, replace the matching computing power to the next stage; if not, release the unmatched computing power; ③ Computing power matching: If the computing power replaced in the previous stage cannot complete the task processing, the required computing power for the task that cannot be processed by the replaced computing power is estimated and matched with the currently available computing power. The computing power resources with short distance and low cost are selected and called according to the estimated computing power to form a computing power supplement plan; ④ Computing power scheduling: on-demand scheduling based on the computing power matching supplementary plan.
5. The method for storing rendering images during rendering according to claim 4, characterized in that: Computing power consumption based on Calculation, where T is the processing time of the rendering task, S is the content of the rendering task, k is the coefficient to maintain a proportional relationship, the computing power consumption of the rendering process without using the mid-term image storage is P, and the computing power resources are re-matched, called and released at the storage point after the mid-term image storage, so the total computing power consumption is .