While the Predict Engine extension gives access to new kinds of input data such as spectral or measured inputs (see the Matter section for more details), the core definition of the scene remain unchanged and the traditional RGB USD workflow is compatible with both RGB and spectral rendering.
Once the 3D scene is ready, you can render it with Predict Engine directly in the Omniverse viewport. There is no separate window or start button. Open the renderer menu at the top-left of the viewport (by default it shows RTX - Real-Time 2.0) and select Predict Engine. The render starts immediately in the viewport, and the USD stage is sent to Predict Engine automatically.
The menu offers two Predict renderers:
Predict Engine: spectral rendering, for physically accurate light simulation.
Predict RGB Engine: RGB rendering.
To go back to Omniverse's default rendering, select an RTX renderer from the same menu.
The view contains the following buttons :
Path tracer selection : Defines whether the path tracer is RGB or Spectral. NB : the level content must be reloaded on the Predict Engine server when the path tracer mode is changed.
Resolution selection : defines the resolution/ratio of the computed simulation.
Render settings : Predict Engine rendering parameters, in the Render Settings tab under Predict Engine:
Render Canvas (AOV): displayed output. 0 = Color LDR, 1 = Color HDR, 2 = Normal, 3 = Tangent, 4 = Bitangent, 5 = Depth, 6 = Albedo.
Spp: more samples give less noise.
Max Depth: maximum number of light bounces.
Gamma, Tone Mapping Coefficient: post process.
Next Event Estimation: reduces noise.
Oetf Preset: output color encoding. 1 = ACES2065-1, 2 = Adobe RGB, 3 = Adobe Wide Gamut, 4 = HLG, 5 = PQ, 6 = ProPhoto, 7 = Rec.2020, 8 = Rec.709, 9 = sRGB.
Preferences:
Open the preferences window (same as menu "UVR/Preferences"),
The field of view is set by the focal length. For any camera you view through, change it in the Zoom field (in mm) of the viewport's camera toolbar, or pick a lens range from the drop-down. A shorter focal length gives a wider view.
Cameras created in the scene also have Lens settings in the Property panel: Focal Length (same as Zoom) and Horizontal Aperture (sensor width; larger gives a wider view).
Like Omniverse, Predict Engine ignores the Vertical Aperture, so both views match.
Tracing light paths from the camera and sorting rays drastically help to reduce rendering times. Nevertheless, the global illumination process remains a computation-intensive task. Hundreds to thousands of light path samples per pixel (spp) might still be necessary to obtain accurate results.
In the case of Path Tracing (and Monte-Carlo methods in general), insufficient light path samples translate to noise in the final image. Such noise can be removed by generating more samples per pixel, thus increasing the rendering time. This can be observed in the following examples (results obtained using a workstation powered by 3 NVIDIA RTX 2080 graphics cards):
32 spp (computed in less than 1 second)
512 spp (computed in 3 seconds)
131 000 spp (computed in 15 minutes)
The correct amount of path samples required to obtain noise-free images depends on the scene content and, more specifically, on the complexity of the paths that light follows before reaching the camera.
For instance, indoor scenes take longer to render when most light comes from the external environment and must cross windows to lit the objects. In the same vein, caustics effects due to refractions or shiny surface reflections might require more time to render smoothly as they involve two or more bounces between the camera and the light source. This can be observed in the following examples:
32 spp (computed in less than 1 second)
512 spp (computed in 3 seconds)
131 000 spp (computed in 15 minutes)
As can be seen, noise remains visible in the caustics areas at 512 spp (middle image). In contrast, at equivalent spp, the result obtained in the previous example with the textile material is almost noise-free.