
Hi, Is there a command to control the transparency of a ribbon representation or the whole model ?. I'm trying to fade in an out a molecule (in ribbon + wire atom representation) in movie. Thanks Hernando -- ----------------------------------- Hernando Sosa Dept. of Physiology and Biophysics Albert Einstein College of Medicine 1300 Morris Park Av. Bronx NY 10461 phone (718) 430-3456 FAX (718) 430-8819 email hsosa@aecom.yu.edu -----------------------------------

Hi Hernando, There are two ways to go about this. One is to use the color command http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/color.html say 20 times in a script to gradually increase the transparency to 1. You can specify the color as 4 values r,g,b,a in Chimera 1.4 daily builds (but not in 1.3). A second approach is to download a plugin called "Animation Commands" from the Chimera Experimental Features web page (near the bottom): http://www.cgl.ucsf.edu/chimera/experimental/experimental.html Installing this gives you the "transition" command which can fade transparency. http://www.cgl.ucsf.edu/chimera/experimental/transition/transition.html Tom hsosa@aecom.yu.edu wrote:
Hi,
Is there a command to control the transparency of a ribbon representation or the whole model ?. I'm trying to fade in an out a molecule (in ribbon + wire atom representation) in movie.
Thanks
Hernando

On Jun 1, 2009, at 5:03 PM, Thomas Goddard wrote:
There are two ways to go about this. One is to use the color command
http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/color.html
say 20 times in a script to gradually increase the transparency to 1. You can specify the color as 4 values r,g,b,a in Chimera 1.4 daily builds (but not in 1.3).
A similar approach that does work in the 1.3 release is to color your ribbons with a color you defined with the 'colordef' command. You can then keep redefining the color to change its transparency and the ribbons will change accordingly. --Eric

I tried the "transition" command, it works but it seems very slow. Each frame transition takes a very long time to occur. I guess after recording it would be OK. Thanks Hernando Thomas Goddard wrote:
Hi Hernando,
There are two ways to go about this. One is to use the color command
http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/color.html
say 20 times in a script to gradually increase the transparency to 1. You can specify the color as 4 values r,g,b,a in Chimera 1.4 daily builds (but not in 1.3). A second approach is to download a plugin called "Animation Commands" from the Chimera Experimental Features web page (near the bottom):
http://www.cgl.ucsf.edu/chimera/experimental/experimental.html
Installing this gives you the "transition" command which can fade transparency.
http://www.cgl.ucsf.edu/chimera/experimental/transition/transition.html
Tom
hsosa@aecom.yu.edu wrote:
Hi,
Is there a command to control the transparency of a ribbon representation or the whole model ?. I'm trying to fade in an out a molecule (in ribbon + wire atom representation) in movie.
Thanks
Hernando
-- ----------------------------------- Hernando Sosa Dept. of Physiology and Biophysics Albert Einstein College of Medicine 1300 Morris Park Av. Bronx NY 10461 phone (718) 430-3456 FAX (718) 430-8819 email hsosa@aecom.yu.edu -----------------------------------
participants (3)
-
Eric Pettersen
-
hsosa@aecom.yu.edu
-
Thomas Goddard