4
0
mirror of https://github.com/nerfstudio-project/nerfstudio.git synced 2026-11-11 02:24:38 +08:00
Commit Graph

266 Commits

Author SHA1 Message Date
Ethan Weber
9e992b9550 fixing linting 2023-01-30 19:49:17 +00:00
Ethan Weber
844e518aaf moving functions around 2023-01-30 18:21:56 +00:00
Ethan Weber
7caafd6063 deleting files 2023-01-27 23:15:55 +00:00
Ethan Weber
3d645515b8 merged 2023-01-27 23:13:59 +00:00
Ethan Weber
828a4fa532 before merge 2023-01-27 23:05:29 +00:00
Ethan Weber
5608d497ab merge 2023-01-27 22:53:50 +00:00
Ethan Weber
3cfe0d7990 removing comments 2023-01-27 22:53:24 +00:00
Matthew Tancik
b5031dd814
Enable rendering with crop (#1295) 2023-01-26 14:22:43 -08:00
Ethan Weber
ff2ab887c2 benchmarks 2023-01-26 21:59:07 +00:00
cvachha
2e843eb2df
Updated Blender add-on for calculating duration (#1288)
Updated Blender on calculating duration

Updated how the Blender add on calculates duration with frame steps and added the case when frame step size is 0.
2023-01-25 18:05:31 -08:00
Ethan Weber
42d0584d96 fixing up dataparser 2023-01-25 04:03:58 +00:00
Ethan Weber
037bc23492 config 2023-01-25 02:20:34 +00:00
Ethan Weber
3bc2587fb2 benchmark 2023-01-25 01:56:40 +00:00
Ethan Weber
48d0ebd578 near plane 2023-01-24 23:48:10 +00:00
Ethan Weber
fed58df9b9 stump change 2023-01-24 23:43:56 +00:00
ManuConcepBrito
828d6bc893
Depth data loading for Polycam LiDAR data (#1253)
* Add depth data loading for polycam datasets

* misc: missing arguments in process_data_utils.downscale_images

* Move processing to polycam_utils

* delete unused imports

* process_data_utils: patch for frame%05d issue

* accidentally deleted neighbor flag from ffmpeg

* wrong ffmpeg command

* upscale directly

* redundant comment

* remove unused imports

* black formatting
2023-01-24 14:45:13 -08:00
Ethan Weber
ca6c8efbe2 some edits 2023-01-24 09:19:35 +00:00
cvachha
9eb880aa91
Blender addon script and documentation (#1218)
* Blender addon script and documentation

First version of blender addon python script located in scripts/blender and new documentation for the addon. The Blender addon is for importing or exporting a camera path for visual effects and compositing.

* Updated formatting of Blender script

Updated the formatting based on the script tests for the blender addon script.

* Updated Blender addon to fix FOV and alignment

Updated how FOV is calculated for both blender cam to json and json to blender cam. The FOV is calculated based on the aspect ratio, angle of view, and sensor fit and size.

* Updated Blender addon documentation with examples

Updated the Blender add-on documentation with a few example gif composite animations

* Updated Blender addon to match frame rate and fixed formatting

Updated the Blender add-on script and docs to match the Blender frame rate. Also the formatting should be fixed. There are also now error message popups instead of console prints for invalid input in the add-on.

* Updated the blender addon for formatting

Updated pylint formatting and comments
2023-01-19 22:31:07 -08:00
Matthew Tancik
af41819611
Add support for RealityCapture (#1055)
* Add support for RealityCapture

* Fix coordinate bug

* Remove transform

* Update focal lengths

* isort
2023-01-19 20:50:02 -08:00
machenmusik
f350650f1b
create video writer later, to adapt to render image's width and height (fixes #1242) (#1245)
* create video writer later, to adapt to render image's width and height

* fix rendering with multiple output names
2023-01-17 09:40:26 -08:00
Matthew Tancik
5b50740f45
Add cropping options to data processing (#1236) 2023-01-16 15:34:20 -08:00
matsuren
408ab709ec
Fix typo (#1231)
* Fix typo COLAMP->COLMAP

* Fix more typo

Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
2023-01-16 12:12:55 -08:00
Ethan Weber
4acfce84c6 cleanup 2023-01-11 02:19:44 +00:00
Ethan Weber
5cacc91142 benchmark scripts 2023-01-10 23:22:20 +00:00
Ethan Weber
4cad94a5ba organization 2023-01-09 23:19:42 +00:00
Ethan Weber
2f3a7e82c9 nerfacto experiments code 2023-01-09 23:19:05 +00:00
Martin Piala
a5eea5f14d
Camera export (#1191)
* implement the camera exporter

* remove train_dataset from exporter

* fix linter errors

* add docstring

* correct comment

* fix linter errors

* make image_filenames a property of the dataset
2022-12-31 22:38:43 -07:00
Jake Austin
3ffee522e0
TrainerConfig inherit from InstantiateConfig (#1175)
Making TrainerConfig an InstantiateConfig so it can be swapped in and out with different methods. Also made the TrainerConfig a subclass of ExperimentConfig (which was changed from a printableconfig to an instantiateconfig), since we were already instantiating the Trainer class with the ExperimentConfig

Removed the "config" field from the TrainerCallbackAttributes struct to eliminate circular dependencies when types are checked.

Minor scripts and docs changes to accommodate the update to the config struct, meaning the flags that were associated with the TrainerConfig were moved up to the top level of the config.
2022-12-27 18:19:34 -10:00
Brent Yi
5495a8e146
Type and docs fixes (#1170) 2022-12-26 09:04:24 -07:00
Matthew Tancik
4a27e5e929
Fix downscaling and type errors (#1164) 2022-12-23 14:07:07 -07:00
Ethan Weber
8fd7ea13fe working on abllations 2022-12-23 19:31:02 +00:00
machenmusik
8d4a82ef0b
work around mismatch to allow rgb depth side-by-side output (#1156)
* use max resolution when not moving or training

* work around mismatch to allow rgb depth side-by-side output

* Update render.py

Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
2022-12-21 22:13:20 -05:00
machenmusik
0e1ea37308
when camera_type is equirectangular, add spherical metadata to rendered video (#1151)
* when camera_type is equirectangular, add spherical metadata to rendered video

* remove unnecessary CONSOLE.print

* refactor to make pylint happier

* get os.stat size properly; document camera_type argument

* write video on the fly to avoid holding all images in memory

Note: video render width and height were unspecified for spiral trajectory; this uses values for Nerfacto

* fix images output

* doc fix
2022-12-21 00:32:42 -05:00
Ethan Weber
d74a0f6ecd cleanup prints 2022-12-18 21:08:21 +00:00
Ethan Weber
68245153b5 pose and appearance opt working 2022-12-17 01:17:05 +00:00
Ethan Weber
6d0d4cbc34 fix camera pose opt 2022-12-16 22:04:35 +00:00
Ethan Weber
1367779b30 fix wandb and image indexing 2022-12-16 19:46:05 +00:00
Ethan Weber
55f334d33b commands 2022-12-16 19:26:46 +00:00
Ethan Weber
c24ecf5d2a merged main 2022-12-16 18:33:24 +00:00
Ethan Weber
3bf490e845
adding data subset (#1135)
* adding nerfstudio-dataset

* removed file
2022-12-15 17:29:41 -08:00
Ethan Weber
4a85c5a4f7 small update 2022-12-13 21:12:17 +00:00
dozeri83
96f269cc1a
instant-ngp-bounded model (#1116)
* inerted a new model configuration instant-ngp-bounded

* added more remarks and small fixes

* went back to old near plane

* added the oprtion to get a file as well as directory in nerfstudio data parser

* pretify prev commit

* review fixes

* more clear explanation in README.md

* reverted readme changes

* fixed merge bug

* review changes. update config.data docs support for json files inputs

Co-authored-by: dror <you@example.com>
2022-12-13 13:05:48 -08:00
Nikhil Mohan
98f13cbed4
Fix circular imports (#1115)
* wip

* remove bad changes

* update dmeo

* cleanup

* change name

* cleanup
2022-12-13 10:09:31 -08:00
Ethan Weber
069e6f0f66 starting benchmarks 2022-12-08 22:43:43 +00:00
RandomPrototypes
740cdebbb5
WIP : support for hloc toolbox (superpoint, superglue, netvlad,...) (#1026)
* basic support for hloc (includes netvlad, super point, superglue in colmap), just a first test, not ready yet

* add exhaustive match option for hloc

* add command line option to choose the type of feature, matcher,...

* make hloc an optional dependency, update doc, and small bug fixes

* fix missing imports

* fix warnings, pylint,...

* fix overwrite previous commits

* fix import order from isort

* move find_tool_feature_matcher_combination to process_data_utils, add type hints and Args/Returns doc

* error message when no valid combination of sfm tool, feature type, and matcher

Co-authored-by: RandomPrototypes <delmotte_ar@yahoo.fr>
2022-12-03 22:45:48 -08:00
Ethan Weber
3377c5344b
[WIP] Mesh export UI (#1076)
* starting PR

* export mesh ui functional

* better descriptions
2022-12-02 17:51:21 -08:00
Ethan Weber
1052fccec2
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>
2022-12-02 10:49:19 -08:00
Brent Yi
c2ad46d60e
More informative completion install error messages (#1068)
More informative completion install errors
2022-12-01 07:36:41 -08:00
Kevin Chen
87c3ead680
Add Support for Equirectangular Images (#966) 2022-11-28 21:29:02 -08:00
Matthew Tancik
666b43a577
Check is metashape xml is present (#1044) 2022-11-28 16:39:09 -08:00