Commit 107c206
authored
Port over baseline Fuzzy Metaballs module (#6)
## Summary of Changes
Integrate the original [Fuzzy Metaballs differentiable
renderer](https://github.com/leonidk/fuzzy-metaballs) as well as
[Arijit's run_fmb.py
script](https://github.com/arijit-dasgupta/fuzzy-metaballs/blob/main/run_fmb.py),
add a script for downloading test assets (the cow), and ensure
compatibility with Python 3.12+.
The original pyrender has not been maintained since 3 years ago, and
it's broken for Python 3.12 and above (see
mmatl/pyrender#305). As such, I'm pinning the
dependency to a fork of pyrender found
[here](mmatl/pyrender#305 (comment)).
## Test Plan
You should be able to download the cow data and run fmb with:
```bash
# download the cow data -- this only need to be done once
bash scripts/data/download_cow.sh
pixi run python examples/run_fmb.py
```1 parent b84096b commit 107c206
File tree
9 files changed
+2086
-23
lines changed- examples
- genmetaballs/src/genmetaballs/fmb
- scripts/data
9 files changed
+2086
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
0 commit comments