VMD-L Mailing List
From: Eckhart Guthöhrlein (eckhart.guthoehrlein_at_uni-bielefeld.de)
Date: Wed Aug 25 2004 - 04:05:04 CDT
- Next message: John Stone: "Re: ATI fglrx 3.11 drivers for Radeon 8500 LE with linux 2.6 kernel, quad buffered stereo on sony G520???"
- Previous message: Dr. Daniel James White PhD: "ATI fglrx 3.11 drivers for Radeon 8500 LE with linux 2.6 kernel, quad buffered stereo on sony G520???"
- In reply to: John Stone: "Re: Molscript"
- Next in thread: John Stone: "Re: Molscript"
- Reply: John Stone: "Re: Molscript"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
On Tue, Aug 24, 2004 at 09:41:23AM -0500, John Stone wrote:
> Probably the easiest method for obtaining the same view in VMD and
> in molscript is to supply the same view transformation matrices to both
> programs. If it is easy for you to take the view transform from VMD and
> apply it in molscript, then this sounds like the way to go. You can
> retrieve all of the VMD transformation matrices like this:
> molinfo top get center_matrix
> molinfo top get rotate_matrix
> molinfo top get scale_matrix
> molinfo top get global_matrix
>
> Let us know if you need help making this work.
I have tried 'molinfo top get rotate_matrix', giving me
{{0.514088 -0.724840 -0.458611 0.000000} {0.659784 -0.007478 0.751419
0.000000} {-0.548089 -0.688879 0.474391 0.000000} {0.000000 0.000000
0.000000 1.000000}}
Then in molscript:
transform atom * by rotation
0.514088 -0.724840 -0.458611
0.659784 -0.007478 0.751419
-0.548089 -0.688879 0.474391
This indeed gives me rather similar, but not identical views. What is
missing? I am not interested in the scale matrix, but maybe I have to
make use of the global and center matrix, but how? I tried some things
with molscript's transform by centre, but without success.
Regards,
Eckhart
- Next message: John Stone: "Re: ATI fglrx 3.11 drivers for Radeon 8500 LE with linux 2.6 kernel, quad buffered stereo on sony G520???"
- Previous message: Dr. Daniel James White PhD: "ATI fglrx 3.11 drivers for Radeon 8500 LE with linux 2.6 kernel, quad buffered stereo on sony G520???"
- In reply to: John Stone: "Re: Molscript"
- Next in thread: John Stone: "Re: Molscript"
- Reply: John Stone: "Re: Molscript"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]