POV-Ray : Newsgroups : povray.animations : height_field animation : height_field animation Server Time
3 May 2024 01:03:56 EDT (-0400)
  height_field animation  
From: BentLarsen
Date: 19 Jun 2008 11:35:01
Message: <web.485a7b8752ee3a6c70f2ad620@news.povray.org>
Hi all,

I would like to animat a height-field, like an erupting surface or water.
I have managed to get the static height-field.

height_field{png  "heightField_1.png"  smooth
             texture{
                pigment{
                        image_map{
                                  png "teture.png"
                                 }
                       rotate x*90 // lay X-Y image map down onto X-Z height
                       }
                    }
             }

But I dont know how to tell pov-ray to loop
over 300 height-fields;
with every *.png beeing a single frame: heightField_1.png ...
heightField_300.png


Do I have to code a fileName-variable like:
 #while (Count < 300)
    #declare fileName=concat("heightField_", str(A,1,1), ".png")
    #declare Count=Count+1;
but how to tell pov-ray to render automatically and save the frames?

Or is there an easy way by using the clock variable?

thanx in advance!!!
Bent


Post a reply to this message

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