Hi Jaap,
If you export as a vrml file, the global transformation (same as an open inventor transform) is near the top in human readable text, after the lighting and background descriptions.
keep in mind the chimera camera only points in the z-axis. When you change your point of view, the camera is static and the object is globally transformed. If you have a multi-body scenario, such that the individual bodies have independent dynamic trajectories, this can get complicated.
Should you want to import all of this information into another viz/animation program, other things must be done, depending on the package.
Matthew Dougherty
713-433-3849
National Center for Macromolecular Imaging
Baylor College of Medicine/Houston Texas USA
=========================================================================
=========================================================================
-----Original Message-----
From: chimera-users-bounces@cgl.ucsf.edu on behalf of Jaap Brink
Sent: Mon 10/6/2008 1:17 PM
To: 'Eric Pettersen'
Cc: chimera-users@cgl.ucsf.edu
Subject: Re: [Chimera-users] obtaining rotation angles
Hi,
Thanks for the lightning quick response. Much appreciated.
Jaap
_____
From: Eric Pettersen [mailto:pett@cgl.ucsf.edu]
Sent: Monday, October 06, 2008 1:09 PM
To: jbrink@jeol.com
Cc: chimera-users@cgl.ucsf.edu BB
Subject: Re: [Chimera-users] obtaining rotation angles
Another possibility is to use the "turn" command to turn the object
around an axis by a number of degrees that you specify, and then
determine the correct number of degrees by trial and error.
--Eric
Eric Pettersen
UCSF Computer Graphics Lab
http://www.cgl.ucsf.edu
On Oct 6, 2008, at 9:34 AM, Elaine Meng wrote:
Hi Jaap,
Maybe the "matrixget" command would meet your needs; it writes out a
transformation matrix, 3x3 rotation matrix + translation vector, for
each model:
<http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/matrixset.html>
You can write it to a file or just to the Reply Log. If to a file,
you can later apply the transformation(s) by reading the file with the
"matrixset" command (same man page as above).
Best,
Elaine
-----
Elaine C. Meng, Ph.D. meng@cgl.ucsf.edu
UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab
Department of Pharmaceutical Chemistry
University of California, San Francisco
http://www.cgl.ucsf.edu/home/meng/index.html
On Oct 6, 2008, at 7:28 AM, Jaap Brink wrote:
Hi,
I'm trying to figure out how I can obtain angles from chimera. I
have a 3D object that I have to rotate in order to see certain
features. I'd like to know those angles. Is there is a way to get
this info?
Thanks in advance,
Jaap Brink
_______________________________________________
Chimera-users mailing list
Chimera-users@cgl.ucsf.edu
http://www.cgl.ucsf.edu/mailman/listinfo/chimera-users