POV-Ray : Newsgroups : povray.general : Animating IMAGE Maps (Sorry) : Re: Animating IMAGE Maps (Sorry) Server Time
6 Aug 2024 19:30:16 EDT (-0400)
  Re: Animating IMAGE Maps (Sorry)  
From: Mitchell Waite
Date: 12 Feb 2002 20:08:52
Message: <3c69bca4@news.povray.org>
Excuse my ignorance but is Pigment_From a function that I can find
somewhere, or just a prototype of an idea?

Mitch

"Chris Colefax" <chr### [at] tagpovrayorg> wrote in message
news:3c68a345@news.povray.org...
> Mitchell Waite <mit### [at] dnaicom> wrote:
> > Is there a way to animate an image map in POV Ray that is draped on a
> height
> > map of a terrain?
> >
> > My idea is to have a succession of image maps that are slightly
different
> > and move them in and out of POV Ray as I render but I have no clue on
how
> to
> > do that.
>
> I had suspicions you meant image maps, rather than colour maps in your
last
> message.  The second example I posted, then, should do the trick, or you
> could use the Pigment_From and To statements, e.g.:
>
> pigment {
>     Pigment_From (0, pigment {image_map {tga "image1" interpolate 2}})
>     Pigment_To (1, pigment(image_map {tga "image2" interpolate 2}})
>     }
>     [...transform to fit your landscape...]
>     }
>
> This smoothly shifts from one image map to the other, and the file
includes
> plenty of options that let you control just how the shifting takes place.
>
>


Post a reply to this message

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