nvdiffrast

Nvdiffrast is a differentiable rasterizer. It supports differentiation of rendered image w.r.t. arbitrary scene parameters in direct illuminated scenes.

Nvdiffrast provides modular low-level operations for differentiable rasterizing, but does not come with full support for shading. Therefore, we have adopted the structure from Nvdiffmodeling in our connector to handle shading and rendering at a higher level. In most cases, we set a point light to be always collocated to the camera, to ensure the consistency of the rendered image when compared to physics-based renderers.

Supported scene components:

HDRFilm, PerspectiveCamera, Mesh, DiffuseBRDF, MicrofacetBRDF, PointLight

Integrator Configurations

Nvdiffrast connector does not require to set an integrator explicitly.

Render Options

Option

type

Description

npass

int

Number of rendering passes.

light_power

float

Power of the collocated point light. If provided, the connector creates a point light collocated to the camera and sets its power.

scale

float

The scale of the size of the whole scene, render_size = real_size * scale. [1]

Special Features