-
Notifications
You must be signed in to change notification settings - Fork 1
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
[WIP] Update highlighted points when time changes #96
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
I don't think this reviewable/mergable yet. The behavior might be good enough, but there are some performance issues. I'd also want to wait to merge #95 before marking this ready for review. |
My idea here would be to instead store a(nother) map on I'm also trying to think about doing it in the shader (create a new (apologies - I know you said this is not ready for review) |
Closes #53
Closes #80
This updates the highlighted points when the time point changes. It also distinguishes between the number of loaded tracks and highlighted points at the current time point, presenting those to the user.
It does this by storing the point IDs in the tracks with the start and end time (which are all readily available), then using that to convert point IDs to time-specific indices.
This is probably the smallest change that gives us the behavior described in #53. However, this does against some of the ideas in #53 and #68. I agree that mixing ID conversion logic and geometry information is undesirable, so very open to other approaches here.
The approach here also has performance issues when a large number of tracks have been loaded because the conversion takes a little time.
zebrahub-update-selected-points.mp4