Cloud rendering method

Through the collaborative work of the client and the cloud rendering server, the cloud rendering process is monitored and optimized in real time, solving the problems of insufficient rendering speed and reliability in the existing technology, and achieving high-quality rendering and fast rendering effects.

CN118762115APending Publication Date: 2024-10-11QINGDAO VIRTUAL REALITY RES INST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411028706.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

Existing cloud rendering methods cannot monitor the rendering process in real time, resulting in unreliable operation and insufficient rendering speed.

Method used

The client uploads source files and generates detection signals. The cloud rendering server calculates the light distribution map and material type. The client determines whether modifications are needed and sends corresponding signals for rendering. The cloud rendering server performs material rendering and small pixel rendering, and merges them to generate the final rendering. Figure, and determine whether the rendering is successful or failed by matching the detection signal with the preset conditions.

Benefits of technology

It improves the speed and quality of cloud rendering, enables real-time monitoring and error troubleshooting of the rendering process on the client side, and improves operation reliability.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The invention discloses a cloud rendering method, which comprises the following steps of: uploading a source file, calculating an illumination distribution diagram of the source file, obtaining a used material type and a distribution diagram, restoring a source file basic diagram, and sending the illumination distribution diagram, the material type, the distribution diagram and the basic diagram to a user side; the user side judges whether modification is needed; if modification is needed, the server carries out modification to obtain a modified illumination distribution diagram, a modified material type, a modified distribution diagram and a modified basic diagram; if modification is not needed, the server carries out material rendering on the material type and distribution diagram and the illumination distribution diagram to generate a material type and distribution rendering diagram and an illumination distribution rendering diagram, then carries out small pixel rendering on the basic diagram to generate a basic diagram rendering diagram, and obtains a final rendering diagram; judging whether a detection instruction is received or not; if so, matching the detection signal with a preset detection condition; and giving a prompt according to a matching result. Therefore, the cloud rendering speed is improved, and the cloud rendering process can be selectively known according to the detection instruction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of graphics processing technology, and in particular to a cloud rendering method. Background Art

[0002] The cloud rendering model is similar to conventional cloud computing, that is, the 3D program is rendered in a remote server, and the user terminal clicks a "cloud rendering" button through Web software or directly in the local 3D program and accesses resources with the help of high-speed Internet access. The instructions are issued from the user terminal, and the server executes the corresponding rendering task according to the instructions, and the rendering result image is transmitted back to the user terminal for display.

[0003] In the cloud rendering method adopted by the prior art, the user end cannot understand the rendering process and cannot perform real-time monitoring. Summary of the invention

[0004] In view of the above-mentioned shortcomings, the technical problem to be solved by the present invention is: to provide a cloud rendering method, which not only improves the cloud rendering speed and obtains high-quality rendering images, but also can monitor and understand the cloud rendering process in real time, thereby improving the reliability of operation.

[0005] In order to solve the above technical problems, the technical solution of the present invention is:

[0006] A cloud rendering method comprises the following steps:

[0007] S1. The user terminal uploads the source file to the cloud rendering server, generates a corresponding first detection signal, and the cloud rendering server obtains the source file;

[0008] S2. The cloud rendering server opens the source file and calculates the illumination distribution map of the source file using the light energy transfer method. The cloud rendering server obtains the operation record of the source file to obtain the material type and distribution map used in the source file. At the same time, the cloud rendering server restores the basic map of the source file, which is an image that only contains the shape and position of the object. The cloud rendering server sends the illumination distribution map, material type and distribution map, and basic map to the user end.

[0009] S3, the user terminal determines whether modification is required and generates a corresponding second detection signal;

[0010] S4. If modification is required, a corresponding third detection signal is generated, and the user terminal sends the modification signal to the cloud rendering server. The cloud rendering server makes modifications according to the modification signal of the user terminal. The cloud rendering server obtains the modified illumination distribution map, material type and distribution map, and basic map, and executes S5.

[0011] If no modification is required, a corresponding fourth detection signal is generated and S5 is executed;

[0012] S5. The cloud rendering server performs material rendering on the material category and distribution map and the illumination distribution map respectively to generate a material type and distribution rendering map and an illumination distribution rendering map; the cloud rendering server performs small pixel rendering on the basic map to generate a basic map rendering map; the small pixel rendering is to first compress the pixels of the image into smaller pixels to obtain a small pixel basic map, and then render it;

