Fading structures/surfaces in/out

Making a movie using a CMD script I am using something like the following to fade structures in/out transparency 95 :17.het; wait 8 transparency 90 :17.het; wait 8 transparency 85 :17.het; wait 8 transparency 80 :17.het; wait 8 transparency 75 :17.het; wait 8 transparency 70 :17.het; wait 8 transparency 65 :17.het; wait 8 transparency 60 :17.het; wait 8 transparency 55 :17.het; wait 8 transparency 50 :17.het; wait 8 transparency 45 :17.het; wait 8 transparency 40 :17.het; wait 8 transparency 35 :17.het; wait 8 transparency 30 :17.het; wait 8 transparency 25 :17.het; wait 8 transparency 20 :17.het; wait 8 transparency 15 :17.het; wait 8 transparency 10 :17.het; wait 8 transparency 5 :17.het; wait 8 transparency 0 :17.het; wait 8 Is it possible to use the “frames” function in transparency to achieve the same? Assuming that transparency is set to 100% and I want to fade in of course. transp 0,a :17.het frames 160 Best regards // Gustaf

Hi Gustaf, Yes, that is the whole purpose of the “frames” option. Your command is correct to fade in the atoms from 100% transparency… is it not working for you?
transp 0,a :17.het frames 160
If you want to fade in the surface, should be “s” instead of “a”. I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
On Jun 12, 2018, at 1:13 AM, Gustaf Olsson <gustaf.olsson@lnu.se> wrote:
Making a movie using a CMD script I am using something like the following to fade structures in/out
transparency 95 :17.het; wait 8 transparency 90 :17.het; wait 8 transparency 85 :17.het; wait 8 […] transparency 10 :17.het; wait 8 transparency 5 :17.het; wait 8 transparency 0 :17.het; wait 8
Is it possible to use the “frames” function in transparency to achieve the same? Assuming that transparency is set to 100% and I want to fade in of course.
transp 0,a :17.het frames 160
Best regards // Gustaf
participants (2)
-
Elaine Meng
-
Gustaf Olsson