#graphics-rendering #ray-tracing #gradient #sdf #sdf-rendering

bin+lib mesh_rasterization

A collection of algorithms for numerical analysis

1 unstable release

Uses new Rust 2024

0.1.0 Apr 22, 2025

#868 in Math

Download history 62/week @ 2025-04-16 46/week @ 2025-04-23

108 downloads per month

Apache-2.0

42KB
1K SLoC

Mesh Rasterization

Algorithm using a modification of Hongkai Zhao's fast sweep algorithm to generate a grid approsimation of an SDF from a mesh.

To run:

cargo run -- --input "path/to/obj" --out "output/path" --dx <floating point value>

Use --help for details.

Dependencies

~5.5MB
~107K SLoC