Skip to main content
Ctrl+K

DRTK

  • Installation
  • Tutorials
  • DRTK API
  • GitHub
  • GitHub
  • Installation
  • Tutorials
  • DRTK API
  • GitHub
  • GitHub

Section Navigation

Main API

  • drtk.transform
  • drtk.rasterize
  • drtk.render
  • drtk.interpolate
  • drtk.edge_grad_estimator
  • drtk.mipmap_grid_sample
  • drtk.grid_scatter
  • drtk.msi

Utils

  • Projection functions
  • Geometry utils
  • Indexing utils
  • DRTK API

DRTK API#

DRTK is a PyTorch library that provides functionality for differentiable rasterization.

The package consists of five main modules:

  • drtk.transform

  • drtk.rasterize

  • drtk.render

  • drtk.interpolate

  • drtk.edge_grad_estimator

Main API

  • drtk.transform
    • transform()
    • transform_with_v_cam()
  • drtk.rasterize
    • rasterize()
    • rasterize_with_depth()
  • drtk.render
    • render()
    • render_ref()
  • drtk.interpolate
    • interpolate()
    • interpolate_ref()
  • drtk.edge_grad_estimator
    • edge_grad_estimator()
    • edge_grad_estimator_ref()
  • drtk.mipmap_grid_sample
    • mipmap_grid_sample()
    • mipmap_grid_sample_ref()
  • drtk.grid_scatter
    • grid_scatter()
    • grid_scatter_ref()
  • drtk.msi
    • msi()

Utils

  • Projection functions
    • project_points()
    • project_points_grad()
  • Geometry utils
    • face_info()
    • vert_binormals()
    • vert_normals()
  • Indexing utils
    • index()

© Copyright 2024 Meta Platforms, Inc.

Created using Sphinx 8.1.3.

Legal

Privacy

Terms

Built with the PyData Sphinx Theme 0.16.1.