Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 804 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 804 Bytes

DiffRast.jl

A differentiable rasterizer

Examples

  1. Render primitive at random pose and save the results.
julia --threads=auto --project=. examples/primitive.jl
Antialiased Render UV Triangle ID
image image image image
  1. Learn vertex positions and colors of a randomly initialized cube.
julia --threads=auto --project=. examples/cube.jl
cube.mp4

Notes

  • Julia 1.8+ is needed.
  • Supports only instance mode for now.
  • Batch matrix multiplication is done using NNlib.⊠ operator, for AMDGPU we'd need to add that. rocBLAS should have the necessary stuff.