From: John Stone (johns_at_ks.uiuc.edu)
Date: Wed Aug 13 2008 - 09:56:44 CDT

Oleg,
  I'll look at this more closely and see what's going on there.

Cheers,
  John

On Wed, Aug 13, 2008 at 03:03:29AM +0400, Oleg Stroganov wrote:
> Hello, John
>
> Actually I've have done the following thing: I've saved vmd-representation
> of the scene with amount of fog I need, then loaded this scene into
> independent VMD session (with command line "vmd -e scene.vmd") and finally
> typed "render Tachyon scene.dat" in VMD command prompt. My VMD session
> ("scene.vmd") contained these lines:
>
> display depthcue on
> display cuestart 0.500000
> display cueend 10.000000
> display cuedensity 0.450000
> display cuemode Exp2
>
> so, I guess depth cueing was enabled. Tachyon files which I've got in
> normal mode ("vmd -e scene.vmd") and in display-free mode ("vmd -e
> scene.vmd -dispdev none") were different - in latter there were no FOG at
> all. Another interesting thing about the fog: I've tried to enable depth
> cueing directly from command line, and this is what I've got in "dispdev
> none" mode:
>
> vmd > display depthcue on
> vmd > display get depthcue
> off
> vmd >
>
> I hope, this information will be useful,
>
> Sincerely yours,
>
> Oleg Stroganov
>
>
>
>
> >Hi,
> > You'll only see the "FOG" lines when depth cueing has been enabled
> >in VMD. By default depth cueing is not enabled, so unless you have
> >enabled it either by checking the Display->Depth Cueing option in the
> >GUI, or by executing "display depthcue on", it will not be enabled
> >in Tachyon renderings. Please double check and let me know if you're
> >still having trouble.
> >
> >Cheers,
> > John Stone
> > vmd_at_ks.uiuc.edu
> >
> >On Fri, Aug 08, 2008 at 01:10:36AM +0400, Oleg Stroganov wrote:
> >>Hello,
> >>I've noticed that depth cueing settings are not saved during rendering
> >>of
> >>vmd scene with Tachyon renderer when vmd is launched in text mode
> >>(-dispdev none is enabled in command line). When Tachyon dat-file is
> >>saved
> >>by VMD in normal mode, it contains the line like this:
> >>FOG EXP2 START 0 END 10 DENSITY 0.45 COLOR 1 1 1
> >>but when VMD saves Tachyon dat-file in text mode this line is missing.
> >>Is
> >>this a bug? Is there any workaround?
> >>
> >>Thank you.
> >>
> >>Oleg Stroganov
> >

-- 
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