[chimera-dev] Moving a residue and an VRML object

Eric Pettersen pett at cgl.ucsf.edu
Wed Oct 17 15:26:03 PDT 2012


On Oct 17, 2012, at 3:21 PM, Greg Couch wrote:

> Salut,
> 
> The other trick is to give the VRML model the same model id and submodel id as its associated model.  Then the openState is identical, so there would be no need to copy the transformation matrix.  Again, this only works for rigid rotations.

...and the simplest way to do this is to supply the "sameAs" keyword, with the associated model as the argument, to the openModels.add() or openModels.open() call that you use.

--Eric


                        Eric Pettersen
                        UCSF Computer Graphics Lab
                        http://www.cgl.ucsf.edu


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-dev/attachments/20121017/e8cca434/attachment.html>


More information about the Chimera-dev mailing list