From: John Stone (johns_at_ks.uiuc.edu)
Date: Tue Jun 13 2006 - 12:53:17 CDT

Brian,
  Just a little typo there, change that Material3 to "Fade" and you're
all set. Just illustrates how easy it is for me to write a buggy script
when writing an email in a hurry. Sorry about that.

  John

On Tue, Jun 13, 2006 at 10:06:38AM -0700, Brian Bennion wrote:
> Hi John,
>
> The following error occurs when using this script.
>
> >Main< (brian) 22 % for {set opacity 0} {$opacity < 1.0} {set opacity
> [expr $opacity + 0.02]} {
> material change opacity Material3 $opacity
> display update
> }
>
> Unable to change property opacity of material Material3 to 0
>
> I don't understand where the name Material3 came into play in the script.
>
> Brian
>
> On Tue, 13 Jun 2006, John Stone wrote:
>
> >
> >Brian,
> > Ah, yes, that material is now very out of date (thus the warning at the
> >top of the page). In particular, the "color change alpha" command no
> >longer
> >exists, since that has been replaced by the use of materials in VMD.
> >
> >Here's an example that does what you want:
> >
> >material add Fade copy Transparent
> >mol modmaterial 0 0 Fade
> >for {set opacity 0} {$opacity < 1.0} {set opacity [expr $opacity + 0.02]} {
> > material change opacity Material3 $opacity
> > display update
> >}
> >
> > John Stone
> > vmd_at_ks.uiuc.edu
> >
> >On Mon, Jun 12, 2006 at 03:48:21PM -0700, Brian Bennion wrote:
> >>
> >>http://www.ks.uiuc.edu/Research/vmd/workshop/movie.html
> >>
> >>The surface image never fades away to show the tube in the 9pti example.
> >>
> >>Brian
> >>
> >>
> >>On Mon, 12 Jun 2006, John Stone wrote:
> >>
> >>>Brian,
> >>>Can you give me the URL for the example that didn't work?
> >>>It's easy to do, just define a new material, set your rep to use
> >>>the new material, and then change the transparency of the material....
> >>>If you do this in a script, you may have to call 'display update' to
> >>>force VMD to redraw if you're looping in a proc. In any case, if you
> >>>send me the URL of the script that isn't working for you I'll have a
> >>>look,
> >>>fixing it if there's something amiss...
> >>>
> >>>John
> >>>
> >>>
> >>>On Mon, Jun 12, 2006 at 02:41:38PM -0700, Brian Bennion wrote:
> >>>>Hello,
> >>>>
> >>>>Does anyone have a good tcl script that can fade between different reps?
> >>>>One example script on the vmd workshop page doesn't work.
> >>>>
> >>>>Thanks for any help in this regard.
> >>>>
> >>>>Brian
> >>>>
> >>>>
> >>>>************************************************
> >>>> Brian Bennion, Ph.D.
> >>>> Biosciences Directorate
> >>>> Lawrence Livermore National Laboratory
> >>>> P.O. Box 808, L-448 bennion1_at_llnl.gov
> >>>> 7000 East Avenue phone: (925) 422-5722
> >>>> Livermore, CA 94550 fax: (925) 424-5513
> >>>>************************************************
> >>>
> >>>--
> >>>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
> >>>
> >>
> >>************************************************
> >> Brian Bennion, Ph.D.
> >> Biosciences Directorate
> >> Lawrence Livermore National Laboratory
> >> P.O. Box 808, L-448 bennion1_at_llnl.gov
> >> 7000 East Avenue phone: (925) 422-5722
> >> Livermore, CA 94550 fax: (925) 424-5513
> >>************************************************
> >
> >--
> >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
> >
>
> ************************************************
> Brian Bennion, Ph.D.
> Biosciences Directorate
> Lawrence Livermore National Laboratory
> P.O. Box 808, L-448 bennion1_at_llnl.gov
> 7000 East Avenue phone: (925) 422-5722
> Livermore, CA 94550 fax: (925) 424-5513
> ************************************************

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