POV-Ray : Newsgroups : povray.animations : Skeletal Animation Saga Continues : Re: Skeletal Animation Saga Continues Server Time: 24 Jul 2008 12:18:57 GMT
  Re: Skeletal Animation Saga Continues  
From: melo
Date: 15 Feb 2008 23:25:01
"Chris B" <nomail [at] nomailcom> wrote:
> "melo" <meltemnarter [at] coxnet> wrote in message
> news:web.47b534b08e58508092254edf0@news.povray.org...
> > ...
> > In the second stage of animation marked with #range(1, 2) statement, I
> > attempt
> > to reread the walk01.pov file to know which pose to start the animation
> > and
> > read walk03.pov to know which pose to end the animation.  However, during
> > that
> > second attempt to reread the walk01.pov file which was read ok the first
> > time,
> > the program crashes at the second line of the file claiming it could not
> > be
> > read.
> >
>
> I suspect you just need to close each file once you've finished reading it
> for each frame (See fclose).
>
> Regards,
> Chris B.

Thanks Chris,  I had tried that, however, PoV-RAY complained, when I inserted
fclose statemnts. Read says that when you attempt reading past end of file, it
automatically closes it that is how we know to end the while loop that controls
the reads.

Meltem


Post a reply to this message

Copyright 1991-2004 POV-Team™