Real-time non-photorealistic rendering

The plug-in system for game engines facilitates real-time NPR rendering by using a custom renderer and machine learning models to automate the process, overcoming the long processing times of existing solutions and enabling fast, artistic image synthesis.

JP2024540261AActive Publication Date: 2024-10-31DISNEY ENTERPRISES INC
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
JP2024526009
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-10-21
Filing Date
2022-11-07
Publication Date
2024-10-31
Estimated Expiration
2042-11-07

AI Technical Summary

Technical Problem

Existing NPR rendering solutions require long processing times, such as several hours per frame, and are not suitable for real-time generation of non-photorealistic images at high frame rates within a cohesive package.

Method used

A plug-in system for game engines that performs real-time NPR rendering, utilizing a custom NPR renderer to synthesize artistic images in under 60 seconds, incorporating machine learning models to predict operational parameters and automate the process.

Benefits of technology

Enables real-time generation of non-photorealistic images with reduced computation time, allowing for faster delivery and more creative iterations in media production.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024540261000001_ABST
    Figure 2024540261000001_ABST
Patent Text Reader

Abstract

According to one exemplary embodiment, a system includes processing hardware and a system memory storing a non-photorealistic (NPR) renderer. The processing hardware is configured to execute the NPR renderer to receive a digital asset, display a preliminary image corresponding to the digital asset, and receive editing data identifying an NPR effect. The processing hardware is configured to execute software code to generate an NPR image using the preliminary image and the editing data in an integrated rendering and compositing process in real time with respect to receiving the editing data.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] This application claims the benefit of and priority to pending Provisional Patent Application No. 63 / 281,537, filed November 19, 2021, entitled "Real-Time Non-Photorealistic Rendering," which is hereby incorporated by reference in its entirety. [Background technology]

[0002] Game engines are traditionally built on a graphics foundation focused on achieving the highest quality possible photorealistic rendering at high frame rates to enable user interaction. In contrast, non-photorealistic (NPR) rendering refers to a different approach to rendering engineering that does not mimic real-world imagery but instead focuses on creating a specific look that mimics a different format medium, or can direct art toward achieving a never-before-seen aesthetic look or style. However, existing solutions for performing NPR rendering using offline renderers typically require undesirably long rendering times, such as several hours per frame, as well as several rendering passes compiled in compositing software. As a result, there is a need in the art for an NPR rendering solution that enables real-time generation of NPR images at high frame rates within a cohesive package. Summary of the Invention [Problem to be solved by the invention]

[0003] The following description includes specific information regarding the implementation of the present invention. Those skilled in the art will recognize that the present invention may be implemented in ways other than those specifically discussed herein. The drawings and their accompanying detailed description herein are directed to exemplary implementations only. Unless otherwise specified, the same or corresponding elements among the figures are designated by the same or corresponding reference numerals. Furthermore, the drawings and figures herein are generally not to scale and are not intended to correspond to actual relative dimensions.

[0004] As mentioned above, game engines have traditionally been built on a graphics foundation focused on achieving the highest quality photorealistic rendering possible at high frame rates to enable user interaction. Furthermore, as noted above, in contrast, non-photorealistic (NPR) rendering refers to a different approach to rendering engineering, resulting in images that do not mimic real-world imagery but instead focus on creating a certain look that mimics a different format or medium, or that allow artists to direct their art to achieve a previously unseen aesthetic look or style. An example of this would be creating a graphics pipeline that creates a watercolor or comic book look on top of three-dimensional (3D) models and lighting. While graphics packages exist on the market to create these types of looks with traditional rendering processes, no package covers all the elements required to achieve these looks for real-time rendering at high frame rates within a cohesive package. [Means for solving the problem]

[0005] The present application aims to reduce computation time for NPR rendering. The present application discloses customized or partially customized game engines configured to perform real-time NPR rendering, as well as NPR software plug-ins and tooling software that can function as plug-ins to conventional game engines and modify the stock renderer included in the game engine with a custom NPR renderer that enables compositing of artistic images in real time, thereby requiring low overhead for final rendering. The concepts disclosed herein significantly advance existing solutions created for offline renderers that require long rendering times, such as several hours per frame, and several rendering passes compiled in compositing software. Furthermore, in some implementations, the systems and methods disclosed herein can be substantially or fully automated.

