POV-Ray : Newsgroups : povray.animations : Skeletal Animation Saga Continues : Re: Skeletal Animation Saga Continues Server Time
3 May 2024 16:39:33 EDT (-0400)
  Re: Skeletal Animation Saga Continues  
From: melo
Date: 15 Feb 2008 18:25:01
Message: <web.47b61ed2a986a95892254edf0@news.povray.org>
"Chris B" <nom### [at] nomailcom> wrote:
> "melo" <mel### [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 2003-2023 Persistence of Vision Raytracer Pty. Ltd.