|
|
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
|
|