[0006] As defined for purposes of this application, the terms "automation," "automated," and "automating" refer to systems and processes that do not require the participation of a human system administrator. In some embodiments, a human editor or artist can review images composited by the automated systems and methods described herein in real time, such as within less than 60 seconds, or even within 10 seconds or less, of entering editorial or artistic input where human involvement is optional. Thus, in some implementations, the methods described herein can be performed under the control of hardware processing components of the disclosed automated systems. [Brief explanation of the drawings]

[0007] [Figure 1] 1 illustrates a conventional pipeline for generating three-dimensional (3D) renderings. [Figure 2] We present an exemplary real-time pipeline for generating non-photorealistic (NPR) images according to one implementation. [Figure 3]1 shows a diagram of an exemplary system for performing real-time NPR rendering, according to one implementation. [Figure 4] 1 shows a flowchart describing an exemplary method for performing real-time NPR rendering according to one implementation. DETAILED DESCRIPTION OF THE INVENTION

[0008] Figure 1 illustrates a conventional pipeline for generating 3D renderings. As shown in Figure 1, conventional pipeline 100 includes a 3D digital content creation package 102, a conventional 3D rendering package 104, multiple rendering passes 106, a compositing package 108, and a final output rendering 110. While the exemplary implementation shown in Figure 1 depicts four rendering passes, it should be noted that a conventional pipeline such as conventional pipeline 100 may include more or fewer than four rendering passes among the multiple rendering passes 106, depending on the creative complexity of the content being generated.

[0009] 1, it is further noted that the multiple rendering passes 106 and compositing package 108 represent post-processing of the output of the conventional 3D rendering package 104. Due to the significant processing resources required to generate those composited renderings using the multiple rendering passes 106, compositing package 108, and improve the performance of the conventional 3D rendering package 104, generating the final output rendering 110 can require multiple hours per image or video frame.

[0010] Referring to Figure 2, Figure 2 illustrates a real-time pipeline 200 according to one implementation of the novel and inventive concepts of the present invention. As shown in Figure 2, the real-time pipeline 200 includes a 3D digital content creation package 202, an enhanced 3D rendering package 220 (hereinafter "NPR renderer 220") that includes a 3D real-time rendering package 224 provided using an NPR software plug-in 250, and a final output rendering 252.

[0011] It should be noted that, in contrast to the conventional pipeline 100, the real-time pipeline 200 advantageously integrates the rendering path 106 and the compositing package 108 as codified instructions executed by the 3D real-time rendering package 224 under the control of the NPR software plug-in 250. That is, the rendering path 106 and the actions performed by the compositing package 108 in the post-processing sequence in the conventional pipeline 100 are advantageously performed in the real-time pipeline 200, not during post-processing, but during rendering by the 3D real-time rendering package 224 and the NPR software plug-in 250. Thus, the real-time pipeline 200 enables content artists and other content creators to create unique styles and "unrealistic" looks in a fraction of the time and with substantially fewer steps than a conventional process would require.

[0012] It is further noted that stock game engines, such as the game engine included in the conventional 3D rendering package 104 of FIG. 1, are configured to create realistic images based on the physics of light transport phenomena. In contrast, in some implementations, the NPR software plug-in 250 can modify the capabilities of the stock game engine to provide a 3D real-time rendering package 224 that can generate "unrealistic" images with artistic embellishments and modifications in the form of NPR effects. Alternatively, in some implementations, it may be advantageous or desirable to use the NPR software plug-in 250 in a hybrid configuration with a game engine whose source code has been modified to perform some NPR rendering functions, such as custom shading.

