From: John Stone (johns_at_ks.uiuc.edu)
Date: Fri Oct 19 2018 - 08:37:46 CDT

Hi,
  You don't want to use "-mediumshade" when you run Tachyon,
as that flag explicitly disables AO... Just delete that flag
from your Tachyon command line and I would expect things to work
normally. If not, let me know and we'll figure it out.

Best,
  John Stone
  vmd_at_ks.uiuc.edu

On Fri, Oct 19, 2018 at 01:04:37PM +0200, Oliver Grant wrote:
> Hi all,
> I'm using the glowlights.tcl script from John Stone in VMD 1.9.3. I first
> render a scene (vmdscene.dat) using tachyon. The tga produced looks good.
> I then add glowlights like this:
> ::GlowLights::new_light { -44 59 5 } white { 0.6 0 0 } 10
>
> ::GlowLights::render_scene vmdscene.dat vmdscene_glow.tga
>
>  But the vmdscene_glow.tga only contains light from the glowlight. The
> ambient light from tachyon is missing. I also tried:
>
> ::GlowLights::append_to_scene vmdscene.dat
>
> followed by this on the command line:
>
> $VMDPATH/lib/tachyon/tachyon_LINUXAMD64 -aasamples 16 -trans_vmd
> -mediumshade -format TARGA vmdscene.dat -o vmdscene_glow1.tga
>
> But this still only had the glowlights, and so the rest of the image is
> very dark.Â
> Q: Is this a bug on my machine or is this expected behaviour for what I'm
> doing? If expected, what can I do to have both ambient lighting and
> glowlights rendered?
> Best,
> Oliver

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