sdf
sdf copied to clipboard
Simple SDF mesh generation in Python
I ran through the install instructions under the README, but had some issues specifically with the OpenVDB setup/install. Easily worked around, but figured I'd drop what I did under an...
``` @sdf3 def custom_shape(): @cuda.jit(nopython=True) def f(p): distances = np.zeros(len(p), dtype=np.float32) for i in range(len(p)): x, y, z = p[i][0], p[i][1], p[i][2] distances[i] = real_sdf_func(x, y, z) return distances return...
[SD5 addon: CSG & SDF modeling using libfive](https://blenderartists.org/t/sd5-addon-csg-sdf-modeling-using-libfive/1561003/7) libfive is fast .