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

heuristic for camera frustum length is now based on scene size #1433

Merged
merged 2 commits into from Feb 28, 2023

Conversation

Wumpf
Copy link
Member

@Wumpf Wumpf commented Feb 28, 2023

Introduces EditableAutoValue and per-frame heuristic updates on properties. In the future we can build more properties on top of this and update them in a central place like done here

Replaces #916
Fixes #681

Checklist

  • I have read and agree to Contributor Guide and the Code of Conduct
  • I've included a screenshot or gif (if applicable)
  • I've added a line to CHANGELOG.md (if this is a big enough change to warrant it)

Introduces `EditableAutoValue` and per-frame heuristic updates on properties. In the future we can build more properties on top of this and update them in a central place like done here
@Wumpf Wumpf added the 📺 re_viewer affects re_viewer itself label Feb 28, 2023
@teh-cmc teh-cmc self-requested a review February 28, 2023 14:29
@@ -0,0 +1,43 @@
/// A value that is either determined automatically by some heuristic, or specified by the user.
Copy link
Member

Choose a reason for hiding this comment

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

We're adding more and more things to re_data_store that don't seem to be related at all to the data store 🤔

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, the properties are misplaced there in the first place I think

crates/re_data_store/src/entity_properties.rs Outdated Show resolved Hide resolved
crates/re_viewer/src/misc/transform_cache.rs Outdated Show resolved Hide resolved
crates/re_viewer/src/ui/selection_panel.rs Show resolved Hide resolved
@Wumpf Wumpf merged commit 9224783 into main Feb 28, 2023
@Wumpf Wumpf deleted the andreas/frustum-length-heuristic branch February 28, 2023 15:26
emilk pushed a commit that referenced this pull request Mar 2, 2023
Introduces `EditableAutoValue` and per-frame heuristic updates on properties. In the future we can build more properties on top of this and update them in a central place like done here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📺 re_viewer affects re_viewer itself
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve camera frustum length heuristic & editability
2 participants