[0013] FIG. 3 shows a diagram of an exemplary system 300 for performing real-time NPR rendering, according to one implementation. As shown in FIG. 3, the system 300 includes a computing platform 332 having processing hardware 334, a system memory 336 implemented as a computer-readable non-transitory storage medium, and may optionally include a digital asset database 327, a display 362, and an input device 363. As further shown in FIG. 3, the system memory 336 stores a 3D digital content creation package 302 and an enhanced 3D rendering package 320 (hereinafter referred to as "NPR renderer 320"). The NPR renderer 320 includes the 3D real-time rendering package 224, in the form of a game engine (hereinafter referred to as "game engine 324") in FIG. 2, that provides a graphical user interface (GUI) 326, and an NPR software plug-in 350 configured to function as a plug-in to the game engine 324, modify the game engine 324, and modify the GUI 326 to enable control of adjustable parameters of the NPR renderer 320. Note that in some implementations, game engine 324 may be a conventional game engine such as that included in conventional 3D rendering package 104 of FIG. 1. However, in those implementations, the performance of game engine 324 is modified by an NPR software plug-in 350 that is configured to modify the stock rendering engine included in game engine 324 with a custom rendering engine to provide NPR effects. GUI 326 may include the GUI provided by the stock game engine 324, but further includes editing tools and additional interface panes added by NPR software plug-in 350 to allow content creators to manipulate and define the look in real time in the enhanced 3D rendering package 320 without having to render multiple passes and adjust variables in compositing software.However, in some implementations, it may be advantageous or desirable to use the NPR software plug-in 350 in a hybrid configuration with a game engine 324 whose source code has been modified to perform some NPR rendering functions, such as custom shading. That is, in some implementations, the NPR renderer 320 may include the game engine 324 in the form of a customized game engine whose source code includes some instructions for at least one of rendering and compositing the NPR images 352, while in other implementations, the NPR software plug-in 350 may include all instructions for rendering and compositing the NPR images 352.

[0014] In addition to the features described above, in some implementations, the NPR renderer 320 may further include one or more machine learning (ML) models 328 (hereinafter, "ML models 328") configured to predict appropriate parametric settings for the NPR renderer 320 and further improve the performance of the NPR renderer 320 over time. As defined herein, the phrase "machine learning model" or "ML model" may refer to a mathematical model for making future predictions based on patterns learned from samples of data, or "training data." Various learning algorithms can be used to map correlations between input data and output data. These correlations form a mathematical model that can be used to make future predictions regarding new input data. Such predictive models may include one or more logistic regression models, Bayesian models, or neural networks (NNs). Furthermore, a "deep neural network" in the context of deep learning may refer to an NN that utilizes multiple hidden layers between the input and output layers, which may enable learning based on features not explicitly defined in the raw data. As used herein, features identified as NNs refer to deep neural networks. In various implementations, NNs can be trained as classifiers and can be utilized to perform image processing, audio processing, or natural language processing.

[0015] 3, system 300 is implemented within a use environment that includes a communications network 338, a user system 340 including a display 342 and input devices 343, a user 344 utilizing user system 340, and a network communications link 348 that interactively connects user system 340 and system 300 via communications network 338. Also shown in FIG. 3 is content creation data 330 that includes or identifies digital assets 331, composite editing data 332 (hereinafter "editing data 332"), and NPR images 352 generated by system 300 as a final output rendering based on editing data 332 and digital assets 331.

[0016] System 300 is configured to implement real-time pipeline 200 as shown in Figure 2. Accordingly, 3D digital content creation package 302, NPR renderer 320, game engine 324, NPR software plug-in 350, ML model 328, and NPR image 352 generally correspond to 3D digital content creation package 202, NPR renderer 220, 3D real-time rendering package 224, NPR software plug-in 250, and final output render 252, respectively, in Figure 2. Accordingly, 3D content creation package 202, NPR renderer 220, 3D real-time rendering package 224, NPR software plug-in 250, and final output render 252 can share any of the characteristics attributed to the respective 3D digital content creation package 302, NPR renderer 320, game engine 324, NPR software plug-in 350, and NPR image 352 in accordance with the present invention, and vice versa.

[0017] As mentioned above, in some implementations, game engine 324 may be a conventional game engine such as that included in conventional 3D rendering package 104 of FIG. 1, but the performance of game engine 324 is modified by NPR software plug-in 350, which is configured to modify the stock rendering engine included in game engine 324 with a custom rendering engine to provide NPR effects. GUI 326 may include the GUI provided by stock game engine 324, but further includes editing tools and additional interface panes added by NPR software plug-in 350 to allow content creators to manipulate and define the look in real time in enhanced 3D rendering package 320 without having to render multiple passes and adjust variables in compositing software.

