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

Add trajectory reloading #616

Merged
merged 2 commits into from
Sep 22, 2024
Merged

Add trajectory reloading #616

merged 2 commits into from
Sep 22, 2024

Conversation

BradyAJohnston
Copy link
Owner

@BradyAJohnston BradyAJohnston commented Sep 22, 2024

Fixes #615
Fixes #614

Helps to fix errors where the trajectory loses it's connection to the underlying universe. Adds operator to more easily restore the trajectory when the connection is lost

blender_KEOUSOHU79.mp4
  • Operator to reload trajectory
  • fixed problem with pickling while saving

@CeraveWasTakenLOL
Copy link

Just curious, does this reset the entire geometry node system? If so it might be advantageous to add a manual caching system for the MNSession

@BradyAJohnston
Copy link
Owner Author

@CeraveWasTakenLOL this doesn't change anything about the Object / Geometry Nodes setup (so any keyaframes etc will be maintained) it just re-links the underlying MDAnalysis.Universe so that the positions update on frame change

@BradyAJohnston
Copy link
Owner Author

@CeraveWasTakenLOL also there is a Bake node inside of Geometry Nodes so if you are wanting to bake & create a permanent save state of the trajectory you can use that node to bake the positions to disk (in Blender 4.3 it will be able to bake into the .blend file)

@BradyAJohnston BradyAJohnston merged commit 1e4c287 into main Sep 22, 2024
5 checks passed
@BradyAJohnston BradyAJohnston deleted the improve-trajectory-linking branch September 22, 2024 07:51
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.

Backup for MD filepaths MNSession File System Is Bugged
2 participants