POV-Ray : Newsgroups : povray.unofficial.patches : Loading different pictures during an animation ????? : Loading different pictures during an animation ????? Server Time
8 Jul 2024 15:38:06 EDT (-0400)
  Loading different pictures during an animation ?????  
From: Rüdiger Geisler
Date: 5 Jan 2002 08:58:12
Message: <3C370657.DA7C4D49@rz.uni-hildesheim.de>
Can You help me ?

Here is my example file :


camera{   location z*50    look_at  <0,0,0>  }

light_source{ <20,20,50> rgb <1,1,1> }

  #declare Name = concat("\"FR",str(11,0,0),".tga\"")   // this should
be  "FR11.tga"

   sphere {0, 10
    pigment {image_map {tga "FR11.tga" map_type 1 interpolate 2 transmit
255, 1.0}}
 // pigment {image_map {tga Name map_type 1 interpolate 2 transmit 255,
1.0}}       //That's what I wanna write!

      finish {ambient 0.3 diffuse .8}    }



   /*   Hello,
      please have a look at this very short pov.file

      I'm working with Megapov and I'm wondering about strings:

      Why can't I write Name instead of "FR11.tga"  inside the image
map.
      I like to change the number of the picture (11 to 12 to 13 etc.)
      for loading different pics during an animation !!
      How can I do this ?
      Can I do something similar ?
      Thank You for thinking it over.

      Best wishes
      Luck and Blessing
      Ruediger Geisler

    */


Post a reply to this message

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