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

Expose camera frustums size and occlusions to CLI #2556

Merged
merged 2 commits into from
Oct 26, 2023

Conversation

ethanweber
Copy link
Collaborator

I added two parameters to the Viewer config. Now we can change the size of the training & eval camera frustums, and we can enable/disable rendering the scene with depth compositing. This is useful for (1) when the scene is small and frustums are too tiny or (2) when there are floaters or artifacts in the way and you still want to see the camera frustums.

Default, trained for a little bit.

ns-train nerfacto --data data/nerfstudio/plane --vis viewer_beta
Screenshot 2023-10-24 at 12 55 01 PM

Modifying the camera frustum scale from the default 0.1 to 1.0 (10x) and turning off depth compositing.

ns-train nerfacto --data data/nerfstudio/plane --vis viewer_beta --viewer.camera_frustum_scale 1.0 --viewer.default_composite_depth False
Screenshot 2023-10-24 at 12 53 22 PM

Copy link
Collaborator

@kerrj kerrj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sgtm

@ethanweber ethanweber merged commit 87773bb into main Oct 26, 2023
4 checks passed
@ethanweber ethanweber deleted the ethan/viewer_camera_frustums branch October 26, 2023 23:56
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.

None yet

2 participants