[0018] Alternatively, and as mentioned above, in some implementations it may be advantageous or desirable to use the NPR software plug-in 350 in a hybrid configuration with a game engine 324 whose source code has been modified to perform some NPR rendering functions, such as custom shading. That is, in some implementations, the NPR renderer 320 may include the game engine 324 in the form of a customized game engine having source code that includes some instructions for at least one of rendering and compositing NPR images 352, while in other implementations the NPR software plug-in 350 may include all instructions for rendering and compositing NPR images 352. However, both hybrid implementations and the NPR software plug-in advantageously save substantial time during the finalization of real-time animation and virtual generation projects, allowing for faster delivery and more creative iteration, as well as enabling future use cases in interactive media.

[0019] 2 and 3 in combination, with respect to the NPR image 352 generated as the final output rendering 252 of the real-time pipeline 200 implemented by the system 300, it should be noted that the NPR image 352 can correspond to a variety of different types of content. Examples of the type of content NPR image 352 includes audio-video content having audio and video components, or video without accompanying audio. Additionally or alternatively, in some implementations, the type of content included in the NPR image 352 may be or include digital representations of people, fictional characters, locations, objects, and identifiers such as brands and logos that make virtual reality (VR), augmented reality (AR), or mixed reality (MR) environments popular. Such content can depict virtual worlds that any number of users can experience synchronously and persistently, while providing continuity of data such as personal identity, user history, entitlements, possessions, and payments. Furthermore, in some implementations, the content included in the NPR image 352 can be a hybrid of traditional audio-video and fully immersive VR / AR / MR experiences, such as interactive video.

[0020] Regarding the NPR Software Plug-in 250 / 350, it is configured to provide a robust custom stylized shader model that can be incorporated into the game engine 324 and exposes control to artists in a user-friendly manner via a customized GUI 326, allowing them to adjust various elements of predefined looks to achieve multiple styles and add either temporary graphic overlays or final frame graphic overlays. The NPR Software Plug-in 250 / 350 can be configured to provide three main features, including custom diffuse wrapping using a bidirectional reflectance distribution function (BDRF), texture decomposition for shadow and specular edges, and object edge and camera view-based NPR effects.

[0021] The Custom Diffuse Wrap feature can include a custom shading model, which itself may include a diffuse reflectance model based on Kubelka-Munk theory. For example, it can manipulate how light affects and interacts with surfaces of various objects in the frame and how the objects are rendered on the display. The custom shading model provides artistic control via the GUI 326, allowing you to change the hardness of shadow and lighting termination lines, adjust where they fall, and provide a nearly matte appearance with a simplified reflectance scale. This feature also provides post-process stacking integral exposure parameters that allow real-time frame-by-frame adjustments using the GUI 326 after the shading and lighting have been rendered (e.g., chromatic aberration, bloom, etc.), as well as artistic manipulation of the final image (e.g., texture overlays, style density, pigment darkening / bleeding, etc.).

[0022] The texture decomposition for shadow edges and specular edges feature allows for the application of different textures to areas bordering the end line or hitting specific objects in shadows or their lack depending on the light. This feature may be tunable to provide this ability to control the hardness of shadow or specular edge transitions. Additionally, this feature provides the ability to decompose or modify shadow or specular edge transitions with texture maps.

[0023] The object edge and camera view-based NPR effect feature can provide view-based object contours whose color is based on the object's albedo but is affected by scene lighting (e.g., using scene color). Additionally, this feature provides art-specific control of object interior and exterior contours (e.g., adjusting one or more of line thickness, line presence, line taper, adding texture breakdown / variation, color override, and coloring), and may include stylized bleed effects. For example, custom volumetric colorizers (i.e., surface and volume) may be used for localized coloring of two-dimensional (2D) or 3D regions in 3D space via viewports provided by the GUI 326 and using in-engine tooling. Alternatively, or in addition, precision grease pens for drawovers, 2D FX, and smear-frame motion blur allow artists to draw 2D lines in 3D space for FX, animation, and note-taking. Vector-driven lines can be inserted into an image via the GUI 326 and locked to 3D elements to provide one or more 2D animations within a 3D scene.

[0024] With respect to the depiction of system 300 shown in FIG. 3, the 3D digital content creation package 302, NPR renderer 320, and NPR image 352 are depicted as being stored within system memory 336 for conceptual clarity, but more generally, it should be noted that system memory 336 may take the form of any computer-readable non-transitory storage medium. As used herein, the phrase "computer-readable non-transitory storage medium" refers to any medium, excluding carrier waves or other transitory signals, that provide instructions to a computing platform's processing hardware, such as processing hardware 334 of computing platform 332. Accordingly, computer-readable non-transitory storage media can correspond to various types of media, such as volatile and non-volatile media. Volatile media can include dynamic memory, such as dynamic random access memory (dynamic RAM), while non-volatile memory can include optical, magnetic, or electrostatic storage devices. Common forms of computer-readable non-transitory storage media include, for example, optical disks, RAM, programmable read-only memory (PROM), erasable PROM (EPROM), and flash memory.

[0025] It should be further noted that FIG. 3 depicts the 3D digital content creation package 302, the NPR renderer 320, and the NPR images 352 as being co-located with one another within the system memory 336, a representation provided solely as an aid for conceptual clarity. More generally, the system 300 may include one or more computing platforms, such as, for example, computer servers, which may be co-located, or may form an interactively linked but distributed system, such as, for example, a cloud-based system. As a result, the processing hardware 334 and the system memory 336 may correspond to distributed processor and memory resources within the system 300. Accordingly, it should be understood that the 3D digital content creation package 302, the NPR renderer 320, and the NPR images 352 may be stored remotely from one another within the distributed memory resources of the system 300.

[0026] The processing hardware 334 may include multiple hardware processing units, such as, for example, one or more central processing units, one or more graphics processing units, one or more tensor processing units, one or more field programmable gate arrays (FPGAs), and an application programming interface (API) server. By way of definition, as used herein, the terms “central processing unit” (CPU), “graphics processing unit” (GPU), and “tensor processing unit” (TPU) have their customary meanings in the art. That is, a CPU includes an arithmetic logic unit (ALU) for performing arithmetic and logical operations for the computing platform 332 and a control unit (CU) for retrieving programs such as the 3D digital content creation package 302, game engine 324, NPR software plug-ins 350, and ML models 328 from system memory 336, while a GPU may be implemented to reduce the processing overhead of the CPU by performing computationally intensive graphics or other processing tasks. A TPU is an application-specific integrated circuit (ASIC) specifically configured for artificial intelligence (AI) applications such as machine learning modeling.

[0027] In some implementations, computing platform 332 may correspond to one or more web servers accessible over a packet-switched network such as the Internet. Alternatively, computing platform 332 may correspond to one or more computer servers supporting a private wide area network (WAN), a local area network (LAN), or included in other types of limited distribution or private networks. However, in some implementations, system 300 may be implemented virtually, such as in a data center. For example, in some implementations, system 300 may be implemented in software or as a virtual machine. Furthermore, in some implementations, communication network 338 may be a high-speed network suitable for high-performance computing (HPC), such as a 10 GigE network or an InfiniBand network.

[0028] While user system 340 is depicted in FIG. 3 as a desktop computer, this representation is provided merely as an example. More generally, user system 340 can be any suitable mobile or stationary computing device or system that provides a user interface, supports connection to communications network 338, and implements data processing capabilities sufficient to implement the functionality attributed to user system 340 herein. For example, in other embodiments, user system 340 can take the form of, for example, a laptop computer, a tablet computer, or a smartphone. Furthermore, in some implementations, user system 340 can be a "dumb terminal" peripheral workstation of system 300.

[0029] Note that in various embodiments, the NPR image 352 generated using the enhanced 3D rendering package 320 may be stored in system memory 336, copied to non-volatile storage, or both. Alternatively, or in addition, as shown in FIGURE 3, in some embodiments, the NPR image 352 may be displayed on a display 362 of the system 300 or transmitted to a user system 340 including a display 342, for example, by being transferred via a network communications link 348 of the communications network 338.

[0030] With respect to display 342 of user system 340, display 342 may be physically integrated with user system 340 or communicatively coupled to, but physically separate from, user system 340. For example, if user system 340 is implemented as a smartphone, laptop computer, or tablet computer, display 342 is typically integrated with user system 340. Conversely, if user system 340 is implemented as a desktop computer, display 342 may take the form of a monitor separate from user system 340 in the form of a computer tower. Note that in implementations in which user system 340 is a "dumb terminal" peripheral workstation of system 300, user system 340 and display 342 may be controlled by processing hardware 334 of system 300. Additionally, the display 342 of the user system 340, as well as the display 362 of the system 300, may be implemented as a liquid crystal display (LCD), a light emitting diode display (LED), an organic light emitting diode display (OLED), a quantum dot display (QD), or any other suitable display screen that provides physical conversion of signals to light.

