BachiLi / diffvg

Differentiable Vector Graphics Rasterization
https://people.csail.mit.edu/tzumao/diffvg/
Apache License 2.0
897 stars 152 forks source link

3D SDF primitives #25

Open caseybasichis opened 3 years ago

caseybasichis commented 3 years ago

Is diffvg able to handle 3D?

What would be involved in adapting diffvg for a 3D SDF primitive blend?

The diffvg code seems to make use of SDF for optimizing vector strokes, can the same machinery be used for composing cubes, spheres, pills etc?

flono commented 2 years ago

As I understand it, diffvg is for differentiable vector graphics. There are already differentiable 3D renderers out there, e.g. pytorch3D. These are probably a better fit for the task of rendering 3D Objects.