Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Popup image depth compositing #83

Merged
merged 39 commits into from
Aug 25, 2023
Merged

Popup image depth compositing #83

merged 39 commits into from
Aug 25, 2023

Conversation

kerrj
Copy link
Collaborator

@kerrj kerrj commented Aug 13, 2023

Adds support for an RGBD image which floats in front of the camera, useful for compositing NeRF in 3D with other 3js objects.

@kerrj
Copy link
Collaborator Author

kerrj commented Aug 13, 2023

This diff has a ton of new _icons files, not sure where they came from @brentyi

viser/client/src/WebsocketInterface.tsx Outdated Show resolved Hide resolved
viser/_message_api.py Outdated Show resolved Hide resolved
viser/_message_api.py Outdated Show resolved Hide resolved
@brentyi brentyi force-pushed the justin/nerf_depth_compositing branch from 99856db to 2df6999 Compare August 25, 2023 13:02
@brentyi brentyi force-pushed the justin/nerf_depth_compositing branch from 2df6999 to a005977 Compare August 25, 2023 13:07
@brentyi brentyi enabled auto-merge August 25, 2023 13:18
@brentyi brentyi merged commit 30aa5a9 into main Aug 25, 2023
11 checks passed
@brentyi brentyi deleted the justin/nerf_depth_compositing branch August 25, 2023 13:58
yzslab pushed a commit to yzslab/viser that referenced this pull request Oct 20, 2024
* very early WIP of depth compositing shader, sort of works for a hardcoded turtle example

* fix texture sampling logic with vertex shader

* improvements

* GUI container refactor

* Clean up panel display, still some kinks to work out

* working depth compositing, need to clean up/document things

* Improve expanded panel behavior; drag regression for mobile view

* Fix toggle for sidebar display

* Fix type

* refactor for popup img instead of background_image

* add enabled flag to texture

* bad merge

* 4 byte packing

* more work

* working float passing?

* works!

* Remove icons : )

* Revert SMPL-X example

* remove depth scale

* cleanup

* make popup example

* comment

* garbage collect old textures, repackage PopupImage into BackgroundImage

* Update compositing example

* More precision

* Nits, type errors

* Nits

* Use 3 bytes, fix mypy/ruff

* Naming

---------

Co-authored-by: Brent Yi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants