From: Axel Kohlmeyer (
Date: Fri Jan 06 2006 - 07:07:43 CST

On Thu, 5 Jan 2006, Yu Chen wrote:

> Hi,
> I was wondering if there is a way to animate transparency in VMD, in other
> words, making an object fade in or out...

yes, in principle this should be doable.
you'd have to create a new material for that and
then write a small script that traces the animation
loop and then changes the transparency parameter
of that new material depending on the current frame
number. if you just need to do the fading without
moving atoms, you can just use that procedure and
add a small delay, that controls the fading speed.

if you need more help, let us know and provide a
few more details of what you want to do.

> Thanks,
> Yu
> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> Yu Chen
> Computer Analyst
> Howard Hughes Medical Institute
> at the Wadsworth Center
> P.O.Box 509, Empire State Plaza
> Albany, NY 12201-0509
> Phone: (518) 486-2102
> Fax: (518) 486-2191

Axel Kohlmeyer e-mail:, tel: ++1-215-898-1582
    Center for Molecular Modeling -- University of Pennsylvania
Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323
If you make something idiot-proof, the universe creates a better idiot.