Skip to content

This is a neural network approximating the signed distance functions of open surfaces.

License

Notifications You must be signed in to change notification settings

mintpancake/open-surface-sdf

Repository files navigation

open-surface-sdf

Intro

Open surfaces reconstructed from neural implicit truncated signed distance functions

TODO:

  1. Chamfer distance

  2. Sampling for visualization

  3. Marching cube for visualization

[02/09/2021 Update] Fast computation of the SDF of a polygonal mesh

  1. We use the mesh data structure provided by trimesh for processing the mesh data. To install trimesh, please install trimesh as well as its dependencies using the following two cmds.

conda install -c conda-forge trimesh

and

conda install -c conda-forge scikit-image shapely rtree pyembree

  1. There are some mesh models for your test. All models were retrieved from common-3d-test-models. Please follow the licenses when you are using the models.

  2. Use train.py --cfg config_3d.json to train the model for 3d shapes

Updated on 31/07/2021

File dataset.py was added to show you how you can write a customized dataset. File network.py was added to show how a 8-layer MLP can be made. (It has no dropout or other weight initialization/normalization) File geometry.py was added to re-organize the codes; geometry related functions and classes are moved to this package/file File basics.py was modified to use the newly added files.

Init

FIle basics.py is a piece of code that you can play with. It is adapted from this repo: https://github.com/Oktosha/DeepSDF-explained

Note that "basics.py" is not the re-implementation of DeepSDF (https://github.com/facebookresearch/DeepSDF) but more similar to the paper (https://arxiv.org/abs/2009.09808) in the sense that the network is trained to overfit a single shape (but 2D in our case).

About

This is a neural network approximating the signed distance functions of open surfaces.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages