Mesh export (#809)

* start of mesh PR

* point cloud export mvp

* start of mesh PR

* point cloud export mvp

* Save out mesh. Poor quality atm

* reorganized mesh algorithms and specified CLI

* CLI reorg

* tsdf algorithm in progress

* debugging

* tsdf functional but camera distortion params not in

* playing with distortion params

* TSDF works but texture looks bad

* added trimesh

* moved to exporter

* removed files

* saving progress

* save texture image

* seems to work w/o barycentric

* barycentric start

* gap between triangles

* blocking out diagonal

* new barcentric and scaling

* meshing working. need to remove extra rows

* fixed triangle packing

* gitignore changes

* removed package

* fix Literal import

* comments

* update .mtl file

* poisson mesh with model output normals & resolved some PR comments on git

* starting docs. breaking up big function. todo: add xatlas

* xatlas and nvdiffrast working

* triangle_id

* progress on expensive texture coordinates method

* pytorch meshing works

* removing nvdiffrast

* remove trimesh

* cleanup

* few changes

* pred normals by default and add minimum additions to viewer

* fix cli in viewer

* add xatlas as dependency

* make point cloud more dense

* reverted viewer changes

* turn off normals by default

* fix docs

* finished todos on github

* remove xatlas

* xatlas

* black

Co-authored-by: Matt Tancik <tancik@berkeley.edu>
This commit is contained in:
Ethan WeberandMatt Tancik authored and GitHub committed 2022-12-02 10:49:19 -08:00
1 parent d9395f2576
commit 1052fccec2
15 files changed
+1526 -166

No files matched your search

+4 -1
View File
@@ -35,10 +35,12 @@ dependencies = [
"opencv-python==4.6.0.66",
"plotly==5.7.0",
"protobuf==3.20.0",
"pymeshlab==2022.2.post2",
"pyngrok==5.1.0",
"python-socketio==5.7.1",
"requests",
"rich==12.5.1",
"scikit-image==0.19.3",
"tensorboard==2.9.0",
"torch==1.12.1",
"torchmetrics[image]>=0.9.3",
@@ -46,7 +48,8 @@ dependencies = [
"torchvision>=0.13.0",
"u-msgpack-python>=2.4.1",
"nuscenes-devkit>=1.1.1",
"wandb>=0.13.3"
"wandb>=0.13.3",
"xatlas"
]
[project.urls]