POV-Ray : Newsgroups : povray.animations : build animation from dynamic solver results : Re: build animation from dynamic solver results Server Time
27 Sep 2024 18:14:40 EDT (-0400)
  Re: build animation from dynamic solver results  
From: Warp
Date: 16 Dec 2003 17:30:22
Message: <3fdf877e@news.povray.org>
Each frame of the animation is parsed in the exact same way is if
you were rendering a still (with 'clock' set to the correspondent value).

  This means that for each frame the file will be opened and read from
the beginning.

  There's no other workaround than to "read away" the data at the beginning
of the file in subsecuent frames.
  That is, in the first frame, read the first line of data and create the
scene with it. In the second frame read the first line, forget it, read
the second line and create the scene with it. In the third frame you'll
need to read the first two lines, forget them, and then read the third
line. And so on. A simple loop should do it.

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

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