[0013] S6, the cloud rendering server merges the material type and distribution rendering, the lighting distribution rendering, and the basic image rendering to obtain a final rendering;

[0014] S7, the user terminal downloads the final rendering image and generates a corresponding fifth detection signal;

[0015] S8, determining whether a detection instruction is received;

[0016] S9. If a detection instruction is received, the user end matches the received detection signal with a preset detection condition;

[0017] If no detection instruction is received, execute S1;

[0018] S10. Issue corresponding prompts based on the matching results.

[0019] Preferably, the preset detection condition includes whether a first detection signal, a second detection signal, a third detection signal, a fourth detection signal and a fifth detection signal are received;

[0020] The S9 includes: if the detection instruction is received, the user terminal determines whether the first detection signal, the second detection signal, the third detection signal, the fourth detection signal and the fifth detection signal are received;

[0021] If a first detection signal, a second detection signal, a third detection signal, a fourth detection signal, and a fifth detection signal are received, the received detection signal matches a preset detection condition;

[0022] If the first detection signal, the second detection signal, the third detection signal, the fourth detection signal and / or the fifth detection signal are received, the received detection signal does not match the preset detection condition.

[0023] Preferably, the preset detection condition includes whether a first detection signal, a second detection signal, a third detection signal, a fourth detection signal and a fifth detection signal are received in sequence;

[0024] The S9 includes: if the detection instruction is received, the user terminal determines whether the first detection signal, the second detection signal, the third detection signal, the fourth detection signal and the fifth detection signal are received in sequence;

[0025] If the first detection signal, the second detection signal, the third detection signal, the fourth detection signal and the fifth detection signal are received in sequence, then the received detection signal matches the preset detection condition;

[0026] If the first detection signal, the second detection signal, the third detection signal, the fourth detection signal and the fifth detection signal are not received in sequence, the received detection signal does not match the preset detection condition.

[0027] Preferably, the S10 includes:

[0028] If the detection signal matches the preset detection conditions, a prompt of successful cloud rendering is issued;

[0029] If the detection signal does not match the preset detection conditions, a prompt indicating that cloud rendering is unsuccessful will be issued.

[0030] Preferably, in S9, if the first detection signal, the second detection signal, the third detection signal, the fourth detection signal and / or the fifth detection signal are received, the step of the received detection signal not matching the preset detection condition comprises:

[0031] If the first detection signal is not received, generating a corresponding first step mismatch signal;

[0032] If the second detection signal is not received, generating a corresponding second step mismatch signal;

[0033] If the third detection signal is not received, generating a corresponding third step mismatch signal;

[0034] If the fourth detection signal is not received, generating a corresponding fourth step mismatch signal;

[0035] If the fifth detection signal is not received, generating a corresponding fifth step mismatch signal;

[0036] The S10 includes:

[0037] According to the mismatch signal in the first step, a source file transfer error prompt is issued;

[0038] According to the mismatch signal in the second step, a prompt is issued to the user to modify the input;

[0039] According to the mismatch signal in the third step, a user terminal does not send a modification prompt;

[0040] According to the mismatch signal in step 4, the user terminal sends a modification prompt;

[0041] According to the mismatch signal in step 5, a prompt is issued to the user end indicating that the download is unsuccessful.

[0042] Preferably, the detection instruction is input by a detection button, and the detection button is arranged at the user end.

[0043] After adopting the above technical solution, the beneficial effects of the present invention are:

