OpenChemistry / avogadrolibs

Avogadro libraries provide 3D rendering, visualization, analysis and data processing useful in computational chemistry, molecular modeling, bioinformatics, materials science, and related areas.
https://two.avogadro.cc/
BSD 3-Clause "New" or "Revised" License
424 stars 164 forks source link

Generate movie / GIF as general code #779

Open ghutchis opened 2 years ago

ghutchis commented 2 years ago

Right now, generating a movie is restricted to the animation tool (e.g., requires trajectories).

It would be great if we could move the animation code to a general class:

Basically, the code could be pulled into a general class to record from the 3D scene, with a hint for the number of frames or a certain amount of time.

ghutchis commented 10 months ago

One possibility here is to put it into the qtgui classes to record the widget - but it should be scriptable through avogadroapp as well (much like exporting graphics)