Commit Graph
34 Commits
Author SHA1 Message Date
Justin Kerr 332f280023 bugfixes, param tweaks 2023-10-23 09:35:08 -07:00
Justin Kerr ded302595b Merge branch 'justin/multiclient-bug' into gaussian-splatting 2023-10-20 14:37:37 -07:00
Justin Kerr b148e2eb56 static rendering never triggered 2023-10-20 14:13:04 -07:00
Justin Kerr d1d75846f6 merge 2023-10-20 09:59:56 -07:00
Justin Kerr 7480242e71 Merge branch 'main' into gaussian-splatting 2023-10-19 11:11:35 -07:00
968176edb8 Support multiclient in viewer_beta with separate render threads for each client (#2519)
* Initial multiclient, jittery screen bc fighting between clients

* Fix multiclient jitter with separate render threads for each client

* Handle client disconnect

* Fix viewer.init_scene and viewer_elements.get_camera for multiclient

---------

Co-authored-by: Justin Kerr <justin.g.kerr@gmail.com>
Co-authored-by: Brent Yi <yibrenth@gmail.com>
2023-10-19 10:25:44 -07:00
Justin Kerr bb7c7f9a94 quality improvements, param changes, camera optimization support, misc updates 2023-10-18 09:33:27 -07:00
Cyrus VachhaandBrent Yi 8e58021a47 Add camera_type dropdown in new viewer (#2525)
* Add camera_type dropdown in new viewer

Added a gui dropdown menu for selecting the camera type. Currently, the render view doesn't update to preview the equirectangular or fisheye render.

* Updating the image url of nerfstudio logo images for the viewer

Changing the image urls to restore the nerfstudio logo in the viewer

---------

Co-authored-by: Brent Yi <yibrenth@gmail.com>
2023-10-14 21:46:53 -07:00
Justin Kerr 40c05be7a6 fix undistort intrinsics in datamanager 2023-10-14 13:29:49 -07:00
Brent Yi d3934737a1 Upgrade pyright (#2526)
* Upgrade pyright

* Resolve pyright errors

* Suppress trimesh error

* Run ruff
2023-10-14 13:00:17 +08:00
Justin Kerr f4cc901e08 lint 2023-10-13 00:22:27 -07:00
Justin Kerr 6e20b7b418 add depth composite, really slow streaming though 2023-10-12 18:36:59 -07:00
Justin Kerr cfd41a836e merge 2023-10-12 18:22:45 -07:00
Justin Kerr c113f29320 param tweaks, dont generate raybundle in viewer 2023-10-12 00:57:39 -07:00
Justin Kerr 8e2a0651d0 Fix jitter viewer (#2505) 2023-10-10 17:49:52 -07:00
Justin Kerr 90957bcdfb cleanup 2023-10-10 17:22:42 -07:00
Justin Kerr 1b85fb528b patch for mkdirs on camera path json filepath (#2502)
fix camera path json mkdir in viewer beta
2023-10-10 13:09:09 -07:00
Justin Kerr 17e95e1ba2 more bugfix, number of gaussians doesnt go crazy anymore 2023-10-10 10:29:44 -07:00
Justin Kerr 2ee7e0fcf0 nsamps option for duplicating, cropping, and depth rendering 2023-10-03 16:18:02 -07:00
Justin Kerr b350a68ff4 integrate render pipeline (WIP), fix ssim loss 2023-09-30 11:01:45 -07:00
Justin Kerr c0d5e19451 inhouse impl start 2023-09-26 16:26:05 -07:00
Chung Min KimandJustin Kerr 4cdeaa6eec Track all viser GUI folders to avoid folder duplicates (viewer-beta) (#2466)
* Track all viser GUI folders to avoid folder duplicates

* lint

---------

Co-authored-by: Justin Kerr <justin.g.kerr@gmail.com>
2023-09-25 13:14:51 -07:00
Justin Kerr 3c40314b62 merge main 2023-09-22 16:29:03 -07:00
Justin Kerr e0d8f04267 Render oriented crops in viewer beta (#2447)
* add obb to the rendering pipeline

* useless line

* lint

* remove todo

* pyright

* more pyright
2023-09-19 16:48:54 -07:00
Brent YiandJustin Kerr 3e1d4af821 Add share link support for beta viewer (#2445)
* Add share link support for beta viewer

* More consistent CLI experience

* fix viewer jitter by adding atomic update on camera pose

* change to make_share_url

* fix

* remove incorrect assert

---------

Co-authored-by: Justin Kerr <justin.g.kerr@gmail.com>
2023-09-19 16:22:55 -07:00
Jake Austin jake-austin@berkeley.edu bb90b94fb0 Basic working, still needs to be profiled and tuned, some preliminary TODOs labeled 'jake-austin' need to be addressed 2023-09-12 03:15:11 +00:00
85ef567682 Flesh out viewer beta (#2086)
* Increase max_res of first proposal network

* fix render statemachine logic for viewer beta

* clicking on cameras in the viewer

* fix fov calculation, update camera positions while training

* cleanup

* backup

* fix configure theme

* Fix theme configure for latest dev version of viser

* Fix runtime errors

* add set up direction button

* add pause resume button

* Export panel

* Render tab skeleton

* make responsiveness more snappy by stopping training

* depth composite

* start implementing viewercontrol in new viewer

* refactor background img to use depth and add depth layering option

* show/hide images

* speed up rendering

* fix crop color background

* crop

* rotated crops

* rotated crops

* transform handle on crop box

* fix xyzw for crop

* oriented crop export for pointclouds, not for meshes yet

* Initial render panel

* Fix export button

* Theme tweaks

* fix background issue in cropping

* export rotated poisson meshe

* double normals definition in export panel

* Visual nits

* remove tsdf from export panel

* Add licenses

* Fix some CI errors

* Type fixes

* Fix tests

* Fix numpy broken

* various bugfix

---------

Co-authored-by: Brent Yi <yibrenth@gmail.com>
Co-authored-by: terrancewang <terrance.3512@gmail.com>
2023-09-08 05:10:00 +00:00
Brent Yi 6d51af1a24 viser 0.1.0, fix type checker errors (#2343)
* Pin to viser 0.1.0, fix type checker errors

* gui_folder => add_gui_folder
2023-08-15 23:15:35 +00:00
Frederik WarburgandEthan Weber 9b03299d40 Train and eval data splits (Nerfbusters) (#2207)
* nerfbusters dataparser

* nerfbuster dataparser and visualization of eval views

* resolved some errors from  pyright

* enable ns-process-data to take two videos as input and use one for eval and the other for train

* resolve some pyright issues

* instead of data being a tuple, I added eval_data as another argument

* implemented train eval split for all cases

* implemented train eval split for all cases

* reverting equi changes

* reverting reality capture changes

* raise valueerror

* revert comment

* added split override code back to dataparser

* reverted one change

* using image border now

* adding docs

---------

Co-authored-by: Ethan Weber <eweb0124@gmail.com>
2023-08-04 10:11:55 -04:00
Justin Kerr e417ee07e7 Minor kwarg fix to be future-compatible with viser version (#2235)
* add kwarg to step to avoid breaking in newer version of viser
2023-07-16 18:27:36 -07:00
b86a4251a9 Feature/run_beta_viewer (#2157)
* add `build-arg` cuda version to dockerfile

* [Feature] add 'vis' option to 'ns-viewer' script

* fix pylint

* [Fix] fix data format

---------

Co-authored-by: Brent Yi <yibrenth@gmail.com>
Co-authored-by: Matthew Tancik <matt@lumalabs.ai>
2023-07-07 22:01:14 +00:00
Justin Kerr e4a5c38b28 Fix resolution rendering logic in statemachine for viewer beta (#2085)
* fix render statemachine logic for viewer beta
2023-06-17 21:15:33 -07:00
Matthew Tancik addf477e8c add controls to the beta viewer (#2005)
* add controls to the beta viewer

* Remove misc file

* works now
2023-05-26 15:15:36 -07:00
Matthew Tancik efd83abb6d Basic viser frontend (#1973)
* Use viser frontend

* Rendering but poses incorrect

* Fix cameras
2023-05-23 12:21:38 -07:00