[0044] The cloud rendering method of the present invention includes the following steps: the user end uploads the source file to the cloud rendering server, generates a corresponding first detection signal, the cloud rendering server obtains the source file, the cloud rendering server opens the source file, and uses the light energy transfer method to calculate the illumination distribution map of the source file; the cloud rendering server obtains the operation record of the source file to obtain the material type and distribution map used in the source file; at the same time, the cloud rendering server restores the basic map of the source file, which is an image that only contains the shape and position of the object; the cloud rendering server sends the illumination distribution map, the material type and distribution map, and the basic map to the user end; the user end determines whether modification is required and generates a corresponding second detection signal; if modification is required, a corresponding third detection signal is generated, the user end sends the modification signal to the cloud rendering server, the cloud rendering server makes modifications according to the modification signal of the user end, and the cloud rendering server obtains The modified illumination distribution map, material type and distribution map, and base map are obtained; if no modification is required, a corresponding fourth detection signal is generated; the cloud rendering server performs material rendering on the material category and distribution map, and the illumination distribution map, respectively, to generate a material type and distribution rendering map, and an illumination distribution rendering map; the cloud rendering server performs small pixel rendering on the base map to generate a base map rendering map; small pixel rendering is to first compress the pixels of the image into smaller pixels, obtain a small pixel base map, and then render it; the cloud rendering server merges the material type and distribution rendering map, the illumination distribution rendering map, and the base map rendering map to obtain the final rendering map; the user end downloads the final rendering map and generates a corresponding fifth detection signal; it is determined whether a detection instruction is received; if a detection instruction is received, the user end matches the received detection signal with the preset detection condition; according to the matching result, a corresponding prompt is issued. It can be seen that the cloud rendering method of the present invention not only improves the cloud rendering speed and obtains high-quality rendering images, but also can selectively understand the cloud rendering process according to the detection instruction, thereby improving the reliability of the operation of the present invention. DETAILED DESCRIPTION

[0045] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail in the following embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0046] A cloud rendering method comprises the following steps:

[0047] Step S1: The user terminal uploads the source file to the cloud rendering server, generates a corresponding first detection signal, and the cloud rendering server obtains the source file;

[0048] Step S2, the cloud rendering server opens the source file and calculates the illumination distribution map of the source file using the light energy transfer method; the cloud rendering server obtains the operation record of the source file to obtain the material type and distribution map used in the source file; at the same time, the cloud rendering server restores the basic map of the source file, which is an image that only contains the shape and position of the object; the cloud rendering server sends the illumination distribution map, the material type and distribution map, and the basic map to the user end;

[0049] Step S3: The user terminal determines whether modification is required and generates a corresponding second detection signal;

[0050] Step S4: if modification is required, a corresponding third detection signal is generated, the user terminal sends the modification signal to the cloud rendering server, the cloud rendering server makes modifications according to the modification signal of the user terminal, the cloud rendering server obtains the modified illumination distribution map, material type and distribution map, and basic map, and executes S5;

[0051] If no modification is required, a corresponding fourth detection signal is generated and S5 is executed;

[0052] Step S5: The cloud rendering server performs material rendering on the material category and distribution map and the illumination distribution map respectively to generate a material type and distribution rendering map and an illumination distribution rendering map; the cloud rendering server performs small pixel rendering on the base map to generate a base map rendering map; small pixel rendering is to first compress the pixels of the image into smaller pixels to obtain a small pixel base map, and then render it;

[0053] Step S6: The cloud rendering server merges the material type and distribution rendering, the lighting distribution rendering, and the basic image rendering to obtain a final rendering;

[0054] Step S7: The user terminal downloads the final rendering image and generates a corresponding fifth detection signal;

[0055] Step S8, determining whether a detection instruction is received;

[0056] Step S9: If a detection instruction is received, the user terminal matches the received detection signal with the preset detection condition; in a preferred solution, the detection instruction is input by a detection button, and the detection button is set on the user terminal. By setting the detection button, the user terminal has self-selectivity. When detection is required, the detection button is pressed, and when it is not required, the detection function is shielded. Of course, the detection instruction is not limited to the input methods listed above, and the detection instruction can also be transmitted to the user terminal by wireless communication and other methods.

[0057] If no detection instruction is received, execute S1;

[0058] Step S10: Issue a corresponding prompt based on the matching result.

[0059] In this embodiment, the details are as follows:

[0060] If the detection signal matches the preset detection conditions, a prompt of successful cloud rendering is issued;

[0061] If the detection signal does not match the preset detection conditions, a prompt indicating that cloud rendering is unsuccessful will be issued.

[0062] Using the cloud rendering method of the present invention, the cloud rendering server divides the source file into a lighting distribution map, a material type and distribution map, and a basic map. The cloud rendering server performs material rendering on the lighting distribution map, the material type and the distribution map, respectively, and performs small pixel rendering on the basic map. Compared with the cloud rendering server directly performing material rendering on the entire source file, the cloud rendering server performs material rendering on the lighting distribution map, the material type and the distribution map respectively, which will reduce the rendering difficulty and intensity, and can effectively improve the rendering speed and shorten the rendering time. Since small pixel rendering compresses the image before rendering, the cloud rendering server can shorten the rendering time of the basic map, thereby improving the rendering speed.

