Commit Graph
33 Commits
Author SHA1 Message Date
Matt Tancik f7acc3f837 Fixes and ui updates 2022-07-22 20:01:25 -07:00
Matt Tancik 19bc554a0c Pause resume in viewer 2022-07-22 18:17:40 -07:00
evonneng a78394c49d [WIP] adding typing and linting to visualizer code (backend python files) (#189)
* first round adding typing and linting to server files

* continued...

* added new formatting conventions

* committing current progress...

* finished with geometry

* homerun :')
2022-07-22 16:38:58 -07:00
Matt Tancik 76c8c178be Add leva 2022-07-21 17:38:40 -07:00
evonneng 41347d908b fixed bug; added optimizations to interrupt (#191)
* fixed bug; added optimizations to interrupt

* removed timed sleep

* lint
2022-07-21 16:52:30 -07:00
evonneng 529dd61aaf Prettified Code! 2022-07-20 02:42:50 +00:00
evonneng 928a414468 adding sliders for min/max value user defined (#179)
* added sliders for min/max values... todo debug glitchy if camera moves

* fixed camera changing bug and removed sliders from config
2022-07-19 19:42:17 -07:00
evonneng 0c3cd727fc added timing-bottlenecked rendering (#177) 2022-07-19 19:35:56 -07:00
evonneng af9cc42fd6 Prettified Code! 2022-07-19 23:33:25 +00:00
evonneng 12c7d41241 added start/stop button (#173)
* added start/stop button

* added declorator; fixed camera interrupt race condition

* add docs + typechecking
2022-07-19 16:33:01 -07:00
Ethan Weber d52c11c04c using prettier for more files. also, client app is built on merge to master (#141) 2022-07-14 11:33:56 -07:00
tancik 0b246d6978 Prettified Code! 2022-07-14 16:58:09 +00:00
Matt Tancik c35bf43255 Switch to orbit controls 2022-07-13 16:57:46 -07:00
evonneng 069cf2c40f Eng/vis multi outputs (#131)
* added dynamic setting options based on graph outputs

* added functionality to view different types of outputs

* fixed first value set to nothing

* moved try except in smaller scope

* thinking I fixed the weird every so often python stops because of exception error

* fixed many dropdown issue; fixed default value issue
2022-07-13 14:36:11 -07:00
Ethan Weber 4ddd146633 Improving eval script with camera trajectory videos (#124)
* spiral traj working, specify version for hydra, better documentation

* cleaned up spiral trajectory a bit
2022-07-13 10:58:01 -07:00
evonneng 25a1f91dee Visualizer: toggle between different output options (#122)
* added dynamic setting options based on graph outputs

* added functionality to view different types of outputs

* fixed first value set to nothing

* moved try except in smaller scope
2022-07-12 18:52:04 -07:00
Matthew Tancik 9efcfad4f3 Add extra checks for license (#120)
Add extra checks for license
2022-07-12 16:49:04 -07:00
evonneng efa40993e0 small fix silencing exception on camera change (#112) 2022-07-11 16:07:52 -07:00
evonneng b0594935af adding typing to viewer code (#106)
* moved logic for interrupting rendering to visutils

* added typing to viewer code

* lint
2022-07-08 20:13:52 -07:00
evonneng be45d5c9bb moved logic for interrupting rendering to visutils (#102) 2022-07-07 17:56:22 -07:00
evonneng e837f8dbef Merge branch 'master' of github.com:pyradiance/radiance 2022-07-07 23:38:48 +00:00
evonneng b04cbdf380 debugged logic to make change camera interrupt faster 2022-07-07 23:38:42 +00:00
Ethan Weber 74ec84117e cleaning up viewer code (#101) 2022-07-07 16:00:30 -07:00
Matt Tancik b40ec1e863 Add missing inits 2022-07-07 12:10:56 -07:00
Ethan Weber 44c5e3264c Documenting viewer and faster image sending (#86)
* updated three.js version. only send camera information when it moves

* changing code back to updating camera constantly because packets seem to be lost

* name change

* starting viewer docs

* new workflow

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* ga

* homepage

* homepage

* / to ?

* more documentation

* fixed none error

* instant ngp fix

* faster image sending over tcp. instant ngp bin fix. lowest res when moving

* black

* requirements
2022-07-07 00:03:45 -07:00
evonnengandEthan Weber c2ca0f2958 finish rendering if at minimum (#91)
* updated three.js version. only send camera information when it moves

* changing code back to updating camera constantly because packets seem to be lost

* interrupting function during rendering

* small linting fixes

* added logic for interrupting rendering + separted out visualizer logic from trainer

* finish rendering if at minimum

Co-authored-by: Ethan Weber <eweb0124@gmail.com>
2022-07-06 17:08:24 -07:00
Ethan Weberandevonneng 56661b5d9a Viewer Dynamic Resolution Scaling (DRS) (#87)
* updated three.js version. only send camera information when it moves

* changing code back to updating camera constantly because packets seem to be lost

* interrupting function during rendering

* small linting fixes

* added logic for interrupting rendering + separted out visualizer logic from trainer

Co-authored-by: evonneng <evonne_ng@berkeley.edu>
2022-07-06 15:47:08 -07:00
evonneng 39063b04fb Webrtc cleanup (#84)
* deleted video_stream_old file

* removed old video stream file
2022-07-05 15:03:03 -07:00
Ethan Weberandevonneng bf13ed3cf3 Integrating WebRTC into viewer (#73)
* restructuring for webrtc integration

* some webrtc code but not working

* webrtc connects when muted

* the flag is real!

* updating camera in websocket bridge. moved webrtc to existing websocket connection instead of http request. need to change video track

* rudimentary adding real-time imaging

* added free TURN server so code works everywhere

* slow rendering works during training with the viewer

* fix tensor device and update default model save dir

* forgot to include trainer updates

* removing some code that isn't needed

* quick fix to bins. not the most accurate however

* cleaned up code and added some config logic

* black

* adding license

Co-authored-by: evonneng <evonne_ng@berkeley.edu>
2022-07-05 14:52:49 -07:00
Ethan Weber 1e22984d87 Initial viewer (visualizer) code (#52)
* some initial code for viewer. copying from other repos

* adding electron support

* moving some test files around. need to rewrite these

* camera traj. test cases. starting to transmit images

* still working on vis

* reorganized viewer and figured out websocket sending from client. need to do with camera pose

* black

* temporarily ignore pylinting for viewer

* ignore viewer

* fixed array

* license and fixed ignore in pyproject.toml

* improved syntax
2022-06-16 12:11:40 -07:00
evonneng 5433f831ac add licensing headers (#27)
* add licensing headers

* add licensing to run actions

* rerun headers file

* remove trailing white spaces
2022-06-08 13:31:13 -07:00
Ethan Weber 457788d689 dataloader logic, new folder structure, flatter configs (#26)
* renaming dataloader to data. adding some dataloader classes

* restructuring configs

* fixed instant ngp tcnn direction rescaling

* working through test cases

* black and lint and tests
2022-06-08 09:01:56 -07:00
Matt Tancik 1a8ad9a763 Change name to pyrad 2022-05-31 14:15:06 -07:00