[0031] Also, it should be noted that while input device 343 of user system 340 is depicted as a keyboard, that representation is merely exemplary. More generally, input device 343, like input device 363 of system 300, can take the form of a touchscreen, a touchscreen in combination with a pen or stylus, a trackpad, a mouse, or a voice command input (e.g., a microphone), to name a few.

[0032] The functionality of system 300 implementing real-time pipeline 200 of Figures 2 and 3 is further described with reference to Figure 4, which shows a flowchart 470 illustrating an exemplary method for performing real-time NPR rendering, according to one embodiment. Note that certain details and features regarding the operations described in Figure 4 have been omitted from flowchart 470 so as not to obscure the discussion of inventive features herein.

[0033] Referring to FIG. 4 in combination with FIG. 3, a flowchart 470 includes receiving a digital asset 331 (act 471). The digital asset 331 may be, for example, a digital image such as a photograph or a frame of video. Alternatively, the digital asset 331 may be a video sequence, or a 2D or 3D digital model. In some implementations, the digital asset 331 may be received in act 471 as part of the content creation data 330. In those implementations, the digital asset 331 may be extracted from the content creation data 331 by the 3D digital content creation package 302 and forwarded by the 3D digital content creation package 302 to the NPR renderer 320. Alternatively, in some implementations, the content creation data 330 may simply identify the digital asset 331. In those implementations, the 3D digital content creation package 302 may retrieve the digital asset 331 from the digital asset database 337 in response to receiving the content creation data 330 and provide the digital asset as input to the NPR renderer 320. The digital asset 331 may be received at act 471 by the NPR renderer 320 executed by the processing hardware 334 of the system 300. For example, the NPR software plug-in 350 may be executed by the processing hardware 334 and control the game engine 324 to receive the digital asset 331 at act 471.

[0034] Flowchart 470 further includes displaying (act 472) a preliminary image corresponding to digital asset 331. Act 472 may be performed by NPR renderer 320 and executed by processing hardware 334 of system 300 to display the preliminary image via display 362 of system 300 or display 342 of user system 340 using a GUI.

[0035] Flowchart 470 further includes receiving editing data 332 identifying an NPR effect (act 473). Editing data 332 may be received at act 473 by NPR renderer 320 executed by processing hardware 334 of system 300. For example, as shown in FIG. 3, editing data 332 may be received from user system 340 via GUI 326 in response to input provided to user system 340 by user 344 utilizing input device 343. While flowchart 470 describes receiving editing data 332 identifying a "single" NPR effect, it should be noted that "single" is for conceptual clarity and that in some implementations, editing data 332 may identify more than a single NPR effect (i.e., two or more NPR effects).

[0036] For example, NPR effects identified by editing data 332 may include how light affects and interacts with surfaces on various objects in a video frame and how the objects are rendered on a display. Additionally, NPR effects identified by editing data 332 may include artistic controls to change the hardness of shadows and lighting termination lines and adjust where they fall. Additionally or alternatively, NPR effects identified by editing data 332 may include descriptions of how object outlines should appear on a display. In some use cases, NPR effects identified by editing data 332 may include lighting and rendering systems as well as object stylization (e.g., scene depth-driven operations, object proximity and overlap operations).

[0037] In some implementations, the NPR effects identified by the editing data 332 may invoke the application of various textures, or lack thereof, to areas that strike an object, border the end line, and become shadowed depending on the light. According to some embodiments, the NPR effects identified by the editing data 332 may include textures applied to various shadings of an object to manipulate the appearance of light-blue bleeding or halftone patterning seen in comic books. In some implementations, the NPR effects identified by the editing data 332 may include adjustments to real-time frames after shading and lighting have been rendered (e.g., chromatic aberration, bloom, etc.) and may also enable artistic manipulation of the final image (e.g., texture overlays, style density, pigment darkening / bleeding, etc.). In some implementations, the NPR effects identified by the editing data 332 may include localized coloring of 2D or 3D regions in 3D space via a viewport provided by the GUI 326 and the use of in-engine tooling. Additionally, in some embodiments, NPR effects identified by editing data 332 can be created using deep grease pens for drawovers, 2D FX, and smear frame motion blur, resulting in 2D lines in 3D space for FX, animation, and note-taking. Vector driven lines can be inserted into the image via GUI 326 and locked to 3D elements to provide one or more 2D animations within a 3D scene.