[0063] In the process of cloud rendering, when each step is performed, a corresponding detection signal is generated respectively. When the user terminal has a detection command input, the detection mode is started, that is, the user terminal matches each received detection signal with the preset detection condition. If it matches, it indicates that the entire rendering process is normal. If it does not match, it indicates that there is an error in the rendering process. At this time, a prompt is issued to improve the user terminal. It can be seen that the present invention not only improves the cloud rendering speed and obtains high-quality rendering images, but also can selectively understand the cloud rendering process according to the detection command, thereby improving the reliability of the operation of the present invention.

[0064] In this embodiment, the preset detection conditions include whether the first detection signal, the second detection signal, the third detection signal, the fourth detection signal and the fifth detection signal are received;

[0065] Step S9 includes: if the detection instruction is received, the user terminal determines whether the first detection signal, the second detection signal, the third detection signal, the fourth detection signal and the fifth detection signal are received;

[0066] If a first detection signal, a second detection signal, a third detection signal, a fourth detection signal, and a fifth detection signal are received, the received detection signal matches a preset detection condition;

[0067] If the first detection signal, the second detection signal, the third detection signal, the fourth detection signal and / or the fifth detection signal are received, the received detection signal does not match the preset detection condition.

[0068] Through the above-mentioned pre-set detection conditions, when the user terminal receives the detection instruction, it can judge whether the rendering is fully completed by whether all the detection signals are received, so that the user terminal can monitor the rendering process in real time and understand whether there are any errors in the rendering process according to the prompts. Once all the detection signals are not received, it can be processed immediately, thereby improving the reliability of the operation.

[0069] In this embodiment, the preset detection conditions include whether the first detection signal, the second detection signal, the third detection signal, the fourth detection signal and the fifth detection signal are received in sequence;

[0070] Step S9 includes: if a detection instruction is received, the user terminal determines whether a first detection signal, a second detection signal, a third detection signal, a fourth detection signal and a fifth detection signal are received in sequence;

[0071] If the first detection signal, the second detection signal, the third detection signal, the fourth detection signal and the fifth detection signal are received in sequence, then the received detection signal matches the preset detection condition;

[0072] If the first detection signal, the second detection signal, the third detection signal, the fourth detection signal and the fifth detection signal are not received in sequence, the received detection signal does not match the preset detection condition.

[0073] Through the above-mentioned pre-set detection conditions, after the user terminal receives the detection instruction, it can judge whether the rendering is completed by whether all the detection signals are received in sequence, so that the user terminal can monitor the rendering process in real time, and according to the order of reception, the cause of the problem can be easily found, further improving the reliability of the operation.

[0074] In this embodiment, in step S9, if the first detection signal, the second detection signal, the third detection signal, the fourth detection signal and / or the fifth detection signal are received, the step of determining that the received detection signal does not match the preset detection condition includes:

[0075] If the first detection signal is not received, generating a corresponding first step mismatch signal;

[0076] If the second detection signal is not received, generating a corresponding second step mismatch signal;

[0077] If the third detection signal is not received, generating a corresponding third step mismatch signal;

[0078] If the fourth detection signal is not received, generating a corresponding fourth step mismatch signal;

[0079] If the fifth detection signal is not received, generating a corresponding fifth step mismatch signal;

[0080] Step S10 includes:

[0081] According to the mismatch signal in the first step, a source file transfer error prompt is issued;

[0082] According to the mismatch signal in the second step, a prompt is issued to the user to modify the input;

[0083] According to the mismatch signal in the third step, a user terminal does not send a modification prompt;

[0084] According to the mismatch signal in step 4, the user terminal sends a modification prompt;

[0085] According to the mismatch signal in step 5, a prompt is issued to the user end indicating that the download is unsuccessful.

[0086] Through the above steps, when there is a problem in the detection signal reception, the error can be easily and quickly found out according to different prompts, so as to be handled quickly and timely, thereby improving efficiency.

[0087] The above-described preferred embodiments of the present invention are only intended to limit the present invention. Any modifications made within the spirit and principles of the present invention, improvements of the same cloud rendering method, etc., should be included in the protection scope of the present invention.

Claims

