Skip to content

Density Animations #1100

@Splines

Description

@Splines

Thank you so much for this amazing project! Molecular Nodes is really fun to use and looks great.

I'd like to request an addition to the mn.entities.density.io.load() method. Right now it supports setting a single file path. It'd be great if we could pass an array of file paths in order to create an animation of changing densities.

  • By default, one density could last one single frame.
  • [Maybe the current index (that specifies which density is currently shown), could be visible to the user by means of keyframes, such that one could stretch time, e.g. you want to show one density longer than the others.]

The use case for this request are algorithms that optimize densities (OF-DFT). With animations, one could better understand how the algorithm changes the densities to arrive at the optimum.

As alternative, I wrote a script that constructs the VDB files. Blender lets you import multiple of them to create an animation (inside one volume object). But this pipeline is more cumbersome than the nice import Molecular Nodes is offering for .mrc files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    APIRelated to internal and external APIenhancementNew feature or requestnodesInvolving nodes and node groups inside of Blender

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions