POV-Ray : Newsgroups : povray.general : Animating IMAGE Maps (Sorry) Server Time
6 Aug 2024 19:31:36 EDT (-0400)
  Animating IMAGE Maps (Sorry) (Message 1 to 8 of 8)  
From: Mitchell Waite
Subject: Animating IMAGE Maps (Sorry)
Date: 11 Feb 2002 23:57:56
Message: <3c68a0d4@news.povray.org>
Question for experts here.

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.

thanks,

Mitch


Post a reply to this message

From: Chris Colefax
Subject: Re: Animating IMAGE Maps (Sorry)
Date: 12 Feb 2002 00:08:21
Message: <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

From: bob h
Subject: Re: Animating IMAGE Maps (Sorry)
Date: 12 Feb 2002 03:53:53
Message: <3c68d821@news.povray.org>
"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?
>
> 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}})
>
> 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.

Unless he wants a series of image files fed into POV, in which case the way
I do it is with inxframe.inc (see URL below, click on animated gif at top or
scroll down).
But the pigment change one to another would make for a simpler way as long
as no intermediate images with many different variations were needed.
Although I'm sure that could probably be accomplished in that way too with a
set of image replacements.

http://hometown.aol.com/xyzunknown/linker.htm

bob h


Post a reply to this message

From: Mitchell Waite
Subject: Re: Animating IMAGE Maps (Sorry)
Date: 12 Feb 2002 13:14:41
Message: <3c695b91@news.povray.org>
Bob when I click on the animated gif I get a page not found error. Its tried
to go to

http://hometown.aol.com/xyzunknown/private/inxframe.zip

"bob h" <omn### [at] charternet> wrote in message
news:3c68d821@news.povray.org...
> "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?
> >
> > 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}})
> >
> > 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.
>
> Unless he wants a series of image files fed into POV, in which case the
way
> I do it is with inxframe.inc (see URL below, click on animated gif at top
or
> scroll down).
> But the pigment change one to another would make for a simpler way as long
> as no intermediate images with many different variations were needed.
> Although I'm sure that could probably be accomplished in that way too with
a
> set of image replacements.
>
> http://hometown.aol.com/xyzunknown/linker.htm
>
> bob h
>
>
>


Post a reply to this message

From: Mitchell Waite
Subject: Re: Animating IMAGE Maps (Sorry)
Date: 12 Feb 2002 13:15:54
Message: <3c695bda$1@news.povray.org>
Opps now it worked, sorry.
Thanks for the tip, I think this might be just what I need!

"bob h" <omn### [at] charternet> wrote in message
news:3c68d821@news.povray.org...
> "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?
> >
> > 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}})
> >
> > 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.
>
> Unless he wants a series of image files fed into POV, in which case the
way
> I do it is with inxframe.inc (see URL below, click on animated gif at top
or
> scroll down).
> But the pigment change one to another would make for a simpler way as long
> as no intermediate images with many different variations were needed.
> Although I'm sure that could probably be accomplished in that way too with
a
> set of image replacements.
>
> http://hometown.aol.com/xyzunknown/linker.htm
>
> bob h
>
>
>


Post a reply to this message

From: Mitchell Waite
Subject: Re: Animating IMAGE Maps (Sorry)
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

From: Chris Colefax
Subject: Re: Animating IMAGE Maps (Sorry)
Date: 12 Feb 2002 20:21:25
Message: <3c69bf95@news.povray.org>
Mitchell Waite <mit### [at] dnaicom> wrote:
> Excuse my ignorance but is Pigment_From a function that I can find
> somewhere, or just a prototype of an idea?

All the examples I gave use the Automatic Clock Modifier macros, which you
can download from my page at http://www.geocities.com/ccolefax, download
mirror at http://home.iprimus.com.au/ccolefax/pov.  The macros are an
extension of the original Clock Modifier include file, which offers a
predefined set of "clock types" (methods of interpolating between values
based on the clock).  Full documentation is included for all features, and
from the page above you'll find a link to a tutorial written by Steve
Strickland that covers using these functions in a step-by-step way.


Post a reply to this message

From: bob h
Subject: Re: Animating IMAGE Maps
Date: 13 Feb 2002 01:47:37
Message: <3c6a0c09@news.povray.org>
"Chris Colefax" <chr### [at] tagpovrayorg> wrote in message
news:3c69bf95@news.povray.org...
>
> All the examples I gave use the Automatic Clock Modifier macros, which you
> can download from my page at http://www.geocities.com/ccolefax

Which is a really great thing for POV-Ray animation, just one of many things
there.  Repeating myself, but I still love the things Mr. Colefax has made
available for us all.

bob h


Post a reply to this message

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