Animation

On Sun, 23 May 2010 14:04:49 -0400
Shlomo Katz shlomokatz00@gmail.com wrote:

Ok. I have say two H atoms spinning on their x axis, I open the
animation menu, name it, then save. But I get a distorted rendition
of the molecule and only what seems to be a single frame. I am
attaching the avi.

Currently in order to get animation you need to have a multi-molecule
file. Otherwise you get animation with one frame.

Unfortunately, there’s no possibility to create trajectory file
interactively in Avogadro by moving molecule and clicking some button,
because rotations and transitions doesn’t actually change coordinates
of atoms in Molecule object.


Regards,
Konstantin

On May 23, 2010, at 3:33 PM, Konstantin Tokarev wrote:

interactively in Avogadro by moving molecule and clicking some button,
because rotations and transitions doesn’t actually change coordinates
of atoms in Molecule object.

Well, it’s possible to do in the code. What Konstantin is saying is that right now, there’s no way to do this for users.

-Geoff

On Mon, 24 May 2010 10:28:13 -0400
Geoffrey Hutchison geoff.hutchison@gmail.com wrote:

On May 23, 2010, at 3:33 PM, Konstantin Tokarev wrote:

interactively in Avogadro by moving molecule and clicking some
button, because rotations and transitions doesn’t actually change
coordinates of atoms in Molecule object.

Well, it’s possible to do in the code. What Konstantin is saying is
that right now, there’s no way to do this for users.

Yes, it’s needed to project 3D coordinates to 3D coordinate system with
xz plane parallel screen. What method should be used to achieve it?


Regards,
Konstantin

On May 24, 2010, at 10:37 AM, Konstantin Tokarev wrote:

Yes, it’s needed to project 3D coordinates to 3D coordinate system with
xz plane parallel screen. What method should be used to achieve it?

Between the rotation tool and the camera class, there is definitely examples of this. But rather than applying the rotation matrix to the camera you’d apply it to all the points in the molecule.

Another example might be the align tool, which builds up a new frame of reference for the molecule and rotates it into place (including modifying the coordinates).

Hope that helps,
-Geoff