[0038] Flowchart 470 further includes generating NPR image 352 in real time with respect to receiving edit data 332 in an integrated rendering and compositing process using the preliminary image displayed in act 472 and the edit data 332 received in act 473 (act 474). NPR image 352 may be generated in act 474 by NPR renderer 320 executed by processing hardware 334 of system 300. For example, NPR software plug-in 350 may be executed by processing hardware 334 of system 300 and control game engine 324 to generate NPR image 352 in an integrated rendering and compositing process using the preliminary image displayed in act 472 and the edit data 332 received in act 473.

[0039] With respect to generating NPR image 352 in real time with respect to receiving edit data 332, as discussed above, in some embodiments, NPR renderer 320 may be configured to generate NPR image 352 within less than 60 seconds of receiving edit data 332 in operation 473. As further discussed above, in some embodiments, NPR renderer 320 may be configured to generate NPR image 352 within 10 seconds or less of receiving edit data 332. For example, in some embodiments, NPR renderer 320 may be capable of generating an NPR image corresponding to NPR image 352 at a frame rate of up to 24 frames per second.

[0040] In some embodiments, the rendering performed as part of act 474 may use a diffuse reflectance model based on Kubelka-Munk theory. Additionally or alternatively, the compositing performed as part of act 474 may use a nonlinear smoothing filter, such as, for example, one of the Kuwahara filters or modified Kuwahara filters.

[0041] As described above with reference to FIG. 3 , in some embodiments, the NPR renderer 320 may further comprise one or more machine learning models 328 trained to predict, based on the editing data 332 and the digital asset 331, one or more operating parameters for use by the NPR renderer 320 when performing rendering and compositing in action 474 to generate the NPR image 352. The inclusion and use of one or more machine learning models 328 as features of the NPR renderer 320 may be particularly important in use cases where the digital asset 331 is a complex digital asset, such as a high mesh element count 3D digital model, or where several NPR effects, or NPR effects that interact with each other, are identified by the editing data 332. In these use cases, the number of possible arrangements for the operating parameters of the NPR renderer 320 may far exceed the capabilities of the human mind, or even a typical computer processor, to effectively evaluate. In these implementations, the NPR renderer 320 may rely on the performance of one or more predictive machine learning models 328 to achieve performance improvements, including the real-time NPR rendering described herein.

[0042] With respect to the method outlined by flowchart 470, it should be noted that in some implementations, operations 471, 472, 473, and 474 may be performed in an automated process from which human participation may be omitted.

[0043] Accordingly, the present application discloses systems and methods for performing real-time NPR rendering that reduce computational time for NPR rendering. As described above, in some embodiments, the present real-time NPR rendering solution provides an NPR software plug-in that can function as a plug-in to a conventional game engine and modifies the stock renderer included in the game engine with a custom NPR renderer that enables compositing of artistic images in real time, thereby requiring low overhead for the final rendering. In addition, the custom NPR renderer disclosed herein advantageously provides flexibility to achieve physically based or artistically oriented stylized aesthetic looks outside the scope of those previously developed. As a result, the concepts disclosed herein advance the state of the art significantly beyond existing solutions created for offline renderers that require long rendering times, such as several hours per frame, as well as several render passes compiled in compositing software.

[0044] It is apparent from the foregoing description that various techniques may be used to implement the concepts described herein without departing from the scope of those concepts. Moreover, while the concepts have been specifically described with reference to particular implementations, those skilled in the art will recognize that changes can be made in form and detail without departing from the scope of those concepts. As such, the described implementations are to be considered in all respects as illustrative and not restrictive. Also, the present application is not limited to the particular implementations described herein, but it will be understood that many rearrangements, modifications, and substitutions are possible without departing from the scope of the invention.

Claims

