CN113516774A - Rendering quality adjustment method and related equipment - Google Patents
Rendering quality adjustment method and related equipment Download PDFInfo
- Publication number
- CN113516774A CN113516774A CN202010449900.XA CN202010449900A CN113516774A CN 113516774 A CN113516774 A CN 113516774A CN 202010449900 A CN202010449900 A CN 202010449900A CN 113516774 A CN113516774 A CN 113516774A
- Authority
- CN
- China
- Prior art keywords
- rendering
- task
- platform
- cloud
- computing resources
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
- G06T17/20—Finite element generation, e.g. wire-frame surface description, tesselation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T15/00—3D [Three Dimensional] image rendering
- G06T15/06—Ray-tracing
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T15/00—3D [Three Dimensional] image rendering
- G06T15/10—Geometric effects
- G06T15/20—Perspective computation
- G06T15/205—Image-based rendering
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/90—Determination of colour characteristics
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Graphics (AREA)
- Software Systems (AREA)
- Geometry (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Computing Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Image Generation (AREA)
Abstract
本申请提供了一种云渲染平台获取渲染任务;所述云渲染平台接收用户设备发送的渲染资源请求指令;所述云渲染平台根据所述渲染资源请求指令为所述渲染任务分配计算资源以进行渲染,从而得到第一渲染图像;所述云渲染平台接收所述用户设备发送的渲染资源调整指令;所述云渲染平台根据所述渲染资源调整指令调整为所述渲染任务分配的计算资源;所述云渲染平台使用所述调整后的为所述渲染任务分配的计算资源对所述渲染任务进行渲染,从而得到第二渲染图像。上述方案能够根据需要实时调整渲染质量,满足用户的不同需求。
The present application provides a cloud rendering platform to obtain a rendering task; the cloud rendering platform receives a rendering resource request instruction sent by a user equipment; the cloud rendering platform allocates computing resources to the rendering task according to the rendering resource request instruction to perform rendering to obtain a first rendered image; the cloud rendering platform receives a rendering resource adjustment instruction sent by the user equipment; the cloud rendering platform adjusts the computing resources allocated for the rendering task according to the rendering resource adjustment instruction; The cloud rendering platform uses the adjusted computing resources allocated for the rendering task to render the rendering task, thereby obtaining a second rendered image. The above solution can adjust the rendering quality in real time as needed to meet the different needs of users.
Description
技术领域technical field
本申请涉及图像渲染,尤其涉及一种渲染质量调整方法以及相关设备。The present application relates to image rendering, and in particular, to a rendering quality adjustment method and related devices.
背景技术Background technique
渲染是指用软件从模型生成图像的过程,其中,模型是用严格定义的语言或者数据结构对于三维物体的描述,它包括几何、视点、纹理以及照明信息。图像是数字图像或者位图图像。渲染这个术语类似于“艺术家对于场景的渲染”,另外,渲染也用于描述“计算视频编辑文件中的效果,以生成最终视频输出的过程”。渲染可以包括预渲染(pre-rendering/offline rendering)或者实时渲染(real-time rendering/onlinerendering),其中,预渲染通常是用于电影、广告等有预定脚本的实景仿真;实时渲染通常是用于飞行训练、3D游戏和交互式建筑演示等无预定脚本的实景仿真。Rendering refers to the process of using software to generate an image from a model, where a model is a description of a three-dimensional object in a strictly defined language or data structure, including geometry, viewpoint, texture, and lighting information. The images are digital images or bitmap images. Rendering is a term similar to "an artist's rendering of a scene", and is also used to describe "the process of computing effects in a video editing file to produce the final video output". Rendering can include pre-rendering/offline rendering or real-time rendering/onlinerendering, where pre-rendering is usually used for real-world simulation with predetermined scripts such as movies and advertisements; real-time rendering is usually used for Unscripted live-action simulation of flight training, 3D games, and interactive architectural demonstrations.
实时渲染对计算的速度要求是非常高的。以3D游戏为例,对于每秒30帧的刷新速率来说,每一帧图像的时间约为33毫秒,因此,每一帧图像的渲染时间绝对不能超过33毫秒。为了满足实时渲染的计算速度要求,实时渲染通常采用的是光栅化渲染。光栅化渲染中采用的是渲染流水线(Render-pipeline)的设计,一旦渲染流水线启动后,整个处理流程必须是连贯的,需要提升图像的画质,就必须中断原有的渲染流水线,并重新启动新的渲染流水线,因此,很难对渲染质量进行调整。Real-time rendering requires very high computing speed. Taking a 3D game as an example, for a refresh rate of 30 frames per second, the time of each frame of image is about 33 milliseconds, so the rendering time of each frame of image must not exceed 33 milliseconds. In order to meet the computational speed requirements of real-time rendering, real-time rendering usually adopts rasterization rendering. The rasterization rendering adopts the design of the rendering pipeline (Render-pipeline). Once the rendering pipeline is started, the entire processing process must be coherent. To improve the image quality, the original rendering pipeline must be interrupted and restarted. The new rendering pipeline, therefore, makes it difficult to make adjustments to the rendering quality.
发明内容SUMMARY OF THE INVENTION
为了解决上述问题,本申请提供了一种渲染质量调整方法以及相关设备,能够根据需要实时调整渲染质量。In order to solve the above problems, the present application provides a rendering quality adjustment method and related devices, which can adjust rendering quality in real time as required.
第一方面,提供了一种渲染质量调整方法,包括:In a first aspect, a rendering quality adjustment method is provided, including:
云渲染平台获取渲染任务;The cloud rendering platform obtains rendering tasks;
所述云渲染平台接收用户设备发送的渲染资源请求指令;The cloud rendering platform receives a rendering resource request instruction sent by the user equipment;
所述云渲染平台根据所述渲染资源请求指令为所述渲染任务分配计算资源以进行渲染,从而得到第一渲染图像;The cloud rendering platform allocates computing resources to the rendering task for rendering according to the rendering resource request instruction, thereby obtaining a first rendered image;
所述云渲染平台接收所述用户设备发送的渲染资源调整指令;receiving, by the cloud rendering platform, a rendering resource adjustment instruction sent by the user equipment;
所述云渲染平台根据所述渲染资源调整指令调整为所述渲染任务分配的计算资源;The cloud rendering platform adjusts the computing resources allocated for the rendering task according to the rendering resource adjustment instruction;
所述云渲染平台使用所述调整后的为所述渲染任务分配的计算资源对所述渲染任务进行渲染,从而得到第二渲染图像。The cloud rendering platform uses the adjusted computing resources allocated for the rendering task to render the rendering task, thereby obtaining a second rendered image.
在一些可能的设计中,在所述渲染资源调整指令用于提升所述渲染任务的渲染质量的情况下,所述云渲染平台根据所述渲染资源调整指令调整为所述渲染任务分配的计算资源包括:增加为所述渲染任务分配的计算资源;或在所述渲染资源调整指令用于降低所述渲染任务的渲染质量的情况下,所述云渲染平台根据所述渲染资源调整指令调整为所述渲染任务分配的计算资源包括:减少为所述渲染任务分配的计算资源。In some possible designs, when the rendering resource adjustment instruction is used to improve the rendering quality of the rendering task, the cloud rendering platform adjusts the computing resources allocated for the rendering task according to the rendering resource adjustment instruction Including: increasing the computing resources allocated for the rendering task; or in the case that the rendering resource adjustment instruction is used to reduce the rendering quality of the rendering task, the cloud rendering platform is adjusted according to the rendering resource adjustment instruction. The computing resources allocated by the rendering task include: reducing the computing resources allocated for the rendering task.
在一些可能的设计中,在所述云渲染平台根据所述渲染资源请求指令为所述渲染任务分配计算资源以进行渲染,从而得到第一渲染图像之后,所述方法还包括:In some possible designs, after the cloud rendering platform allocates computing resources to the rendering task for rendering according to the rendering resource request instruction, thereby obtaining the first rendered image, the method further includes:
根据为所述渲染任务分配计算资源计算第一计价信息,其中,所述第一计价信息为渲染所述第一渲染图像的费用;Calculate first pricing information according to the computing resources allocated to the rendering task, where the first pricing information is a fee for rendering the first rendered image;
所述云渲染平台使用所述调整后的为所述渲染任务分配的计算资源对所述渲染任务进行渲染,从而得到第二渲染图像之后,所述方法还包括:After the cloud rendering platform uses the adjusted computing resources allocated for the rendering task to render the rendering task, so as to obtain a second rendered image, the method further includes:
根据调整后的为所述渲染任务分配的计算资源计算第二计价信息,其中,所述第二计价信息为渲染所述第二渲染图像的费用。Calculate second pricing information according to the adjusted computing resources allocated to the rendering task, where the second pricing information is a fee for rendering the second rendered image.
在一些可能的设计中,采用光线跟踪渲染对所述渲染任务进行渲染,所述渲染资源请求指令包括渲染指标或者资源参数中的一种或者多种;其中,所述渲染指标包括每像素采样数Spp、光线返弹次数、物体建模三角形面片数、顶点数和画面噪声、帧率中的一种或者多种,所述资源参数包括处理器的个数、处理器的主频、内存大小以及网络带宽中的一种或者多种。In some possible designs, ray tracing rendering is used to render the rendering task, and the rendering resource request instruction includes one or more of rendering metrics or resource parameters; wherein the rendering metrics include the number of samples per pixel One or more of Spp, the number of ray bounces, the number of object modeling triangles, the number of vertices, screen noise, and frame rate. The resource parameters include the number of processors, the main frequency of the processor, and the size of memory. and one or more of network bandwidth.
在一些可能的设计中,所述渲染任务是所述用户设备发送的,或者,是管理设备发送的。In some possible designs, the rendering task is sent by the user equipment, or sent by a management device.
第二方面,提供了一种云渲染平台,包括:获取模块、接收模块以及渲染引擎;In a second aspect, a cloud rendering platform is provided, including: an acquisition module, a receiving module, and a rendering engine;
所述获取模块用于获取渲染任务;The obtaining module is used to obtain rendering tasks;
所述接收模块用于接收用户设备发送的渲染资源请求指令;The receiving module is configured to receive a rendering resource request instruction sent by the user equipment;
所述渲染引擎用于根据所述渲染资源请求指令为所述渲染任务分配计算资源以进行渲染,从而得到第一渲染图像;The rendering engine is configured to allocate computing resources to the rendering task for rendering according to the rendering resource request instruction, thereby obtaining a first rendered image;
所述接收模块用于接收所述用户设备发送的渲染资源调整指令;The receiving module is configured to receive a rendering resource adjustment instruction sent by the user equipment;
所述渲染引擎用于根据所述渲染资源调整指令调整为所述渲染任务分配的计算资源;The rendering engine is configured to adjust the computing resources allocated for the rendering task according to the rendering resource adjustment instruction;
所述渲染引擎用于使用所述调整后的为所述渲染任务分配的计算资源对所述渲染任务进行渲染,从而得到第二渲染图像。The rendering engine is configured to render the rendering task using the adjusted computing resources allocated for the rendering task, thereby obtaining a second rendered image.
在一些可能的设计中,在所述渲染资源调整指令用于提升所述渲染任务的渲染质量的情况下,所述云渲染平台根据所述渲染资源调整指令调整为所述渲染任务分配的计算资源包括:增加为所述渲染任务分配的计算资源;或在所述渲染资源调整指令用于降低所述渲染任务的渲染质量的情况下,所述云渲染平台根据所述渲染资源调整指令调整为所述渲染任务分配的计算资源包括:减少为所述渲染任务分配的计算资源。In some possible designs, when the rendering resource adjustment instruction is used to improve the rendering quality of the rendering task, the cloud rendering platform adjusts the computing resources allocated for the rendering task according to the rendering resource adjustment instruction Including: increasing the computing resources allocated for the rendering task; or in the case that the rendering resource adjustment instruction is used to reduce the rendering quality of the rendering task, the cloud rendering platform is adjusted according to the rendering resource adjustment instruction. The computing resources allocated by the rendering task include: reducing the computing resources allocated for the rendering task.
在一些可能的设计中,所述云渲染平台还包括计价模块,所述计价模块用于根据为所述渲染任务分配计算资源计算第一计价信息,其中,所述第一计价信息为渲染所述第一渲染图像的费用;In some possible designs, the cloud rendering platform further includes a pricing module, and the pricing module is configured to calculate first pricing information according to allocating computing resources to the rendering task, wherein the first pricing information is for rendering the rendering task. the cost of the first rendered image;
所述计价模块还用于根据调整后的为所述渲染任务分配的计算资源计算第二计价信息,其中,所述第二计价信息为渲染所述第二渲染图像的费用。The pricing module is further configured to calculate second pricing information according to the adjusted computing resources allocated to the rendering task, where the second pricing information is a fee for rendering the second rendered image.
在一些可能的设计中,采用光线跟踪渲染对所述渲染任务进行渲染,所述渲染资源请求指令包括渲染指标、资源参数以及显示参数中的一种或者多种;其中,所述渲染指标包括每像素采样数Spp、光线返弹次数、物体建模三角形面片数、顶点数和画面噪声中的一种或者多种,所述资源参数包括处理器的个数、处理器的主频、内存大小以及网络带宽中的一种或者多种,所述显示参数包括帧率。In some possible designs, ray tracing rendering is used to render the rendering task, and the rendering resource request instruction includes one or more of rendering indicators, resource parameters, and display parameters; wherein, the rendering indicators include each One or more of the number of pixel samples Spp, the number of ray bounces, the number of object modeling triangles, the number of vertices, and screen noise. The resource parameters include the number of processors, the main frequency of the processor, and the memory size. and one or more of network bandwidth, the display parameters include frame rate.
在一些可能的设计中,所述渲染任务是所述用户设备发送的,或者,是管理设备发送的。In some possible designs, the rendering task is sent by the user equipment, or sent by a management device.
第三方面,提供了一种计算机可读存储介质,包括指令,当所述指令在所述计算机上运行时,使得所述计算机上执行如第一方面任一项所述的方法。In a third aspect, a computer-readable storage medium is provided, comprising instructions that, when executed on the computer, cause the computer to perform the method according to any one of the first aspects.
第四方面,提供了一种计算机程序产品,当所述计算机程序产品被所述计算机读取并执行时,如第一方面任一项所述的方法将被执行。In a fourth aspect, a computer program product is provided, when the computer program product is read and executed by the computer, the method according to any one of the first aspects will be executed.
第五方面,提供了一种渲染平台,所述渲染平台包括至少一个渲染节点,每个渲染节点包括处理器以及存储器,所述处理器执行所述存储器中的程序,从而执行如第一方面任一项所述的方法。In a fifth aspect, a rendering platform is provided, the rendering platform includes at least one rendering node, each rendering node includes a processor and a memory, and the processor executes a program in the memory, thereby executing any of the methods described in the first aspect. one of the methods described.
上述方案能够在用户设备发送渲染资源调整指令时,云渲染平台根据渲染资源调整指令实时调整计算资源进行计算,从而动态调整渲染质量,适应用户的不同需求。In the above solution, when the user equipment sends the rendering resource adjustment instruction, the cloud rendering platform adjusts the computing resources in real time according to the rendering resource adjustment instruction for calculation, thereby dynamically adjusting the rendering quality and adapting to the different needs of the user.
附图说明Description of drawings
为了更清楚地说明本申请实施例或背景技术中的技术方案,下面将对本申请实施例或背景技术中所需要使用的附图进行说明。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the background technology, the accompanying drawings required in the embodiments or the background technology of the present application will be described below.
图1A至图1B是本申请涉及的简单场景下的光线跟踪渲染的一些实施方式的示意图;1A to 1B are schematic diagrams of some embodiments of ray tracing rendering in a simple scene involved in the present application;
图2是本申请涉及的一实施方式的复杂场景下的光线跟踪渲染的示意图;2 is a schematic diagram of ray tracing rendering in a complex scene according to an embodiment of the present application;
图3是本申请涉及的SPP数量较低时产生锯齿效应的原理图;3 is a schematic diagram of a sawtooth effect when the number of SPPs involved in the present application is relatively low;
图4是本申请涉及的SPP数量较高时克服锯齿效应的原理图;4 is a schematic diagram of overcoming the sawtooth effect when the number of SPPs involved in the application is relatively high;
图5A至是本申请涉及的SPP数量较低时没有形成焦散光斑的示意图;5A to 5A are schematic diagrams of no focal astigmatism spots formed when the number of SPPs involved in the present application is relatively low;
图5B是本申请涉及的SPP数量较高时形成焦散光斑的示意图;5B is a schematic diagram of the formation of focal astigmatism when the number of SPPs involved in the present application is relatively high;
图6是本申请提供的一种实施方式的云渲染系统的结构示意图;6 is a schematic structural diagram of a cloud rendering system according to an embodiment provided by the present application;
图7A至图7B分别是智能终端通过按键实时对渲染图像的渲染质量进行提高和降低的示意图;7A to 7B are schematic diagrams of improving and reducing the rendering quality of a rendered image in real time by an intelligent terminal by pressing a button;
图8A至图8B分别是电脑通过按键实时对渲染质量进行提高和降低的示意图;8A to 8B are schematic diagrams showing that the computer improves and reduces the rendering quality in real time by pressing buttons;
图9A至图9B分别是VR设备通过按键实时对渲染质量进行提高和降低的示意图;9A to 9B are schematic diagrams of the VR device improving and reducing the rendering quality in real time by pressing buttons;
图10A至图10B是分别为增加按键以及减少按键的按压次数和调整指标之间的映射关系的关系示意图;10A to 10B are schematic diagrams illustrating the mapping relationship between the number of times of pressing the button and the adjustment index, respectively;
图11A至图11D是渲染指标调整时调整计算资源进行光线跟踪渲染的一些实施方式的示意图;11A to 11D are schematic diagrams of some embodiments of adjusting computing resources for ray tracing rendering when rendering indicators are adjusted;
图12是本申请提出的一实施例的渲染质量调整方法的流程交互图;FIG. 12 is a flowchart interaction diagram of a rendering quality adjustment method according to an embodiment of the present application;
图13是本申请提出的另一实施例的渲染质量调整方法的流程交互图;FIG. 13 is a flowchart interaction diagram of a rendering quality adjustment method according to another embodiment of the present application;
图14是本申请提出的又一实施例的渲染质量调整方法的流程交互图;14 is a flowchart interaction diagram of a rendering quality adjustment method according to another embodiment of the present application;
图15是本申请提出的一种云渲染平台的结构示意图;15 is a schematic structural diagram of a cloud rendering platform proposed by the present application;
图16是本申请提出的一种实现方式的智能终端的结构框图;16 is a structural block diagram of an intelligent terminal of an implementation manner proposed by the present application;
图17是本申请提出的一种实现方式的电脑的结构框图;17 is a structural block diagram of a computer of an implementation proposed by the present application;
图18是本申请提出的一种实现方式的云渲染平台的结构框图。FIG. 18 is a structural block diagram of a cloud rendering platform of an implementation manner proposed by the present application.
具体实施方式Detailed ways
光线追踪渲染(ray tracing render)是通过跟踪沿从相机(或者人眼)的视点朝着渲染图像的每个像素发射的光线入射模型的光的路径来产生渲染图像的渲染方法。光线追踪渲染的核心思想在于,从相机(或者人眼)的视点出发,逆向跟踪光线。由于只有最后能够进入相机(或者人眼)的光线才是有用的,因此,逆向跟踪光线能够有效减少数据量。光线追踪渲染中的光线主要存在反射以及折射两种场景,下面将分别结合具体的实施例进行说明。Ray tracing rendering is a rendering method that produces a rendered image by tracing the path of light incident on a model along the rays emitted from the camera's (or human eye's) viewpoint toward each pixel of the rendered image. The core idea of ray tracing rendering is to trace rays backward from the viewpoint of the camera (or human eye). Since only the rays that finally enter the camera (or the human eye) are useful, backtracing rays can effectively reduce the amount of data. Rays in ray tracing rendering mainly include reflection and refraction, which will be described below with reference to specific embodiments.
如图1A所示的反射场景中,模型只有一个光源130以及一个不透明球体140。从相机110的视点E发出一条光线,投射到渲染图像120中的一个像素点O1,然后,继续出射到不透明球体140的一个点P1,然后,被反射到光源L,此时,点P1的颜色决定了像素点O1的颜色。从相机110的视点E发出另一条光线,投射到渲染图像120中的另一个像素点O2,然后,继续出射到不透明球体140的一个点P2,然后,被反射到光源L,并且,点P2和光源L之间存在障碍物不透明球体140,此时,点P2位于不透明球体140的阴影中,像素点O2的颜色为黑色。In the reflection scene shown in FIG. 1A , the model has only one
如图1B所示的折射场景中,模型只有一个光源230以及一个透明球体240。从相机210的视点E发出一条光线,投射到渲染图像220中的一个像素点O3,然后,继续出射到透明球体240的一个点P3,然后,被折射到光源L,此时,点P3的颜色决定了像素点O3的颜色。In the refraction scene shown in FIG. 1B , the model has only one
可以理解,上述图1A中的反射场景以及图1B中的折射场景都是最简单的场景,图1A中假设场景中仅仅存在一个不透明球体,图1B中假设场景中仅仅存在一个透明球体,但是,在实际应用中,场景远远比图1A以及图1B要复杂,例如,场景中可能同时存在多个不透明物体以及多个透明物体,因此,光线会被多次反射和折射,从而导致光线的跟踪变得非常复杂。It can be understood that the reflection scene in Fig. 1A and the refraction scene in Fig. 1B are the simplest scenes. Fig. 1A assumes that there is only one opaque sphere in the scene, and Fig. 1B assumes that there is only one transparent sphere in the scene. However, In practical applications, the scene is far more complex than that shown in Figure 1A and Figure 1B. For example, there may be multiple opaque objects and multiple transparent objects in the scene at the same time. Therefore, light rays will be reflected and refracted multiple times, resulting in ray tracing. becomes very complicated.
如图2所示的复杂场景中,模型包括有一个光源330、两个透明球体340、350以及一个不透明物体360。从相机310的视点E发出一条光线,投射到渲染图像320中的一个像素点O4,并继续出射到透明球体340的一个点P1,从P1向光源L作一条阴影测试线S1,其间没有遮挡的物体,于是,可以用局部光照明模型计算光源对P1在其视线E的方向上的光强,作为该点的局部光强。同时,还要跟踪该点处反射光线R1和折射光线T1,它们也对P1点的光强有贡献。在反射光线R1方向上,没有再与其他物体相交,那么就设该方向的光强为零,并结束这光线方向的跟踪。然后,继续对折射光线T1方向进行跟踪,来计算该光线的光强贡献。折射光线T1在透明物体340内部传播,继续出射与透明物体350相交于点P2,由于该点在透明物体350内部,可以假设它的局部光强为零,同时,产生了反射光线R2和折射光线T2,在反射光线R2方向,可以继续递归跟踪下去计算它的光强,在这里就不再继续下去了。继续对折射光线T2进行跟踪,T2与不透明物体360交于点P3,作P3与光源L的阴影测试线S3,没有物体遮挡,那么计算该处的局部光强,由于不透明物体360是非透明的,那么,可以继续跟踪反射光线R3方向的光强,结合局部光强来得到P3处的光强。反射光线R3的跟踪与前面的过程类似,算法可以递归的进行下去。重复上面的过程,直到光线满足跟踪终止条件。这样我们就可以得到像素点O4的光强,也就是它相应的颜色值。In the complex scene shown in FIG. 2 , the model includes a
可以理解,上述图2所示的复杂场景仅仅是其中一种复杂场景,在其他的复杂场景下,模型中的光源的数量、透明物体的数量,不透明物体的数量、相机的位置、光源的位置、透明物体的位置以及不透明物体的位置均可以发生变化,此处不作具体限定。It can be understood that the complex scene shown in Figure 2 above is only one of the complex scenes. In other complex scenes, the number of light sources in the model, the number of transparent objects, the number of opaque objects, the position of the camera, the position of the light source , the position of the transparent object and the position of the opaque object can all be changed, which are not specifically limited here.
光线追踪渲染的渲染质量可以取决于以下渲染指标、资源参数以及显示参数。其中,The rendering quality of ray-traced rendering can depend on the following rendering metrics, resource parameters, and display parameters. in,
渲染指标可以包括每像素采样数(Sample per pixel,Spp)、光线返弹次数(Bounce)、物体建模三角形面片数、顶点数和画面噪声等等。下面将以Spp以及Bounce为例进行详细的介绍。Rendering metrics can include the number of samples per pixel (Sample per pixel, Spp), the number of ray bounces (Bounce), the number of object modeling triangles, the number of vertices, and screen noise. The following will take Spp and Bounce as examples for detailed introduction.
SPP可以定义为每个像素采样得到的光线的数量。Spp的数量可以影响到渲染图像的画质的原因在于:如果Spp为1(即每像素只有一条光线经过),那么,即使光线发生微小偏移,像素点的颜色也可能发生很大的变化。下文的例子中均假设光线最终会被反射到光源,但是,为了简便起见,下文中将不会再进行陈述。以图3所示为例,如果光线从像素点A经过,那么光线将会被投射到红色的不透明物体1上,此时,像素点A的颜色值是由不透明物体1上的投射点决定的,即,像素点A的颜色为红色的。如果光线从像素点B经过,那么光线将会被投射到绿色的不透明物体2上,此时,像素点B的颜色值是由不透明物体2上的投射点决定的,即,像素点B的颜色为绿色的。因此,尽管像素点A和像素点B是相邻像素,但是,像素点A和像素点B的颜色会相差甚远,从而产生锯齿效应。为了解决上述问题,以图4所示为例,如果Spp为n(即从视点向渲染图像上的同一像素点发射n条光线),然后,这n条光线透过像素点各自投射在不透明物体1或不透明物体2的n个投射点上,从而可以根据n个投射点分别确定该像素点的n个颜色值,最后,对这n个颜色值求平均,从而得到该像素的最终颜色值。如果该像素最终颜色值符合画面参考帧(数学期望值),则采样噪声越低。因此,Spp的数量越多,渲染图像的抗锯齿效果越好,噪声指标越低,渲染图像的质量也自然越好。另外,SPP的数量可以影响到画面的光线特效,例如透明体(玻璃球,水波纹)在光线照射下形成的焦散特效(Caustics)。当采样数量较少时,如图5A所示,从相机410的视点E发出第一条光线,经过渲染图像420的一个像素点O1,出射到透明物体440的一个点P1,并被折射到光点H1;从相机410的视点E发出第二条光线,经过渲染图像420的一个像素点O2,出射到透明物体440的一个点P2,并被折射到光点H2;从相机410的视点E发出第三条光线,经过渲染图像420的一个像素点O3,出射到透明物体440的一个点P3,并被折射到光点H3,光点H1,光点H2以及光点H3只是孤立的光点,不能聚集成焦散光斑。当采样数量多了之后,如图5B所示,从相机410的视点E发出第一条光线,经过渲染图像420的一个像素点O1,出射到透明物体440的一个点P1,并被折射到光点H1;从相机410的视点E发出第二条光线,经过渲染图像420的一个像素点O2,出射到透明物体440的一个点P2,并被折射到光点H2;从相机410的视点E发出第三条光线,经过渲染图像420的一个像素点O3,出射到透明物体440的一个点P3,并被折射到光点H3;从相机410的视点E发出第四条光线,经过渲染图像420的一个像素点O4,出射到透明物体440的一个点P4,并被折射到光点H4;从相机410的视点E发出第五条光线,经过渲染图像420的一个像素点O5,出射到透明物体440的一个点P5,并被折射到光点H5,其中,光点H1和光点H4组成了焦散光斑G1(估计值),光点H3和光点H5组成了焦散光斑G2(估计值)。因此如果SPP值较低,则无法有效生成焦散的视觉特效,往往需要采用其他的渲染方式(非光线追踪方式),追加此视觉效果。SPP can be defined as the number of rays sampled per pixel. The reason why the number of Spp can affect the quality of the rendered image is that if Spp is 1 (that is, only one ray per pixel passes through), even if the light is slightly shifted, the color of the pixel may change greatly. In the following examples, it is assumed that the light will eventually be reflected to the light source, but, for the sake of brevity, it will not be stated in the following. Taking the example shown in Figure 3, if the light passes through the pixel point A, the light will be projected on the red
光线返弹次数为在光线的跟踪终止前,对光线进行跟踪的最大反射次数和折射次数之和。光线返弹次数可以影响到渲染图像的图像质量的原因在于:因为在复杂场景中,光线会被多次反射和折射,理论上来说,光线被反射和折射的次数可以是无限次,但是,在实际的算法进行过程中,不可能对光线进行无穷的跟踪,因而需要给出一些跟踪的终止条件。在应用中,可以有以下的终止条件:光线在经过许多次反射和折射以后,就会产生衰减,光线对于视点的光强贡献很小;光线返弹次数即跟踪深度大于一定值。因此,光线返弹次数越多,可以被跟踪到的有效光线越多,多个透明物体之间的折射效果越好,越逼真,图像质量也就越好。The number of ray bounces is the sum of the maximum number of reflections and refractions that can be traced to the ray before the ray trace is terminated. The reason why the number of ray bounces can affect the image quality of the rendered image is because in a complex scene, the light will be reflected and refracted many times. In theory, the number of times the light will be reflected and refracted can be infinite. In the actual process of the algorithm, it is impossible to trace the rays infinitely, so some termination conditions of the trace need to be given. In the application, there can be the following termination conditions: the light will decay after many times of reflection and refraction, and the light contribution to the light intensity of the viewpoint is very small; the number of ray bounces, that is, the tracking depth is greater than a certain value. Therefore, the more times the light bounces, the more effective light rays can be tracked, the better the refraction effect between multiple transparent objects, the more realistic, and the better the image quality.
资源参数可以包括:处理器的个数、处理器的主频、内存大小以及网络带宽中的一种或者多种。当处理器的主频越高,渲染效率越高,图像的帧率越高;当内存的越大,渲染效率越高,图像的帧率越高;当网络带宽越大,传输渲染图像的效率越高,在用户设备上显示渲染图像的帧率越高。The resource parameter may include one or more of the number of processors, the main frequency of the processor, the size of the memory, and the network bandwidth. When the main frequency of the processor is higher, the rendering efficiency is higher, and the frame rate of the image is higher; when the memory is larger, the rendering efficiency is higher, and the frame rate of the image is higher; when the network bandwidth is larger, the efficiency of transmitting the rendered image is higher. The higher it is, the higher the frame rate at which the rendered image is displayed on the user device.
显示参数可以包括:帧率等等,显示参数越高,用户体验越高。The display parameters may include: frame rate, etc. The higher the display parameters, the higher the user experience.
一渲染任务,例如一个应用或者一部电影,包括了多帧渲染图像。一个渲染任务的渲染质量包括以下两方面中的至少一个:每一帧渲染图像的质量、渲染图像的效率(也即帧率)。A rendering task, such as an application or a movie, consists of multiple frames of rendered images. The rendering quality of a rendering task includes at least one of the following two aspects: the quality of the rendered image in each frame, and the efficiency of the rendered image (ie, the frame rate).
从上述记载可以看出,可以通过调整渲染指标、资源参数来调整渲染任务的渲染质量。It can be seen from the above records that the rendering quality of the rendering task can be adjusted by adjusting the rendering indicators and resource parameters.
渲染指标越高,例如,Spp的数量越大,光线返弹次数越多,每一帧渲染图像的质量越高,则渲染质量越好。一般的,越高的渲染指标也导致光线追踪渲染要求的计算量就越大,相应地,需要的资源(计算资源、存储资源以及网络资源等等)也会越多。The higher the rendering index, for example, the larger the number of Spp, the more times the light bounces, and the higher the quality of the rendered image per frame, the better the rendering quality. Generally, a higher rendering index also leads to a larger amount of computation required for ray tracing rendering, and accordingly, more resources (computing resources, storage resources, network resources, etc.) are required.
显示参数越高,则渲染质量越高,需要的资源(计算资源、存储资源以及网络资源等等)也会越多。The higher the display parameters, the higher the rendering quality and the more resources (computing resources, storage resources, network resources, etc.) required.
资源参数越高,渲染图像的效率越高,图像帧率越高,渲染质量也越好。The higher the resource parameter, the higher the efficiency of rendering the image, the higher the image frame rate, and the better the rendering quality.
因此,可以通过云渲染平台按需提供光线追踪渲染所需要的资源,从而按需提供适合用户需求的渲染质量。Therefore, the resources required for ray tracing rendering can be provided on demand through the cloud rendering platform, thereby providing rendering quality suitable for user needs on demand.
参见图6,图6是本申请提供的一种云渲染系统的结构示意图。在本申请的具体实施方式中,云渲染系统可以用于实现光线跟踪渲染,包括:用户设备510、网络设备520以及云渲染平台530。Referring to FIG. 6, FIG. 6 is a schematic structural diagram of a cloud rendering system provided by the present application. In the specific implementation manner of the present application, a cloud rendering system can be used to implement ray tracing rendering, including: a
用户设备510可以是需要实时显示渲染图像的设备,例如,可以是用于飞行训练的虚拟现实设备(Virtual Reality,VR)、可以是用于3D游戏的电脑以及用于交互式建筑演示的智能手机等等,此处不作具体限定。The
网络设备520用于在用户设备510通过任何通信机制/通信标准的通信网络与云渲染平台530之间传输数据。其中,通信网络可以是广域网、局域网、点对点连接等方式,或它们的任意组合。The
云渲染平台530包括多个渲染节点,每个渲染节点自下而上包括渲染硬件、虚拟机、操作系统、渲染引擎以及渲染应用。其中,渲染硬件包括计算资源、存储资源以及网络资源。计算资源可以采用异构计算架构,例如,可以采用中央处理器(Central ProcessingUnit,CPU)+图形处理器(Graphics Processing Unit,GPU)架构,CPU+AI芯片,CPU+GPU+AI芯片架构等等,此处不作具体限定。存储资源可以包括内存等等。这里,计算资源可以被分成多个计算单位资源,存储资源可以被分成多个存储单位资源,网络资源可以被分成多个网络单位资源。因此,云渲染平台可以按照用户的资源需求以单位资源为基础进行自由组合,从而用户的需要提供资源。例如,计算资源可以被分成5u的计算单位资源,存储资源可以被分成10G的存储单位资源,则计算资源和存储资源的组合可以是,5u+10G,5u+20G,5u+30u,…,10u+10G,10u+20G,10u+30u,…。虚拟化服务是通过虚拟化技术将多个物理主机的资源构建为统一的资源池,并按照用户的需要灵活地隔离出相互独立的资源以运行用户的应用程序的服务。常见地,虚拟化服务可以包括虚拟机(Virtual Machine,VM)服务、裸金属服务器(Bare Metal Server,BMS)服务以及容器(Container)服务。其中,VM服务可以是通过虚拟化技术在多个物理主机上虚拟出虚拟机(Virtual Machine,VM)资源池以为用户按需提供VM进行使用的服务。BMS服务是在多个物理主机上虚拟出BMS资源池以为用户按需提供BMS进行使用的服务。容器服务是在多个物理主机上虚拟出容器资源池以为用户按需提供容器进行使用的服务。VM是模拟出来的一台虚拟的计算机,也即逻辑上的一台计算机。BMS是一种可弹性伸缩的高性能计算服务,计算性能与传统物理机无差别,具有安全物理隔离的特点。容器是一种内核虚拟化技术,可以提供轻量级的虚拟化,以达到隔离用户空间、进程和资源的目的。应理解,上述虚拟化服务中的VM服务、BMS服务以及容器服务仅仅是作为具体的事例,在实际应用中,虚拟化服务还可以其他轻量级或者重量级的虚拟化服务,此处不作具体限定。渲染引擎可以是光线跟踪渲染器,用于实现光线跟踪渲染算法,常用的光线跟踪渲染器可以包括Unity、V-ray、Unreal、RenderMan等等。渲染应用可以用于调用渲染引擎以完成渲染图像的渲染,常见的渲染应用可以包括:游戏应用、VR应用、电影特效以及动画等等。The
下面的图7A至图7B、图8A至图8B、图9A至图9B分别以用户设备为智能终端、电脑以及VR设备的应用场景为例,详细介绍了用户如何通过按键实时对渲染图像的渲染质量进行调整进行了详细的介绍。The following Figures 7A to 7B, 8A to 8B, and 9A to 9B respectively take the application scenarios in which the user equipment is a smart terminal, a computer, and a VR device as examples, and describe in detail how the user can render the rendered image in real time by pressing buttons. Quality adjustment is described in detail.
图7A至图7B以用户设备为智能终端为例,介绍了用户如何调整渲染指标,从而调整渲染图像的渲染质量。智能终端正在实时显示渲染图像。智能终端的侧面设置了增加按键以及减少按键两种按键,用户可以通过按压增加按键以及减少按键来提升渲染质量或者减少渲染质量。具体地,如图7A所示,当用户希望提高渲染质量时,可以按压智能终端侧面的增加按键,智能终端的增加按键被用户按压的次数越多,渲染质量提升得越高。如图7B所示,当用户希望降低渲染质量时,可以按压智能终端侧面的减少按键,智能终端的减少按键被用户按压的次数越多,渲染质量下降得越高。上述实施例中是增加按键以及减少按键对渲染质量进行调整,并且,增加按键以及减少按键是两个不同的物理按键,但是,在实际应用中,增加按键以及减少按键可以集成在同一个物理按键上,或者,增加按键以及减少按键可以是两个不同的虚拟按键,更甚至,可以不采用增加按键以及减少按键这种组件,而是采用进度条等等其他组件,此处不作具体限定。FIGS. 7A to 7B take the user equipment as an intelligent terminal as an example, and describe how the user adjusts the rendering index, thereby adjusting the rendering quality of the rendered image. The smart terminal is displaying the rendered image in real time. The side of the smart terminal is provided with two buttons, the increase button and the decrease button. The user can improve the rendering quality or reduce the rendering quality by pressing the increase button and the decrease button. Specifically, as shown in FIG. 7A , when the user wants to improve the rendering quality, he can press the add button on the side of the smart terminal. The more times the add button of the smart terminal is pressed by the user, the higher the rendering quality is improved. As shown in FIG. 7B , when the user wants to reduce the rendering quality, he can press the reduce button on the side of the smart terminal. The more times the reduce button of the smart terminal is pressed by the user, the higher the rendering quality will be degraded. In the above embodiment, the increase button and the decrease button are used to adjust the rendering quality, and the increase button and the decrease button are two different physical buttons. However, in practical applications, the increase button and the decrease button can be integrated into the same physical button. Alternatively, the increase button and the decrease button may be two different virtual buttons, and even more, the components such as the increase button and the decrease button may not be used, but other components such as a progress bar may be used, which are not specifically limited here.
图8A至图8B以用户设备为电脑为例,介绍了用户如何调整渲染指标,从而调整渲染质量。智能终端正在实时显示渲染图像。用户可以设置鼠标的左键为增加按键,鼠标的右键为减少按键。用户可以通过按压鼠标的左键以及鼠标的右键来提升渲染质量或者减少渲染质量。具体地,如图8A所示,当用户希望提高渲染质量时,可以按压鼠标的左键,终端设备的鼠标的左键被用户按压的次数越多,渲染质量提升得越高。如图8B所示,当用户希望降低渲染质量时,可以按压鼠标的右键,鼠标的右键被用户按压的次数越多,渲染质量下降得越高。上述实施例中是通过鼠标的左右键对渲染质量进行调整,在其他实施例中,也可以通过键盘的上下键对渲染质量进行调整,或者,可以通过鼠标的滑轮对渲染质量进行调整等等,此处不作具体限定。FIGS. 8A to 8B take the user equipment as a computer as an example, and describe how the user adjusts the rendering index to adjust the rendering quality. The smart terminal is displaying the rendered image in real time. The user can set the left button of the mouse to increase the button, and the right button of the mouse to decrease the button. The user can increase the rendering quality or decrease the rendering quality by pressing the left mouse button and the right mouse button. Specifically, as shown in FIG. 8A , when the user wants to improve the rendering quality, he can press the left button of the mouse. The more times the left button of the mouse of the terminal device is pressed by the user, the higher the rendering quality is improved. As shown in FIG. 8B , when the user wishes to reduce the rendering quality, the user can press the right button of the mouse, and the more times the right button of the mouse is pressed by the user, the higher the rendering quality decreases. In the above embodiment, the rendering quality is adjusted through the left and right keys of the mouse. In other embodiments, the rendering quality can also be adjusted through the up and down keys of the keyboard, or the rendering quality can be adjusted through the pulley of the mouse, etc. There is no specific limitation here.
图9A至图9B以用户设备为VR设备为例,介绍了用户如何调整渲染指标,从而调整渲染质量。VR设备的侧面设置了增加按键以及减少按键两种按键,用户可以通过按压增加按键以及减少按键来提升渲染质量或者减少渲染质量。具体地,如图9A所示,当用户希望提高渲染质量时,可以按压VR设备侧面的增加按键,VR设备的增加按键被用户按压的次数越多,渲染质量提升得越高。如图9B所示,当用户希望降低渲染质量时,可以按压VR设备侧面的减少按键,VR设备的减少按键被用户按压的次数越多,渲染质量下降得越高。上述实施例中是增加按键以及减少按键对渲染质量进行调整,并且,增加按键以及减少按键是两个不同的物理按键,但是,在实际应用中,增加按键以及减少按键可以集成在同一个物理按键上,此处不作具体限定。FIGS. 9A to 9B take the user device as a VR device as an example, and describe how the user adjusts the rendering index to adjust the rendering quality. The side of the VR device is provided with two buttons, the increase button and the decrease button. Users can improve the rendering quality or reduce the rendering quality by pressing the increase button and the decrease button. Specifically, as shown in FIG. 9A , when the user wants to improve the rendering quality, he can press the add button on the side of the VR device. The more times the add button of the VR device is pressed by the user, the higher the rendering quality is improved. As shown in FIG. 9B , when the user wants to reduce the rendering quality, he can press the decrease button on the side of the VR device. The more times the decrease button of the VR device is pressed by the user, the higher the rendering quality is degraded. In the above embodiment, the increase button and the decrease button are used to adjust the rendering quality, and the increase button and the decrease button are two different physical buttons. However, in practical applications, the increase button and the decrease button can be integrated into the same physical button. above, there is no specific limitation here.
应理解,上述智能终端、电脑以及VR设备的应用场景仅仅是具体的示例,在其他的实施例中,还可以采用其他的应用场景,此处不作具体限定。It should be understood that the above application scenarios of the smart terminal, the computer, and the VR device are only specific examples, and in other embodiments, other application scenarios may also be used, which are not specifically limited here.
用户通过按压用户设备上的按键实时对渲染质量进行调整主要包括以下过程:(一)用户通过按压用户设备上的按键从而得到调整指标和/或调整参数。(二)用户设备通过网络设备将调整指标和/或调整参数发送给云渲染平台。(三)云渲染平台根据调整指标和/或调整参数调整计算资源进行光线跟踪渲染,从而得到渲染图像。(四)云渲染平台将渲染图像通过网络设备发送给用户设备,并呈现给用户。The real-time adjustment of the rendering quality by the user by pressing the button on the user equipment mainly includes the following processes: (1) The user obtains the adjustment index and/or the adjustment parameter by pressing the button on the user equipment. (2) The user equipment sends the adjustment indicators and/or adjustment parameters to the cloud rendering platform through the network device. (3) The cloud rendering platform adjusts computing resources to perform ray tracing rendering according to adjustment indicators and/or adjustment parameters, thereby obtaining a rendered image. (4) The cloud rendering platform sends the rendered image to the user device through the network device, and presents it to the user.
在步骤(一)中,用户通过按压用户设备上的按键从而得到调整指标和/或调整参数。其中,可以在用户设备中预先设置增加按键的按压次数与调整指标(SPP,光线返弹次数)和/或调整参数(主频以及内存)之间的映射关系,以及,减少按键的按压次数与调整指标(SPP,光线返弹次数)和/或调整参数(主频以及内存)之间的映射关系。In step (1), the user obtains the adjustment index and/or adjustment parameter by pressing a button on the user equipment. Among them, the mapping relationship between the number of times of pressing the increase button and the adjustment index (SPP, the number of times of light bounce) and/or the adjustment parameter (frequency and memory) can be preset in the user equipment, and the number of times of pressing the button to reduce and The mapping relationship between adjustment indicators (SPP, the number of bounces of light) and/or adjustment parameters (frequency and memory).
如图10A中的(a)所示,当用户按压增加按键的按压次数为1时,SPP的增加次数为4,当用户按压增加按键的按压次数为2时,SPP增加为8,当用户按压增加按键的按压次数为3时,SPP增加为12,当用户按压增加按键的按压次数为4时,SPP增加为16。如图10A中的(b)所示,当用户按压增加按键的按压次数为1时,光线返弹次数增加为1,当用户按压增加按键的按压次数为2时,光线返弹次数增加为2,当用户按压增加按键的按压次数为3时,光线返弹次数增加为3,当用户按压增加按键的按压次数为4时,光线返弹次数增加为4。如图10A中的(c)所示,当用户按压增加按键的按压次数为1时,处理器的主频增加为8u,当用户按压增加按键的按压次数为2时,处理器的主频增加为16u,当用户按压增加按键的按压次数为3时,处理器的主频增加为24u,当用户按压增加按键的按压次数为4时,处理器的主频增加为32u。如图10A中的(d)所示,当用户按压增加按键的按压次数为1时,存储器的内存增加为10兆(M),当用户按压增加按键的按压次数为2时,存储器的内存增加为20M,当用户按压增加按键的按压次数为3时,存储器的内存增加为30M,当用户按压增加按键的按压次数为4时,存储器的内存增加为40M。As shown in (a) of FIG. 10A , when the number of times the user presses the increase button is 1, the increase number of SPP is 4, and when the number of times the user presses the increase button is 2, the SPP increases to 8, and when the user presses When the number of times the increase button is pressed is 3, the SPP is increased to 12, and when the number of times the user presses the increase button is 4, the SPP is increased to 16. As shown in (b) of FIG. 10A , when the number of times the user presses the increase button is 1, the number of times the light bounces is increased to 1, and when the number of times the user presses the increase button is 2, the number of times the light bounces is increased to 2 , when the number of times the user presses the increase button is 3, the number of times the light bounces is increased to 3, and when the number of times the user presses the increase button is 4, the number of times the light bounces is increased to 4. As shown in (c) of FIG. 10A , when the number of times the user presses the increase button is 1, the main frequency of the processor increases to 8u, and when the number of times the user presses the increase button is 2, the main frequency of the processor increases is 16u. When the user presses the increase button for 3 times, the processor's main frequency increases to 24u. When the user presses the increase button for 4 times, the processor's main frequency increases to 32u. As shown in (d) in FIG. 10A , when the number of times the user presses the increase button is 1, the memory of the memory increases to 10 megabytes (M), and when the number of times the user presses the increase button is 2, the memory of the memory increases. When the number of times the user presses the increase button is 3, the memory of the memory increases to 30M, and when the number of times the user presses the increase button is 4, the memory of the memory increases to 40M.
如图10B中的(a)所示,当用户按压减少按键的按压次数为1时,SPP减少为16,当用户按压减少按键的按压次数为2时,SPP减少为12,当用户按压减少按键的按压次数为3时,SPP减少为8,当用户按压减少按键的按压次数为4时,SPP减少为4。如图10B中的(b)所示,当用户按压减少按键的按压次数为1时,光线返弹次数的减少为4,当用户按压减少按键的按压次数为2时,光线返弹次数的减少为3,当用户按压减少按键的按压次数为3时,SPP减少为2,当用户按压减少按键的按压次数为4时,SPP减少为1。如图10B中的(c)所示,当用户按压减少按键的按压次数为1时,处理器的主频减少为32u,当用户按压减少按键的按压次数为2时,处理器的主频减少为24,当用户按压减少按键的按压次数为3时,处理器的主频减少为16,当用户按压减少按键的按压次数为4时,处理器的主频减少为8。如图10B中的(d)所示,当用户按压减少按键的按压次数为1时,存储器的内存减少为40M,当用户按压减少按键的按压次数为2时,存储器的内存减少为30M,当用户按压减少按键的按压次数为3时,存储器的内存减少为20M,当用户按压减少按键的按压次数为4时,存储器的内存减少为10M。As shown in (a) of FIG. 10B , when the number of times the user presses the decrease key is 1, the SPP is reduced to 16, and when the number of times the user presses the decrease key is 2, the SPP is reduced to 12, and when the user presses the decrease key, the SPP is reduced to 12. When the number of times of pressing the decrease button is 3, the SPP is reduced to 8, and when the number of times the user presses the decrease button is 4, the SPP is reduced to 4. As shown in (b) of FIG. 10B , when the number of times the user presses the decrease button is 1, the number of times the light bounces is reduced to 4, and when the number of times the user presses the decrease button is 2, the number of times the light bounces is reduced is 3, when the number of times the user presses the decrease button is 3, the SPP is decreased to 2, and when the number of times the user presses the decrease button is 4, the SPP is decreased to 1. As shown in (c) of FIG. 10B , when the number of times the user presses the decrease button is 1, the main frequency of the processor is reduced to 32u, and when the number of times the user presses the decrease button is 2, the main frequency of the processor is reduced is 24, when the number of times the user presses the decrease button is 3, the main frequency of the processor is reduced to 16, and when the number of times the user presses the decrease button is 4, the main frequency of the processor is reduced to 8. As shown in (d) in FIG. 10B , when the number of times the user presses the decrease button is 1, the memory of the memory is reduced to 40M, and when the number of times the user presses the decrease button is 2, the memory of the memory is reduced to 30M. When the number of times the user presses the decrease button is 3, the memory of the memory is reduced to 20M, and when the number of times the user presses the decrease button is 4, the memory of the memory is reduced to 10M.
在上述例子中增加按键的按压次数、减少按键的按压次数、SPP的增加次数、光线返弹次数的增加次数、减少按键的按压次数、SPP的减少次数、光线返弹次数的减少次数仅仅是作为具体的事例,在实际应用中,还可以是其他的数值,此处不作具体限定。另外,上述例子中是以每按压一次增加按键,同时增加SPP的次数以及光线返弹次数为例进行说明的,实际应用中,也可以第一次按压增加按键时,先增加SPP的次数,第二次按压增加按键时,再次增加光线返弹次数,依次类推。In the above example, increase the number of button presses, decrease the number of button presses, increase the number of SPP, increase the number of light bounces, decrease the number of button presses, decrease the number of SPP, and decrease the number of light bounces only as Specific examples, in practical applications, may also be other numerical values, which are not specifically limited here. In addition, in the above example, the number of SPP and the number of light bounces are increased for each press of the button. In practical applications, the number of SPP can be increased first when the increase button is pressed for the first time. When the increase button is pressed a second time, the number of light bounces is increased again, and so on.
在步骤(三)中,云渲染平台根据调整指标调整计算资源进行光线跟踪渲染,从而得到渲染图像。下面将分别以调整指标为提高指标,需要增加计算资源进行光线跟踪渲染,以及,调整指标为降低指标,需要减少计算资源进行光线跟踪渲染分别进行详细的介绍。In step (3), the cloud rendering platform adjusts computing resources to perform ray tracing rendering according to the adjustment index, thereby obtaining a rendered image. The following will take the adjustment index as an improvement index, which requires additional computing resources for ray tracing rendering, and the adjustment index as a lower index, which requires reducing computing resources for ray tracing rendering.
对于调整指标为提高指标,需要增加计算资源进行光线跟踪渲染来说。在光线返弹次数不变,SPP增加的情况下,如图11A所示,在调整前,假设第一渲染指标为SPP为1(每像素透过的光线数量为1),云渲染平台通过线程1对透过该像素A的光线1进行光线跟踪,其中,线程1所使用的计算资源为第一计算资源。当用户将第一渲染指标(SPP为1)调整为第二渲染指标(SPP为2),即,调整指标为SPP增加1时,云渲染平台保持通过线程1对透过该像素A的光线1进行光线跟踪,并且,云渲染平台新创建线程2对新增加的透过该像素A的光线2进行光线跟踪,其中,线程2所使用的计算资源为新增的计算资源,第二计算资源等于第一计算资源与新增的计算资源之和。在SPP不变,光线返弹次数发生增加的情况下,如图11B所示,假设第一渲染指标为光线返弹次数为1,云渲染平台通过线程1对透过该像素A的光线1的第一次返弹进行光线跟踪,其中,线程1所使用的计算资源为第一计算资源。当用户将第一渲染指标(光线返弹次数1)调整为第二渲染指标(光线返弹次数为2),即,调整指标为光线返弹次数增加1时,云渲染平台保持通过线程1对透过该像素A的光线1的第一次返弹进行光线跟踪,并且,云渲染平台新创建线程2对透过该像素A的光线1的第二次返弹进行光线跟踪,其中,线程2所使用的计算资源为新增的计算资源,第二计算资源等于第一计算资源与新增的计算资源之和。For adjusting the index to improve the index, it is necessary to increase the computing resources for ray tracing rendering. Under the condition that the number of ray bounces remains the same and the SPP increases, as shown in Figure 11A, before the adjustment, assuming that the first rendering index is that the SPP is 1 (the number of rays passing through each pixel is 1), the cloud rendering platform uses the
对于调整指标为减少指标,需要减少计算资源进行光线跟踪渲染来说。在光线返弹次数不变,SPP减少的情况下,如图11C所示,在调整前,假设第一渲染指标为SPP为2(每像素透过的光线数量为2),云渲染平台通过线程1对透过该像素A的光线1进行光线跟踪,通过线程2对透过该像素A的光线2进行光线跟踪,其中,线程1所使用的计算资源为第一计算资源,线程2所使用的计算资源为第一计算资源。当用户将第一渲染指标(SPP为2)调整为第二渲染指标(SPP为1),即,调整指标为SPP减少1时,云渲染平台保持通过线程1对透过该像素A的光线1进行光线跟踪,并且,云渲染平台删除线程2对新增加的透过该像素A的光线2进行光线跟踪,其中,线程2所使用的计算资源为减少的计算资源,第二计算资源等于第一计算资源与减少的计算资源之差。在SPP不变,光线返弹次数发生减少的情况下,如图11D所示,假设第一渲染指标为光线返弹次数为2,云渲染平台通过线程1对透过该像素A的光线1的第一次返弹进行光线跟踪,通过线程2对透过该像素A的光线1的第二次返弹进行光线跟踪,其中,线程1所使用的计算资源为第一计算资源,线程2所使用的计算资源为第二计算资源。当用户将第一渲染指标(光线返弹次数2)调整为第二渲染指标(光线返弹次数为1),即,调整指标为光线返弹次数减少1时,云渲染平台保持通过线程1对透过该像素A的光线1的第一次返弹进行光线跟踪,并且,云渲染平台删除线程2对透过该像素A的光线1的第二次返弹进行光线跟踪,其中,线程2所使用的计算资源为减少的计算资源,第二计算资源等于第一计算资源与减少的计算资源之差。For adjusting the index to reduce the index, it is necessary to reduce the computing resources for ray tracing rendering. Under the condition that the number of ray bounces remains the same and the SPP decreases, as shown in Figure 11C, before the adjustment, assuming that the first rendering index is SPP of 2 (the number of rays passing through each pixel is 2), the cloud rendering platform uses the
在上述例子中第一渲染指标的数量,第二渲染指标的数量,以及调整指标的数量仅仅是作为具体的事例,在实际应用中,还可以是其他的数值,此处不作具体限定。另外,在上述例子中均是以用户通过按键来触发的,但是,实际应用中,用户还可以是具有深厚技术基础的专业人员,可以直接调用应用程序接口(Application Programming Interface,API)来触发,此处不作具体限定。In the above example, the number of first rendering indicators, the number of second rendering indicators, and the number of adjustment indicators are only specific examples. In practical applications, other values may also be used, which are not specifically limited here. In addition, the above examples are all triggered by the user pressing a button. However, in practical applications, the user can also be a professional with a profound technical foundation, and can directly call the Application Programming Interface (API) to trigger, There is no specific limitation here.
下面将详细介绍通过云渲染系统实现用户对渲染质量进行调整的过程,参见图12,图12是本申请提出的一实施方式的渲染质量调整方法的流程交互图。本实施例中的渲染质量调整方法可以包括如下步骤:The process of adjusting the rendering quality by the user through the cloud rendering system will be described in detail below. Referring to FIG. 12 , FIG. 12 is an interactive flowchart of a rendering quality adjustment method according to an embodiment of the present application. The rendering quality adjustment method in this embodiment may include the following steps:
S101:云渲染平台接收管理设备发送的渲染任务。相应地,管理设备接收云渲染平台发送的渲染任务。S101: The cloud rendering platform receives the rendering task sent by the management device. Correspondingly, the management device receives the rendering task sent by the cloud rendering platform.
在本申请的具体实施例中,管理设备可以是第三方设备。例如,用户设备可以是用户玩3D游戏的应用程序所在的设备,管理设备可以是提供3D游戏的应用程序的游戏开发商的设备。In a specific embodiment of the present application, the management device may be a third-party device. For example, the user equipment may be the equipment where the application program of the 3D game is played by the user, and the management equipment may be the equipment of the game developer who provides the application program of the 3D game.
S102:用户设备获取用户输入的渲染资源请求指令。S102: The user equipment obtains a rendering resource request instruction input by the user.
在本申请的具体实施例中,所述渲染资源请求指令包括渲染指标、资源参数以及显示参数中的一种或者多种。In a specific embodiment of the present application, the rendering resource request instruction includes one or more of rendering indicators, resource parameters, and display parameters.
在本申请的具体实施例中,所述渲染指标包括每像素采样数Spp、光线返弹次数、物体建模三角形面片数、顶点数和画面噪声中的一种或者多种。其中,SPP可以定义为每个像素采样得到的光线的数量。光线返弹次数为在光线的跟踪终止前,对光线进行跟踪的最大反射次数和折射次数之和。这里,渲染指标越高,例如,Spp的数量越大,光线返弹次数越多,则光线追踪渲染要求的计算量就越大,相应地,需要的资源(计算资源、存储资源以及网络资源等等)也会越多,渲染质量越好。In a specific embodiment of the present application, the rendering index includes one or more of the number of samples per pixel Spp, the number of ray bounces, the number of object modeling triangles, the number of vertices, and picture noise. Among them, SPP can be defined as the number of rays sampled by each pixel. The number of ray bounces is the sum of the maximum number of reflections and refractions that can be traced to the ray before the ray trace is terminated. Here, the higher the rendering index, for example, the greater the number of Spps, the more times the ray bounces, the greater the amount of computation required for ray tracing rendering, and accordingly, the required resources (computing resources, storage resources, and network resources, etc. etc.) will also be more, the better the rendering quality.
在本申请的具体实施例中,所述资源参数包括处理器的个数、处理器的主频、内存大小以及网络带宽中的一种或者多种。这里,资源参数越高,分配给渲染任务的资源越多,则渲染图像的帧率越高,用户的体验也会越好。In a specific embodiment of the present application, the resource parameter includes one or more of the number of processors, the main frequency of the processor, the size of the memory, and the network bandwidth. Here, the higher the resource parameter, the more resources are allocated to the rendering task, the higher the frame rate of the rendered image, and the better the user experience.
在本申请的具体实施例中,所述显示参数可以包括帧率等等,则渲染质量越高,需要的资源(计算资源、存储资源以及网络资源等等)也会越多。In a specific embodiment of the present application, the display parameters may include frame rate and the like, and the higher the rendering quality, the more resources (computing resources, storage resources, network resources, etc.) are required.
S103:用户设备通过网络设备将所述渲染资源请求指令发送给云渲染平台。相应地,云渲染平台接收用户设备通过网络设备发送的所述渲染资源请求指令。S103: The user equipment sends the rendering resource request instruction to the cloud rendering platform through the network device. Correspondingly, the cloud rendering platform receives the rendering resource request instruction sent by the user equipment through the network device.
S104:云渲染平台根据渲染资源请求指令分配计算资源为所述渲染任务进行实时渲染,从而得到第一渲染图像。S104: The cloud rendering platform allocates computing resources to perform real-time rendering for the rendering task according to the rendering resource request instruction, thereby obtaining a first rendered image.
S105:云渲染平台通过网络设备将所述第一渲染图像发送给用户设备。相应地,用户设备接收云渲染平台通过网络设备发送的第一渲染图像。S105: The cloud rendering platform sends the first rendered image to the user equipment through the network device. Correspondingly, the user equipment receives the first rendered image sent by the cloud rendering platform through the network device.
在本申请的具体实施例中,云渲染平台根据为所述渲染任务分配计算资源计算第一计价信息,其中,所述第一计价信息为渲染所述第一渲染图像的费用。In a specific embodiment of the present application, the cloud rendering platform calculates first pricing information according to allocating computing resources to the rendering task, where the first pricing information is a fee for rendering the first rendered image.
S106:用户设备获取用户输入的渲染资源调整指令。S106: The user equipment obtains the rendering resource adjustment instruction input by the user.
在本申请的具体实施例中,所述渲染资源调整指令是提升渲染质量,或者,是降低渲染质量。In a specific embodiment of the present application, the rendering resource adjustment instruction is to improve the rendering quality, or to reduce the rendering quality.
S107:用户设备通过网络设备将渲染资源调整指令发送给云渲染平台。S107: The user equipment sends the rendering resource adjustment instruction to the cloud rendering platform through the network device.
S108:所述云渲染平台根据所述渲染资源调整指令调整为所述渲染任务分配的计算资源,并,使用所述调整后的为所述渲染任务分配的计算资源对所述渲染任务进行渲染,从而得到第二渲染图像。S108: The cloud rendering platform adjusts the computing resources allocated for the rendering task according to the rendering resource adjustment instruction, and uses the adjusted computing resources allocated for the rendering task to render the rendering task, Thereby, a second rendered image is obtained.
在本申请的具体实施例中,在所述渲染资源调整指令用于提升所述渲染任务的渲染质量的情况下,所述云渲染平台根据所述渲染资源调整指令调整为所述渲染任务分配的计算资源包括:增加为所述渲染任务分配的计算资源;或在所述渲染资源调整指令用于降低所述渲染任务的渲染质量的情况下,所述云渲染平台根据所述渲染资源调整指令调整为所述渲染任务分配的计算资源包括:减少为所述渲染任务分配的计算资源。In a specific embodiment of the present application, in the case that the rendering resource adjustment instruction is used to improve the rendering quality of the rendering task, the cloud rendering platform adjusts the amount allocated for the rendering task according to the rendering resource adjustment instruction The computing resources include: increasing the computing resources allocated for the rendering task; or when the rendering resource adjustment instruction is used to reduce the rendering quality of the rendering task, the cloud rendering platform adjusts according to the rendering resource adjustment instruction The computing resources allocated for the rendering task include: reducing the computing resources allocated for the rendering task.
S109:所述云渲染平台通过所述网络设备将所述第二渲染图像发送给所述用户设备。S109: The cloud rendering platform sends the second rendered image to the user equipment through the network device.
在本申请的具体实施例中,云渲染平台根据调整后的为所述渲染任务分配的计算资源计算第二计价信息,其中,所述第二计价信息为渲染所述第二渲染图像的费用。In a specific embodiment of the present application, the cloud rendering platform calculates second pricing information according to the adjusted computing resources allocated to the rendering task, where the second pricing information is a fee for rendering the second rendered image.
在上述例子中,应用程序的提供商可以先在云渲染平台提出渲染任务,然后,各个用户设备可以根据自己的需要自行对渲染质量进行调整,例如,3D游戏的应用程序提供商可以先提出渲染任务对3D游戏的游戏场景进行渲染,有些游戏玩家愿意付费提高游戏场景的渲染质量,则可以发送渲染资源调整指令要求云渲染平台提供更多的计算资源;有些游戏玩家对3D游戏的游戏场景的画质要求不高,则可以发送渲染资源调整指令要求云渲染平台减少提供的计算资源,减少花费。In the above example, the application provider can first propose rendering tasks on the cloud rendering platform, and then each user device can adjust the rendering quality according to its own needs. For example, the application provider of a 3D game can propose rendering tasks first. The task renders the game scene of a 3D game. Some gamers are willing to pay to improve the rendering quality of the game scene. They can send rendering resource adjustment instructions to request the cloud rendering platform to provide more computing resources; If the image quality requirements are not high, you can send a rendering resource adjustment command to request the cloud rendering platform to reduce the provided computing resources and reduce costs.
为了简便起见,此处不对渲染质量调整方法展开介绍,具体请参见图1A-图1B,图2至图4,图5A-图5B,图6,图7A-图7B,图8A-图8B,图9A-图9B,图10A-图10B,图11A-图11B以及相关描述。For the sake of simplicity, the rendering quality adjustment method will not be introduced here. For details, please refer to FIGS. 1A-1B, 2-4, 5A-5B, 6, 7A-7B, 9A-9B, 10A-10B, 11A-11B and related descriptions.
下面将详细介绍通过云渲染系统实现用户对渲染质量进行调整的过程,参见图13,图13是本申请提出的另一实施方式的渲染质量调整方法的流程交互图。本实施例中的渲染质量调整方法可以包括如下步骤:The following will describe in detail the process of adjusting the rendering quality by the user through the cloud rendering system. Referring to FIG. 13 , FIG. 13 is an interactive flowchart of a rendering quality adjustment method according to another embodiment of the present application. The rendering quality adjustment method in this embodiment may include the following steps:
S201:云渲染平台接收用户设备发送的渲染任务。相应地,云渲染平台接收用户设备发送的渲染任务。S201: The cloud rendering platform receives the rendering task sent by the user equipment. Correspondingly, the cloud rendering platform receives the rendering task sent by the user equipment.
在本申请的具体实施例中,渲染任务可以是同一个应用程序提出的多帧图像的渲染的任务,也可以是多个应用程序分别提出的多帧图像的渲染的任务,此处不做具体限定。举例来说,用户可能一直在玩A游戏,那么,渲染任务可以是A游戏的应用程序发起的渲染任务。用户也可能先玩A游戏,后面玩B游戏,那么,渲染任务可以是A游戏的应用程序以及B游戏的应用程序发起的渲染任务。In the specific embodiment of the present application, the rendering task may be the task of rendering multi-frame images proposed by the same application, or may be the task of rendering multi-frame images proposed by multiple applications respectively, which is not specifically described here. limited. For example, the user may have been playing game A, and then the rendering task may be a rendering task initiated by the application of game A. The user may also play the A game first and then play the B game. Then, the rendering task may be a rendering task initiated by the application of the A game and the application of the B game.
S202:用户设备获取用户输入的渲染资源请求指令。S202: The user equipment obtains a rendering resource request instruction input by the user.
在本申请的具体实施例中,所述渲染资源请求指令包括渲染指标、资源参数以及显示参数中的一种或者多种。In a specific embodiment of the present application, the rendering resource request instruction includes one or more of rendering indicators, resource parameters, and display parameters.
在本申请的具体实施例中,所述渲染指标包括每像素采样数Spp、光线返弹次数、物体建模三角形面片数、顶点数和画面噪声中的一种或者多种。其中,SPP可以定义为每个像素采样得到的光线的数量。光线返弹次数为在光线的跟踪终止前,对光线进行跟踪的最大反射次数和折射次数之和。这里,渲染指标越高,例如,Spp的数量越大,光线返弹次数越多,则光线追踪渲染要求的计算量就越大,相应地,需要的资源(计算资源、存储资源以及网络资源等等)也会越多,渲染质量越好。In a specific embodiment of the present application, the rendering index includes one or more of the number of samples per pixel Spp, the number of ray bounces, the number of object modeling triangles, the number of vertices, and picture noise. Among them, SPP can be defined as the number of rays sampled by each pixel. The number of ray bounces is the sum of the maximum number of reflections and refractions that can be traced to the ray before the ray trace is terminated. Here, the higher the rendering index, for example, the greater the number of Spps, the more times the ray bounces, the greater the amount of computation required for ray tracing rendering, and accordingly, the required resources (computing resources, storage resources, and network resources, etc. etc.) will also be more, the better the rendering quality.
在本申请的具体实施例中,所述资源参数包括处理器的个数、处理器的主频、内存大小以及网络带宽中的一种或者多种。这里,资源参数越高,分配给渲染任务的资源越多,则渲染图像的帧率越高,用户的体验也会越好。In a specific embodiment of the present application, the resource parameter includes one or more of the number of processors, the main frequency of the processor, the size of the memory, and the network bandwidth. Here, the higher the resource parameter, the more resources are allocated to the rendering task, the higher the frame rate of the rendered image, and the better the user experience.
在本申请的具体实施例中,所述显示参数可以包括帧率等等,则渲染质量越高,需要的资源(计算资源、存储资源以及网络资源等等)也会越多。In a specific embodiment of the present application, the display parameters may include frame rate and the like, and the higher the rendering quality, the more resources (computing resources, storage resources, network resources, etc.) are required.
S203:用户设备通过网络设备将所述渲染资源请求指令发送给云渲染平台。相应地,云渲染平台接收用户设备通过网络设备发送的所述渲染资源请求指令。S203: The user equipment sends the rendering resource request instruction to the cloud rendering platform through the network device. Correspondingly, the cloud rendering platform receives the rendering resource request instruction sent by the user equipment through the network device.
S204:云渲染平台根据渲染资源请求指令分配计算资源为所述渲染任务进行实时渲染,从而得到第一渲染图像。S204: The cloud rendering platform allocates computing resources to perform real-time rendering for the rendering task according to the rendering resource request instruction, thereby obtaining a first rendered image.
S205:云渲染平台通过网络设备将所述第一渲染图像发送给用户设备。相应地,用户设备接收云渲染平台通过网络设备发送的第一渲染图像。S205: The cloud rendering platform sends the first rendered image to the user equipment through the network device. Correspondingly, the user equipment receives the first rendered image sent by the cloud rendering platform through the network device.
在本申请的具体实施例中,云渲染平台根据为所述渲染任务分配计算资源计算第一计价信息,其中,所述第一计价信息为渲染所述第一渲染图像的费用。In a specific embodiment of the present application, the cloud rendering platform calculates first pricing information according to allocating computing resources to the rendering task, where the first pricing information is a fee for rendering the first rendered image.
S206:用户设备获取用户输入的渲染资源调整指令。S206: The user equipment obtains the rendering resource adjustment instruction input by the user.
在本申请的具体实施例中,所述渲染资源调整指令是提升渲染质量,或者,是降低渲染质量。In a specific embodiment of the present application, the rendering resource adjustment instruction is to improve the rendering quality, or to reduce the rendering quality.
S207:用户设备通过网络设备将渲染资源调整指令发送给云渲染平台。S207: The user equipment sends the rendering resource adjustment instruction to the cloud rendering platform through the network device.
S208:所述云渲染平台根据所述渲染资源调整指令调整为所述渲染任务分配的计算资源,并,使用所述调整后的为所述渲染任务分配的计算资源对所述渲染任务进行渲染,从而得到第二渲染图像。S208: The cloud rendering platform adjusts the computing resources allocated for the rendering task according to the rendering resource adjustment instruction, and uses the adjusted computing resources allocated for the rendering task to render the rendering task, Thereby, a second rendered image is obtained.
在本申请的具体实施例中,在所述渲染资源调整指令用于提升所述渲染任务的渲染质量的情况下,所述云渲染平台根据所述渲染资源调整指令调整为所述渲染任务分配的计算资源包括:增加为所述渲染任务分配的计算资源;或在所述渲染资源调整指令用于降低所述渲染任务的渲染质量的情况下,所述云渲染平台根据所述渲染资源调整指令调整为所述渲染任务分配的计算资源包括:减少为所述渲染任务分配的计算资源。In a specific embodiment of the present application, in the case that the rendering resource adjustment instruction is used to improve the rendering quality of the rendering task, the cloud rendering platform adjusts the amount allocated for the rendering task according to the rendering resource adjustment instruction The computing resources include: increasing the computing resources allocated for the rendering task; or when the rendering resource adjustment instruction is used to reduce the rendering quality of the rendering task, the cloud rendering platform adjusts according to the rendering resource adjustment instruction The computing resources allocated for the rendering task include: reducing the computing resources allocated for the rendering task.
S209:所述云渲染平台通过所述网络设备将所述第二渲染图像发送给所述用户设备。S209: The cloud rendering platform sends the second rendered image to the user equipment through the network device.
在本申请的具体实施例中,云渲染平台根据调整后的为所述渲染任务分配的计算资源计算第二计价信息,其中,所述第二计价信息为渲染所述第二渲染图像的费用。In a specific embodiment of the present application, the cloud rendering platform calculates second pricing information according to the adjusted computing resources allocated to the rendering task, where the second pricing information is a fee for rendering the second rendered image.
为了简便起见,此处不对渲染质量调整方法展开介绍,具体请参见图1A-图1B,图2至图4,图5A-图5B,图6,图7A-图7B,图8A-图8B,图9A-图9B,图10A-图10B,图11A-图11B以及相关描述。For the sake of simplicity, the rendering quality adjustment method will not be introduced here. For details, please refer to FIGS. 1A-1B, 2-4, 5A-5B, 6, 7A-7B, 9A-9B, 10A-10B, 11A-11B and related descriptions.
下面将详细介绍通过云渲染系统实现用户对渲染质量进行调整的过程,参见图14,图14是本申请提出的又一实施方式的渲染质量调整方法的流程交互图。本实施例中的渲染质量调整方法可以包括如下步骤:The following will describe in detail the process of adjusting the rendering quality by the user through the cloud rendering system. Referring to FIG. 14 , FIG. 14 is an interactive flowchart of a rendering quality adjustment method according to another embodiment of the present application. The rendering quality adjustment method in this embodiment may include the following steps:
S301:云渲染平台接收第一用户设备发送的渲染任务。相应地,云渲染平台接收第一用户设备发送的渲染任务。S301: The cloud rendering platform receives the rendering task sent by the first user equipment. Correspondingly, the cloud rendering platform receives the rendering task sent by the first user equipment.
在本申请的具体实施例中,渲染任务可以是同一个应用程序提出的多帧图像的渲染的任务,也可以是多个应用程序分别提出的多帧图像的渲染的任务,此处不做具体限定。举例来说,用户可能一直在玩A游戏,那么,渲染任务可以是A游戏的应用程序发起的渲染任务。用户也可能先玩A游戏,后面玩B游戏,那么,渲染任务可以是A游戏的应用程序以及B游戏的应用程序发起的渲染任务。In the specific embodiment of the present application, the rendering task may be the task of rendering multi-frame images proposed by the same application, or may be the task of rendering multi-frame images proposed by multiple applications respectively, which is not specifically described here. limited. For example, the user may have been playing game A, and then the rendering task may be a rendering task initiated by the application of game A. The user may also play the A game first and then play the B game. Then, the rendering task may be a rendering task initiated by the application of the A game and the application of the B game.
S302:第一用户设备获取用户输入的渲染资源请求指令。S302: The first user equipment obtains a rendering resource request instruction input by the user.
在本申请的具体实施例中,所述渲染资源请求指令包括渲染指标、资源参数以及显示参数中的一种或者多种。In a specific embodiment of the present application, the rendering resource request instruction includes one or more of rendering indicators, resource parameters, and display parameters.
在本申请的具体实施例中,所述渲染指标包括每像素采样数Spp、光线返弹次数、物体建模三角形面片数、顶点数和画面噪声中的一种或者多种。其中,SPP可以定义为每个像素采样得到的光线的数量。光线返弹次数为在光线的跟踪终止前,对光线进行跟踪的最大反射次数和折射次数之和。这里,渲染指标越高,例如,Spp的数量越大,光线返弹次数越多,则光线追踪渲染要求的计算量就越大,相应地,需要的资源(计算资源、存储资源以及网络资源等等)也会越多,渲染质量越好。In a specific embodiment of the present application, the rendering index includes one or more of the number of samples per pixel Spp, the number of ray bounces, the number of object modeling triangles, the number of vertices, and picture noise. Among them, SPP can be defined as the number of rays sampled by each pixel. The number of ray bounces is the sum of the maximum number of reflections and refractions that can be traced to the ray before the ray trace is terminated. Here, the higher the rendering index, for example, the greater the number of Spps, the more times the ray bounces, the greater the amount of computation required for ray tracing rendering, and accordingly, the required resources (computing resources, storage resources, and network resources, etc. etc.) will also be more, the better the rendering quality.
在本申请的具体实施例中,所述资源参数包括处理器的个数、处理器的主频、内存大小以及网络带宽中的一种或者多种。这里,资源参数越高,分配给渲染任务的资源越多,则渲染图像的帧率越高,用户的体验也会越好。In a specific embodiment of the present application, the resource parameter includes one or more of the number of processors, the main frequency of the processor, the size of the memory, and the network bandwidth. Here, the higher the resource parameter, the more resources are allocated to the rendering task, the higher the frame rate of the rendered image, and the better the user experience.
在本申请的具体实施例中,所述显示参数可以包括帧率等等,则渲染质量越高,需要的资源(计算资源、存储资源以及网络资源等等)也会越多。In a specific embodiment of the present application, the display parameters may include frame rate and the like, and the higher the rendering quality, the more resources (computing resources, storage resources, network resources, etc.) are required.
S303:第一用户设备通过网络设备将所述渲染资源请求指令发送给云渲染平台。相应地,云渲染平台接收第一用户设备通过网络设备发送的所述渲染资源请求指令。S303: The first user equipment sends the rendering resource request instruction to the cloud rendering platform through the network device. Correspondingly, the cloud rendering platform receives the rendering resource request instruction sent by the first user equipment through the network device.
S304:云渲染平台根据渲染资源请求指令分配计算资源为所述渲染任务进行实时渲染,从而得到第一渲染图像。S304: The cloud rendering platform allocates computing resources to perform real-time rendering for the rendering task according to the rendering resource request instruction, thereby obtaining a first rendered image.
S305:云渲染平台通过网络设备将所述第一渲染图像发送给第二用户设备。相应地,第二用户设备接收云渲染平台通过网络设备发送的第一渲染图像。S305: The cloud rendering platform sends the first rendered image to the second user equipment through the network device. Correspondingly, the second user equipment receives the first rendered image sent by the cloud rendering platform through the network device.
在本申请的具体实施例中,云渲染平台根据为所述渲染任务分配计算资源计算第一计价信息,其中,所述第一计价信息为渲染所述第一渲染图像的费用。In a specific embodiment of the present application, the cloud rendering platform calculates first pricing information according to allocating computing resources to the rendering task, where the first pricing information is a fee for rendering the first rendered image.
S306:第一用户设备获取用户输入的渲染资源调整指令。S306: The first user equipment acquires the rendering resource adjustment instruction input by the user.
在本申请的具体实施例中,所述渲染资源调整指令是提升渲染质量,或者,是降低渲染质量。In a specific embodiment of the present application, the rendering resource adjustment instruction is to improve the rendering quality, or to reduce the rendering quality.
S307:第一用户设备通过网络设备将渲染资源调整指令发送给云渲染平台。S307: The first user equipment sends the rendering resource adjustment instruction to the cloud rendering platform through the network device.
S308:所述云渲染平台根据所述渲染资源调整指令调整为所述渲染任务分配的计算资源,并,使用所述调整后的为所述渲染任务分配的计算资源对所述渲染任务进行渲染,从而得到第二渲染图像。S308: The cloud rendering platform adjusts the computing resources allocated for the rendering task according to the rendering resource adjustment instruction, and uses the adjusted computing resources allocated for the rendering task to render the rendering task, Thereby, a second rendered image is obtained.
在本申请的具体实施例中,在所述渲染资源调整指令用于提升所述渲染任务的渲染质量的情况下,所述云渲染平台根据所述渲染资源调整指令调整为所述渲染任务分配的计算资源包括:增加为所述渲染任务分配的计算资源;或在所述渲染资源调整指令用于降低所述渲染任务的渲染质量的情况下,所述云渲染平台根据所述渲染资源调整指令调整为所述渲染任务分配的计算资源包括:减少为所述渲染任务分配的计算资源。In a specific embodiment of the present application, in the case that the rendering resource adjustment instruction is used to improve the rendering quality of the rendering task, the cloud rendering platform adjusts the amount allocated for the rendering task according to the rendering resource adjustment instruction The computing resources include: increasing the computing resources allocated for the rendering task; or when the rendering resource adjustment instruction is used to reduce the rendering quality of the rendering task, the cloud rendering platform adjusts according to the rendering resource adjustment instruction The computing resources allocated for the rendering task include: reducing the computing resources allocated for the rendering task.
S309:所述云渲染平台通过所述网络设备将所述第二渲染图像发送给所述第二用户设备。S309: The cloud rendering platform sends the second rendered image to the second user equipment through the network device.
在本申请的具体实施例中,云渲染平台根据调整后的为所述渲染任务分配的计算资源计算第二计价信息,其中,所述第二计价信息为渲染所述第二渲染图像的费用。In a specific embodiment of the present application, the cloud rendering platform calculates second pricing information according to the adjusted computing resources allocated to the rendering task, where the second pricing information is a fee for rendering the second rendered image.
为了简便起见,此处不对渲染质量调整方法展开介绍,具体请参见图1A-图1B,图2至图4,图5A-图5B,图6,图7A-图7B,图8A-图8B,图9A-图9B,图10A-图10B,图11A-图11B以及相关描述。For the sake of simplicity, the rendering quality adjustment method will not be introduced here. For details, please refer to FIGS. 1A-1B, 2-4, 5A-5B, 6, 7A-7B, 9A-9B, 10A-10B, 11A-11B and related descriptions.
参见图15,图15是本申请提出的一实施方式的云渲染平台,包括:获取模块610、接收模块620以及渲染引擎630。Referring to FIG. 15 , FIG. 15 is a cloud rendering platform according to an embodiment proposed in this application, including: an
所述获取模块610用于获取渲染任务;The obtaining
所述接收模块620用于接收用户设备发送的渲染资源请求指令;The receiving
所述渲染引擎630用于根据所述渲染资源请求指令为所述渲染任务分配计算资源以进行渲染,从而得到第一渲染图像;The
所述接收模块620用于接收所述用户设备发送的渲染资源调整指令;The receiving
所述渲染引擎630用于根据所述渲染资源调整指令调整为所述渲染任务分配的计算资源;The
所述渲染引擎630用于使用所述调整后的为所述渲染任务分配的计算资源对所述渲染任务进行渲染,从而得到第二渲染图像。The
为了简便起见,此处没有对云渲染平台进行详细的介绍,具体请参见图1A-图1B,图2至图4,图5A-图5B,图6,图7A-图7B,图8A-图8B,图9A-图9B,图10A-图10B,图11A-图11B以及相关描述。For the sake of simplicity, the cloud rendering platform is not described in detail here. For details, please refer to Fig. 1A-Fig. 1B, Fig. 2-Fig. 4, Fig. 5A-Fig. 5B, Fig. 6, Fig. 7A-Fig. 7B, Fig. 8A-Fig. 8B, FIGS. 9A-9B, 10A-10B, 11A-11B and related descriptions.
本申请提出的一实施例的云渲染系统,包括用户设备、网络设备以及云渲染平台。其中,用户设备可以通过网络设备与云渲染平台进行通信。用户设备可以是VR设备、电脑以及智能手机等等。云渲染平台包括一个或者多个云渲染节点。A cloud rendering system according to an embodiment of the present application includes user equipment, network equipment, and a cloud rendering platform. The user equipment may communicate with the cloud rendering platform through a network device. The user equipment may be a VR device, a computer, a smartphone, and the like. The cloud rendering platform includes one or more cloud rendering nodes.
以用户设备为智能终端为例,图16是一种实现方式的智能终端的结构框图。如图16所示,智能终端可包括:基带芯片710、存储器715,包括一个或多个计算机可读存储介质、射频(RF)模块716、外围系统717。这些部件可在一个或多个通信总线714上通信。Taking the user equipment as an intelligent terminal as an example, FIG. 16 is a structural block diagram of an intelligent terminal in an implementation manner. As shown in FIG. 16 , the smart terminal may include: a
外围系统717主要用于实现智能终端和用户/外部环境之间的交互功能,主要包括智能终端的输入输出装置。具体实现中,外围系统717可包括:触摸屏控制器718、按键控制器719、音频控制器720以及传感器管理模块721。其中,各个控制器可与各自对应的外围设备,例如触摸屏723、按键724、音频电路725以及传感器726,耦合。在一些实施例中,传感器726中的手势传感器可用于接收用户输入的手势控制操作。传感器726中的压力传感器可设置于触摸屏723的下方,可用于采集用户通过触摸屏723输入触控操作时作用于触摸屏723上的触控压力。需要说明的,外围系统717还可以包括其他I/O外设。The
基带芯片710可集成包括:一个或多个处理器711、时钟模块712以及电源管理模块713。集成于基带芯片710中的时钟模块712主要用于为处理器711产生数据传输和时序控制所需要的时钟。集成于基带芯片710中的电源管理模块713主要用于为处理器711、射频模块716以及外围系统提供稳定的、高精确度的电压。The
射频(RF)模块716用于接收和发送射频信号,主要集成了智能终端的接收器和发射器。射频(RF)模块716通过射频信号与通信网络和其他通信设备通信。具体实现中,射频(RF)模块716可包括但不限于:天线系统、RF收发器、一个或多个放大器、调谐器、一个或多个振荡器、数字信号处理器、CODEC芯片、SIM卡和存储介质等。此外,射频模块716还可以包括WIFI,蓝牙等等短距离无线通信模块。在一些实施例中,可在单独的芯片上实现射频(RF)模块716。The radio frequency (RF)
存储器715可以包括是随机存取存储器(Random Access Memory,RAM)、快闪存储器(FlashMemory)等,也可以是RAM,只读存储器(Read-OnlyMemory,ROM)或者硬盘(HardDisk Drive,HDD)或固态硬盘(Solid-StateDrive,SSD)。存储器815可以存储操作系统、通信程序、用户界面程序、浏览器、渲染应用。其中,渲染应用包括游戏应用以及其他渲染应用。The
以用户设备为电脑为例,图17是一种实现方式的电脑的结构框图。如图17所示,电脑可包括:主机810、输出设备820以及输入设备830。Taking the user equipment as a computer as an example, FIG. 17 is a structural block diagram of a computer in an implementation manner. As shown in FIG. 17 , the computer may include a
主机810可集成包括:一个或多个处理器、时钟模块以及电源管理模块。集成于主机810中的时钟模块主要用于为处理器产生数据传输和时序控制所需要的时钟。集成于主机810中的电源管理模块主要用于为处理器、输出设备820以及输入设备830提供稳定的、高精确度的电压。主机810还集成了存储器,用于存储各种软件程序和/或多组指令。具体实现中,存储器可包括高速随机存取的存储器,并且也可包括非易失性存储器,例如一个或多个磁盘存储设备、闪存设备或其他非易失性固态存储设备。存储器可以存储操作系统,例如ANDROID,IOS,WINDOWS,或者LINUX等嵌入式操作系统。存储器还可以存储通信程序,该通信程序可用于与一个或多个输入设备或者输出设备进行通信。存储器还可以存储用户界面程序,该用户界面程序可以通过图形化的操作界面将浏览器的内容形象逼真的显示出来,并通过菜单、对话框以及按键等输入控件接收用户对浏览器的控制操作。存储器还可以存储操作系统、通信程序、用户界面程序、浏览器以及渲染应用等等。其中,渲染应用包括游戏应用以及其他渲染应用。The
输出设备820主要包括显示器,显示器可包括阴极射线管显示器(Cathode RayTube,CRT),等离子显示器(Plasma Display Panel,PDP),液晶显示器(Liquid CrystalDisplay,LCD)等等。以显示器为LCD为例,液晶显示包括液晶面板以及背光模组,其中,液晶显示面板包括偏振膜、玻璃基板、黑色矩阵、彩色滤光片、保护膜、普通电极、校准层、液晶层(液晶、间隔、密封剂)、电容、显示电极、棱镜层、散光层。背光模组包括:照明光源、反射板、导光板、扩散片、增亮膜(棱镜片)及框架等等。The
输入设备830可以包括键盘和鼠标。键盘和鼠标是最常用也是最主要的输入设备,通过键盘可以将英文字母、数字、标点符号等输入到计算机中,从而向计算机发出命令、输入数据等,通过鼠标可以快速地进行纵横坐标定位,从而简化操作。其中,键盘可以包括机械键盘、塑料薄膜式键盘(Mechanical)、导电橡胶式键盘(Membrane),无接点静电电容键盘(Capacitives)等等,鼠标可以包括滚球鼠标、光电鼠标以及无线鼠标等等。
图18是一种实现方式的云渲染平台的结构框图。云渲染平台可以包括一个或者多个云渲染节点。云渲染节点包括:处理系统910、第一存储器920、智能网卡930以及总线940。FIG. 18 is a structural block diagram of a cloud rendering platform in an implementation manner. The cloud rendering platform may include one or more cloud rendering nodes. The cloud rendering node includes: a
处理器系统910可以是采用异构结构,即,包括一个或者多个通用处理器,以及,一个或者多个特殊处理器,例如,GPU或者AI芯片等等,其中,通用处理器可以是能够处理电子指令的任何类型的设备,包括中央处理器(Central Processing Unit,CPU)、微处理器、微控制器、主处理器、控制器以及专用集成电路(Application Specific IntegratedCircuit,ASIC)等等。通用处理器执行各种类型的数字存储指令,例如存储在第一存储器920中的软件或者固件程序。在一具体的实施例中,通用处理器可以是x86处理器等等。通用处理器通过物理接口将命令发送给第一存储器920,以完成存储相关的任务,例如,通用处理器可以提供的命令包括读取命令、写入命令、复制命令以及擦除命令等等。所述命令可以指定与第一存储器920的特定页和块有关的操作。特殊处理器用于完成图像渲染的复杂运算等等。The
第一存储器920可以包括是随机存取存储器(Random Access Memory,RAM)、快闪存储器(FlashMemory)等,也可以是RAM,只读存储器(Read-OnlyMemory,ROM)或者硬盘(Hard Disk Drive,HDD)或固态硬盘(Solid-StateDrive,SSD)。第一存储器920存储了实现渲染引擎以及渲染应用的程序代码。The
智能网卡930,还被称为网络接口控制器、网络接口卡或者局域网(Local AreaNetwork,LAN)适配器。每块智能网卡930都有一个唯一的MAC地址,是智能网卡930厂家在生产时烧入只读存储芯片中的。智能网卡930包括处理器931、第二存储器932以及收发器933。处理器931与通用处理器相类似,但是,处理器931的性能要求可以低于通用处理器的性能要求。在一具体的实施例中,处理器931可以是ARM处理器等等。第二存储器932也可以是快闪存储器、HDD或者SDD,第二存储器932的存储容量可以小于第一存储器920的存储容量。收发器933可以用于接收和发送报文,并将接收到的报文上传给处理器931进行处理。智能网卡930还可以包括多个端口,端口可以是粗缆接口、细缆接口和双绞线接口三种接口类型中的任意一种或者多种。The
为了简便起见,此处没有对云渲染系统进行详细的介绍,具体请参见图1A-图1B,图2至图4,图5A-图5B,图6,图7A-图7B,图8A-图8B,图9A-图9B,图10A-图10B,图11A-图11B以及相关描述。并且,用户设备可以执行图12以及图13所示的渲染质量调整方法中的用户设备执行的步骤,云渲染平台可以执行图12以及图13所示的渲染质量调整方法中的云渲染平台执行的步骤。此外,图15中的获取模块610以及接收模块620可以由本实施例中的智能网卡930来实现,图15中的渲染引擎630可以由本实施例中的处理器系统910执行第一存储器920中的程序代码来实现。For the sake of brevity, the cloud rendering system is not described in detail here. For details, please refer to Fig. 1A-Fig. 1B, Fig. 2-Fig. 4, Fig. 5A-Fig. 5B, Fig. 6, Fig. 7A-Fig. 7B, Fig. 8A-Fig. 8B, FIGS. 9A-9B, 10A-10B, 11A-11B and related descriptions. Moreover, the user equipment may perform the steps performed by the user equipment in the rendering quality adjustment method shown in FIG. 12 and FIG. 13 , and the cloud rendering platform may perform the steps performed by the cloud rendering platform in the rendering quality adjustment method shown in FIG. 12 and FIG. 13 . step. In addition, the acquiring
上述方案能够在用户设备发送渲染资源调整指令时,云渲染平台根据渲染资源调整指令实时调整计算资源进行计算,从而动态调整渲染质量,适应用户的不同需求。In the above solution, when the user equipment sends the rendering resource adjustment instruction, the cloud rendering platform adjusts the computing resources in real time according to the rendering resource adjustment instruction for calculation, thereby dynamically adjusting the rendering quality and adapting to the different needs of the user.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、存储盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态存储盘Solid State Disk(SSD))等。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented in software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general purpose computer, special purpose computer, computer network, or other programmable device. The computer instructions may be stored in or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server or data center Transmission to another website site, computer, server, or data center by wire (eg, coaxial cable, optical fiber, digital subscriber line) or wireless (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes an integration of one or more available media. The usable media may be magnetic media (eg, floppy disks, storage disks, magnetic tapes), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk (SSD)), among others.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2021/083467 WO2021190651A1 (en) | 2020-03-27 | 2021-03-27 | Rendering quality adjustment method and related device |
Applications Claiming Priority (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2020102315162 | 2020-03-27 | ||
| CN202010231516 | 2020-03-27 | ||
| CN2020103511216 | 2020-04-28 | ||
| CN202010351121 | 2020-04-28 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN113516774A true CN113516774A (en) | 2021-10-19 |
Family
ID=78060329
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010449900.XA Pending CN113516774A (en) | 2020-03-27 | 2020-05-25 | Rendering quality adjustment method and related equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN113516774A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2023160041A1 (en) * | 2022-02-25 | 2023-08-31 | 腾讯科技(深圳)有限公司 | Image rendering method and apparatus, computer device, computer-readable storage medium and computer program product |
| WO2024016679A1 (en) * | 2022-07-22 | 2024-01-25 | 华为云计算技术有限公司 | Image rendering processing method and related device |
| WO2024198456A1 (en) * | 2023-03-24 | 2024-10-03 | 华为云计算技术有限公司 | Cloud rendering method, apparatus, and computing device cluster |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110276946A1 (en) * | 2010-05-07 | 2011-11-10 | Salesforce.Com, Inc. | Visual user interface validator |
| CN105488837A (en) * | 2015-11-24 | 2016-04-13 | 成都赫尔墨斯科技有限公司 | Cloud computing based real-time off-screen rendering method, apparatus and system |
| US20190172178A1 (en) * | 2017-12-05 | 2019-06-06 | Microsoft Technology Licensing, Llc | Lens contribution-based virtual reality display rendering |
| CN110659103A (en) * | 2019-08-14 | 2020-01-07 | 西安万像电子科技有限公司 | Resource allocation method and device |
-
2020
- 2020-05-25 CN CN202010449900.XA patent/CN113516774A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110276946A1 (en) * | 2010-05-07 | 2011-11-10 | Salesforce.Com, Inc. | Visual user interface validator |
| CN105488837A (en) * | 2015-11-24 | 2016-04-13 | 成都赫尔墨斯科技有限公司 | Cloud computing based real-time off-screen rendering method, apparatus and system |
| WO2017088484A1 (en) * | 2015-11-24 | 2017-06-01 | 成都赫尔墨斯科技有限公司 | Cloud computing based real-time off-screen rendering method, apparatus and system |
| US20190172178A1 (en) * | 2017-12-05 | 2019-06-06 | Microsoft Technology Licensing, Llc | Lens contribution-based virtual reality display rendering |
| CN110659103A (en) * | 2019-08-14 | 2020-01-07 | 西安万像电子科技有限公司 | Resource allocation method and device |
Non-Patent Citations (1)
| Title |
|---|
| 彭尉蔚: "基于分布式渲染的光场显示内容快速生成系统研究与实现", 《中国优秀硕士学位论文全文数据库》, no. 08, 15 August 2019 (2019-08-15) * |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2023160041A1 (en) * | 2022-02-25 | 2023-08-31 | 腾讯科技(深圳)有限公司 | Image rendering method and apparatus, computer device, computer-readable storage medium and computer program product |
| WO2024016679A1 (en) * | 2022-07-22 | 2024-01-25 | 华为云计算技术有限公司 | Image rendering processing method and related device |
| WO2024198456A1 (en) * | 2023-03-24 | 2024-10-03 | 华为云计算技术有限公司 | Cloud rendering method, apparatus, and computing device cluster |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2021190651A1 (en) | Rendering quality adjustment method and related device | |
| WO2021164150A1 (en) | Web terminal real-time hybrid rendering method and apparatus in combination with ray tracing, and computer device | |
| CN113516774A (en) | Rendering quality adjustment method and related equipment | |
| CN113628317A (en) | Rendering method, device and system | |
| CN111367780A (en) | A kind of GPU performance testing method, device and computer storage medium | |
| WO2021249358A1 (en) | Rendering method, device and system | |
| CN110930497B (en) | Global illumination intersection acceleration method and device and computer storage medium | |
| US12374033B2 (en) | Rendering method, device, and system | |
| WO2022022729A1 (en) | Rendering control method, device and system | |
| CN116342720A (en) | Image processing method, image rendering method, device, equipment and medium | |
| CN115814407A (en) | Information processing method, information processing apparatus, storage medium, and electronic apparatus | |
| CN118196264A (en) | Virtual scene rendering method and device, storage medium and electronic equipment | |
| CN111275803B (en) | 3D model rendering method, device, equipment and storage medium | |
| US20240378793A1 (en) | Image rendering method and related device | |
| CN108665510A (en) | Rendering method and device of continuous shooting image, storage medium and terminal | |
| CN116740253A (en) | A ray tracing method and electronic device | |
| KR102213727B1 (en) | Graphics processing using multiple primitives | |
| WO2022121653A1 (en) | Transparency determination method and apparatus, electronic device, and storage medium | |
| CN111970559A (en) | Video acquisition method and device, electronic equipment and storage medium | |
| CN117591215A (en) | Method for generating graphical user interface of application and related equipment | |
| CN115120973B (en) | Model rendering method and device, nonvolatile storage medium and terminal equipment | |
| CN116912379A (en) | Scene picture rendering method and device, storage medium and electronic equipment | |
| CN114449355B (en) | Live interaction method, device, equipment and storage medium | |
| CN112967369A (en) | Light ray display method and device | |
| CN114217889A (en) | Display method, apparatus, device and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| TA01 | Transfer of patent application right | ||
| TA01 | Transfer of patent application right |
Effective date of registration: 20220211 Address after: 550025 Huawei cloud data center, jiaoxinggong Road, Qianzhong Avenue, Gui'an New District, Guiyang City, Guizhou Province Applicant after: Huawei Cloud Computing Technologies Co.,Ltd. Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Applicant before: HUAWEI TECHNOLOGIES Co.,Ltd. |
|
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |