From: John Stone (johns_at_ks.uiuc.edu)
Date: Sat Feb 06 2010 - 11:15:34 CST

Marc,
  The focal length parameter is expressed Tachyon's world
coordinate system, but this isn't the same as the molecule's
coordinate system you're used to within VMD. If you like, I
can provide you with some Tcl scripts that will convert from
molecule coordinates to Tachyon's world coordinates, this can
also be used to add special lighting and/or geometry beyond what
VMD knows how to export itself. I'm heading into the lab in a while
to finish working on a paper, while I'm there I'll dig up the
Tcl scripts I mentioned and send them to you after I do a few
tests.

Cheers,
  John

On Sat, Feb 06, 2010 at 05:07:07PM +0100, Marc Baaden wrote:
>
> Hi,
>
> I was experimenting with Tachyon's depth of field camera option to
> highlight some parts of a scene generated with VMD. It is however not
> quite clear to me how I can determine where the focus of the rendering
> will be. Is it at the origin (0,0,0)? Is there any easy way to
> determine which settings are needed to focus on a given atom/residue/
> fragement of a molecule?
>
> Thanks in advance,
> Marc
>
>
> NB: Here is the changes that I made to the Tachyon file generated by VMD:
>
> [..]
> Camera
> projection perspective_dof
> focallength 0.75
> aperture 0.02
> Zoom 0.666667
> [..]
>
>
> --
> Dr. Marc Baaden - Institut de Biologie Physico-Chimique, Paris
> mailto:baaden_at_smplinux.de - http://www.baaden.ibpc.fr
> FAX: +33 15841 5026 - Tel: +33 15841 5176 ou +33 609 843217
>
>

-- 
NIH Resource for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
Email: johns_at_ks.uiuc.edu                 Phone: 217-244-3349
  WWW: http://www.ks.uiuc.edu/~johns/      Fax: 217-244-6078