VMD-L Mailing List
From: Axel Kohlmeyer (akohlmey_at_cmm.chem.upenn.edu)
Date: Mon Jan 12 2009 - 09:05:41 CST
- Next message: Axel Kohlmeyer: "Re: VMD for Linux"
- Previous message: Axel Kohlmeyer: "Re: : about complexing protein and ligand!"
- In reply to: Sebastian Stolzenberg: "4x4 trafo matrices to get "homo-two-protein-complex""
- Next in thread: Sebastian Stolzenberg: "Re: 4x4 trafo matrices to get "homo-two-protein-complex""
- Reply: Sebastian Stolzenberg: "Re: 4x4 trafo matrices to get "homo-two-protein-complex""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
On Sun, 11 Jan 2009, Sebastian Stolzenberg wrote:
SS> Dear All,
dear sebastian,
SS> 1.)
SS> how does the math behind the VMD 4x4 transformation matrices work?
SS> ("http://oemagazine.com/fromthemagazine/nov05/tutorial.html" doesn't exist
SS> anymore)
there is a ton of text books that explain those, but probably the
best place to look for details are tutorials on rendering, where
similar 4x4 transformations are used as well. also, have you tried
searching wikipedia for information on transformation matrices?
SS> 2.)
SS> Eventually, I want to create a homo-two-protein-complex from one pdb file:
SS>
SS> - move a protein in VMD with the user-interface (rotate,translate by hand)
SS> - "Save State"->untitled.vmd
SS> - extract at the "viewpoints" parameters center_matrix,rotate_matrix,...
SS> - go back to VMD: "[atomselect top all] move $mytransformationsmatrix" to
SS> change the acutal pdb coordinates accordingly.
this will not work. those transformations will not change the
coordinates, only how you look at them. you have to create a
selection for the second molecule and then transform the coordinates
and save them.
cheers,
axel.
SS>
SS> In particular, I do not know in what order I should apply/multiply the
SS> matrices
SS> center_matrix rotate_matrix scale_matrix global_matrix
SS> being given in my "untitled.vmd" file.
SS>
SS> Any help is much appreciated,
SS> Sebastian
SS>
SS>
SS>
-- ======================================================================= Axel Kohlmeyer akohlmey_at_cmm.chem.upenn.edu http://www.cmm.upenn.edu Center for Molecular Modeling -- University of Pennsylvania Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323 tel: 1-215-898-1582, fax: 1-215-573-6233, office-tel: 1-215-898-5425 ======================================================================= If you make something idiot-proof, the universe creates a better idiot.
- Next message: Axel Kohlmeyer: "Re: VMD for Linux"
- Previous message: Axel Kohlmeyer: "Re: : about complexing protein and ligand!"
- In reply to: Sebastian Stolzenberg: "4x4 trafo matrices to get "homo-two-protein-complex""
- Next in thread: Sebastian Stolzenberg: "Re: 4x4 trafo matrices to get "homo-two-protein-complex""
- Reply: Sebastian Stolzenberg: "Re: 4x4 trafo matrices to get "homo-two-protein-complex""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]