1. A cloud rendering method, characterized in that: The following steps are involved: S1. The user terminal uploads the source file to the cloud rendering server, generates a corresponding first detection signal, and the cloud rendering server obtains the source file; S2. The cloud rendering server opens the source file and uses the radiosity method to calculate the illumination distribution map of the source file. The cloud rendering server obtains the operation record of the source file to obtain the material type and distribution map used in the source file; at the same time, the cloud rendering server restores the basic map of the source file, which is an image that only contains the shape and position of the object; the cloud rendering server sends the lighting distribution map, material type and distribution map, and basic map to the user end; S3, the user terminal determines whether modification is required and generates a corresponding second detection signal; S4. If modification is required, a corresponding third detection signal is generated, and the user terminal sends the modification signal to the cloud rendering server. The cloud rendering server makes modifications according to the modification signal of the user terminal. The cloud rendering server obtains the modified illumination distribution map, material type and distribution map, and basic map, and executes S5. If no modification is required, a corresponding fourth detection signal is generated and S5 is executed; S5. The cloud rendering server performs material rendering on the material category and distribution map and the illumination distribution map respectively to generate a material type and distribution rendering map and an illumination distribution rendering map; the cloud rendering server performs small pixel rendering on the basic map to generate a basic map rendering map; the small pixel rendering is to first compress the pixels of the image into smaller pixels to obtain a small pixel basic map, and then render it; S6, the cloud rendering server merges the material type and distribution rendering, the lighting distribution rendering, and the basic image rendering to obtain a final rendering; S7, the user terminal downloads the final rendering image and generates a corresponding fifth detection signal; S8, determining whether a detection instruction is received; S9. If a detection instruction is received, the user end matches the received detection signal with a preset detection condition; If no detection instruction is received, execute S1; S10. Issue corresponding prompts based on the matching results.

2. The cloud rendering method according to claim 1, characterized in that: The preset detection conditions include whether a first detection signal, a second detection signal, a third detection signal, a fourth detection signal and a fifth detection signal are received; The S9 includes: if the detection instruction is received, the user terminal determines whether the first detection signal, the second detection signal, the third detection signal, the fourth detection signal and the fifth detection signal are received; If a first detection signal, a second detection signal, a third detection signal, a fourth detection signal, and a fifth detection signal are received, the received detection signal matches a preset detection condition; If the first detection signal, the second detection signal, the third detection signal, the fourth detection signal and / or the fifth detection signal are received, the received detection signal does not match the preset detection condition.

3. The cloud rendering method according to claim 1, characterized in that: The preset detection condition includes whether a first detection signal, a second detection signal, a third detection signal, a fourth detection signal and a fifth detection signal are received in sequence; The S9 includes: if the detection instruction is received, the user terminal determines whether the first detection signal, the second detection signal, the third detection signal, the fourth detection signal and the fifth detection signal are received in sequence; If the first detection signal, the second detection signal, the third detection signal, the fourth detection signal and the fifth detection signal are received in sequence, then the received detection signal matches the preset detection condition; If the first detection signal, the second detection signal, the third detection signal, the fourth detection signal and the fifth detection signal are not received in sequence, the received detection signal does not match the preset detection condition.

4. The cloud rendering method according to claim 1, characterized in that: The S10 includes: If the detection signal matches the preset detection conditions, a prompt of successful cloud rendering is issued; If the detection signal does not match the preset detection conditions, a prompt indicating that cloud rendering is unsuccessful will be issued.

5. The cloud rendering method according to claim 2, characterized in that: In S9, if the first detection signal, the second detection signal, the third detection signal, the fourth detection signal and / or the fifth detection signal are received, the step of the received detection signal not matching the preset detection condition comprises: If the first detection signal is not received, generating a corresponding first step mismatch signal; If the second detection signal is not received, generating a corresponding second step mismatch signal; If the third detection signal is not received, generating a corresponding third step mismatch signal; If the fourth detection signal is not received, generating a corresponding fourth step mismatch signal; If the fifth detection signal is not received, generating a corresponding fifth step mismatch signal; The S10 includes: According to the mismatch signal in the first step, a source file transfer error prompt is issued; According to the mismatch signal in the second step, a prompt is issued to the user to modify the input; According to the mismatch signal in the third step, a user terminal does not send a modification prompt; According to the mismatch signal in step 4, the user terminal sends a modification prompt; According to the mismatch signal in step 5, a prompt is issued to the user end indicating that the download is unsuccessful.

6. The cloud rendering method according to any one of claims 1 to 5, characterized in that: The detection instruction is input by a detection button, and the detection button is arranged at the user end.