1. 1. A system comprising: processing hardware and a system memory storing a non-photorealistic (NPR) renderer, the system comprising: The processing hardware includes: Receive digital assets; displaying a preliminary image corresponding to the digital asset; receiving editing data identifying an NPR effect; generating an NPR image using the preliminary image and the editing data in an integrated rendering and compositing process in real time with respect to receiving the editing data; A system configured to execute the NPR renderer.

2. The system of claim 1 , wherein the NPR renderer comprises a game engine and an NPR software plug-in that includes instructions configured to modify the capabilities of the game engine to render and composite the NPR image.

3. The system of claim 2 , wherein the game engine comprises a customized game engine having source code including a number of instructions for at least one of rendering or compositing the NPR image.

4. The system of claim 2 , wherein the NPR software plug-in contains all the instructions for rendering and compositing the NPR image.

5. The system of claim 1 , wherein the integrated rendering and compositing process uses a Kubelka-Munk theory based diffuse reflectance model for rendering.

6. The system of claim 1 , wherein the integrated rendering and compositing process uses a non-linear smoothing filter for compositing.

7. The system of claim 6 , wherein the nonlinear smoothing filter is one of a Kuwahara filter or a modified Kuwahara filter.

8. The system of claim 1 , wherein the NPR renderer is configured to generate the NPR image within less than 60 seconds of receiving the edit data.

9. 2. The system of claim 1, wherein the NPR renderer further comprises at least one machine learning model trained to predict one or more operational parameters for use by the NPR renderer when rendering and compositing the NPR image based on the editing data and the digital assets.

10. 1. A method for use by a system including processing hardware and system memory storing a non-photorealistic (NPR) renderer, the method comprising: receiving, by the NPR renderer executed by the processing hardware, a digital asset; displaying, by the NPR renderer executed by the processing hardware, a preliminary image corresponding to the digital asset; receiving editing data identifying an NPR effect; and generating an NPR image by the NPR renderer executed by the processing hardware using the preliminary image and the editing data in an integrated rendering and compositing process in real time with respect to receiving the editing data.

11. The method of claim 10 , wherein the NPR renderer comprises a game engine and an NPR software plug-in that includes instructions configured to modify the capabilities of the game engine to render and composite the NPR image.

12. The method of claim 11 , wherein the game engine comprises a customized game engine having source code including any instructions for at least one of rendering or compositing the NPR image.

13. The method of claim 11 , wherein the NPR software plug-in contains all the instructions for rendering and compositing the NPR image.

14. The method of claim 10, wherein the integrated rendering and compositing process uses a Kubelka-Munk theory based diffuse reflectance model for rendering.

15. The method of claim 10 , wherein the integrated rendering and compositing process uses a non-linear smoothing filter for compositing.

16. The method of claim 15 , wherein the nonlinear smoothing filter is one of a Kuwahara filter or a modified Kuwahara filter.

17. The method of claim 10 , wherein the NPR renderer is configured to generate the NPR image within less than 60 seconds of receiving the edit data.

18. 11. The method of claim 10, wherein the NPR renderer further comprises at least one machine learning model trained to predict one or more operational parameters for the NPR renderer to use when rendering and compositing the NPR image based on the editing data and the digital assets.

19. A computer-readable, non-transitory storage medium having stored thereon a non-photorealistic (NPR) software plug-in that, when executed by processing hardware, produces steps of a method, the method comprising: Controlling a game engine to receive the digital assets. Displaying a preliminary image corresponding to the digital asset. receiving editing data identifying an NPR effect; and controlling the game engine to generate an NPR image in an integrated rendering and compositing process in real time with respect to receiving the editing data using the preliminary image and editing data.

20. 20. The computer-readable non-transitory storage medium of claim 19, wherein the NPR software plug-in is configured to control the game engine to generate the NPR image within less than 60 seconds of receiving the edit data.

Citation Information

Patent Citations

  • Stylized rendering method and device, readable storage medium and electronic equipment

    CN113240783A

  • Methods and systems for capturing and representing 3d geometry, color and shading of facial expressions

    JP2002517859A

  • Image generation information, information storage medium, and image generating device

    JP2004110598A

  • Color image reproduction on an absorbent substrate using color blending techniques

    JP2005501454A

  • Method and program for generating oil painting tone image

    JP2010081350A