VMD-L Mailing List
From: Axel Kohlmeyer (akohlmey_at_gmail.com)
Date: Fri Mar 09 2012 - 19:35:32 CST
- Next message: lam nguyen: "Re: make movies with user-defined script"
- Previous message: lam nguyen: "Re: make movies with user-defined script"
- In reply to: lam nguyen: "Re: make movies with user-defined script"
- Next in thread: lam nguyen: "Re: make movies with user-defined script"
- Reply: lam nguyen: "Re: make movies with user-defined script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
On Fri, Mar 9, 2012 at 7:34 PM, lam nguyen <lamvn08_at_gmail.com> wrote:
> I tried to install netpbm again. It requires svgalib but I cannot get
> svgalib installed.
no it doesn't. just compile netpbm without svgalib support.
it is unlikely that you'll ever need svgalib.
axel.
>
> Lam
>
>
> On Fri, Mar 9, 2012 at 3:31 PM, lam nguyen <lamvn08_at_gmail.com> wrote:
>>
>> Hi John,
>>
>> Normal built-in movies are fine. Just tried them out. Still cannot use the
>> user-define on linux. :(
>>
>> Lam
>>
>>
>> On Fri, Mar 9, 2012 at 2:27 PM, John Stone <johns_at_ks.uiuc.edu> wrote:
>>>
>>>
>>> Hi,
>>> Before you would be able to make any of the user-defined movies,
>>> you would need to ensure that the "normal" built-in movie types
>>> like the rocking movies work. If you don't have required tools like
>>> NetPBM installed, then there's no way that any of it is going to work
>>> correctly. I recommend you get that fixed first, and once you get the
>>> normal rocking movies running, the user-defined movies should also work.
>>>
>>> Cheers,
>>> John Stone
>>> vmd_at_ks.uiuc.edu
>>>
>>> On Fri, Mar 09, 2012 at 10:10:05AM -0800, lam nguyen wrote:
>>> > Yes I did try those 2 scripts on linux and on macbook. On linux both
>>> > scripts did not work. On mac, one of them worked fine,
>>> > the usermoviefade.tcl did not work.
>>> > If I recall correctly I might have failed installing netpbm on linux
>>> > because I could not install all the dependencies. Would that be the
>>> > problem that gave the error? If yes I will try install netpbm again.
>>> > Thanks,
>>> > Lam
>>> >
>>> > On Thu, Mar 8, 2012 at 10:12 AM, John Stone <johns_at_ks.uiuc.edu>
>>> > wrote:
>>> >
>>> > Hi,
>>> > I'm not sure why you're having trouble there, it seems
>>> > reasonable.
>>> > Perhaps there's a typo in your script that I'm not seeing below.
>>> > What happens if you download and run one of the example
>>> > user-defined
>>> > movie scripts that are posted here:
>>> > http://www.ks.uiuc.edu/Research/vmd/plugins/vmdmovie/
>>> >
>>> > http://www.ks.uiuc.edu/Research/vmd/plugins/vmdmovie/usermovie.tcl
>>> >
>>> > http://www.ks.uiuc.edu/Research/vmd/plugins/vmdmovie/usermoviefade.tcl
>>> >
>>> > Cheers,
>>> > John Stone
>>> > vmd_at_ks.uiuc.edu
>>> > On Mon, Mar 05, 2012 at 10:49:00AM -0800, lam nguyen wrote:
>>> > > Dear all,
>>> > > I want to learn how to make movies with user-defined scripts.
>>> > I
>>> > started
>>> > > with a simple script from the VMD tutorial. Here is the
>>> > content:
>>> > > proc moviecallback { args } {
>>> > > puts "User-defined movie frame update callback frame:
>>> > > $::MovieMaker::userframe
>>> > > / $::MovieMaker::numframes"
>>> > > rotate y by 5
>>> > > }
>>> > > ## Easy-to-use proc to enable the user-defined movie frame
>>> > callback
>>> > > proc enablemoviecallback { } {
>>> > > trace add variable ::MovieMaker::userframe write
>>> > moviecallback
>>> > > }
>>> > > ## Easy-to-use proc to disable the user-defined movie frame
>>> > callback
>>> > > proc disablemoviecallback { } {
>>> > > trace remove variable ::MovieMaker::userframe write
>>> > moviecallback
>>> > > }
>>> > > In the Tk console:
>>> > > source usermovie.tcl
>>> > > enablemoviecallback
>>> > > Then in the movie maker window I chose User defined
>>> > procedure.
>>> > > However I got an error message: Invalid input file expansion
>>> > expression
>>> > > (no ']')
>>> > > Can anyone please tell me what I did wrong here?
>>> > > Thanks
>>> > > Lam
>>> >
>>> > --
>>> > NIH Resource 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/ Fax: 217-244-6078
>>>
>>> --
>>> NIH Resource 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/ Fax: 217-244-6078
>>
>>
>
-- Dr. Axel Kohlmeyer akohlmey_at_gmail.com http://goo.gl/1wk0 College of Science and Technology Temple University, Philadelphia PA, USA.
- Next message: lam nguyen: "Re: make movies with user-defined script"
- Previous message: lam nguyen: "Re: make movies with user-defined script"
- In reply to: lam nguyen: "Re: make movies with user-defined script"
- Next in thread: lam nguyen: "Re: make movies with user-defined script"
- Reply: lam nguyen: "Re: make movies with user-defined script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]