POV-Ray : Newsgroups : povray.newusers : beginner animation question Server Time
4 Sep 2024 16:18:38 EDT (-0400)
  beginner animation question (Message 1 to 4 of 4)  
From: SplaTTer
Subject: beginner animation question
Date: 1 Oct 2002 04:45:04
Message: <web.3d995e535c725ea05fa049500@news.povray.org>
I want output rendered files (png, tga, whatever) during a while loop.  This
is independent of time. I'm simply reading from a file where each new
would-be frame is just an additional sphere  (see code segment below).  How
do i go about doing this, I didn't find the online tutorials very helpful
in this area and couldn't find any sample code illustrating this.

This is just what i wrote so far, i don't mind going about it in a different
way.  Also for some reason this webbased server doesn't like it when i use
">" or "<" marks so i replaced them with "]" and "[" when i wanted to use
vectors.
Thanks

#while (i < N)

        #read (plasma_file,  v1, v2, v3)

        sphere  {
                [v1, v2, v3], .05
                pigment { rgb [i/N,i/N,1] }
                finish { reflection .5 phong .7 }
                }
                ***  //output to seqential file

           #declare i = i + 1;
#end


Post a reply to this message

From: Tom Melly
Subject: Re: beginner animation question
Date: 1 Oct 2002 05:01:25
Message: <3d996465@news.povray.org>
"SplaTTer" <Spl### [at] mailcitycom> wrote in message
news:web.3d995e535c725ea05fa049500@news.povray.org...

<snip>

You can't create an animation this way - one pov script = 1 image unless you
start using clock, etc.

Check the documentation regarding animations - what you want to do is pretty
straightforward.


Post a reply to this message

From: Ken
Subject: Re: beginner animation question
Date: 1 Oct 2002 06:09:51
Message: <3D997444.787B8891@pacbell.net>
SplaTTer wrote:
> 
> I want output rendered files (png, tga, whatever) during a while loop.  This
> is independent of time. I'm simply reading from a file where each new
> would-be frame is just an additional sphere  (see code segment below).  How
> do i go about doing this, I didn't find the online tutorials very helpful
> in this area and couldn't find any sample code illustrating this.

See - http://www.puzzlecraft.com/cm/ClockMod.html

-- 
Ken Tyler


Post a reply to this message

From: SplaTTer
Subject: Re: beginner animation question
Date: 1 Oct 2002 21:25:10
Message: <web.3d9a49eee91660b281867bee0@news.povray.org>
I realize this was straightforward, i'm new and largely learn by example.
The site that Ken gave was very helpful.

Thanks guys.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.