POV-Ray : Newsgroups : povray.advanced-users : Terrain with image map? Server Time
25 Nov 2024 12:23:56 EST (-0500)
  Terrain with image map? (Message 1 to 5 of 5)  
From: Erf Merf
Subject: Terrain with image map?
Date: 24 Oct 2002 03:20:03
Message: <web.3db79dfcf6ec25bcd2adf70@news.povray.org>
I am creating an intro animation for a game I'm working on and thought it
would be cool to have a fly-by or fly-around of the main continent in the
game.  I used a height feild to create the terrain as a simply greyscale
image, then colorize that image as a sort of "skin" for my height field.  I
couldn't find any documentation on this anywhere and attempted to use a
image map which didn't work.  Any ideas?


Post a reply to this message

From: Andrew Cocker
Subject: Re: Terrain with image map?
Date: 24 Oct 2002 05:08:33
Message: <3db7b891@news.povray.org>
From the Insert menu:

// uses image color index as height, extends along X-Z axes
// from <0 0 0> to <1 1 1>
height_field {
  png "plasma3.png"
  texture {
    pigment {
      image_map { png "plasma3.png" map_type 0 interpolate 2 once }
      rotate x*90 // lay X-Y image map down onto X-Z height field plane
    }
  }
}

All the best,

Andy Cocker

"Erf Merf" <erf### [at] hotmailcom> wrote in message
news:web.3db79dfcf6ec25bcd2adf70@news.povray.org...
> I am creating an intro animation for a game I'm working on and thought it
> would be cool to have a fly-by or fly-around of the main continent in the
> game.  I used a height feild to create the terrain as a simply greyscale
> image, then colorize that image as a sort of "skin" for my height field.  I
> couldn't find any documentation on this anywhere and attempted to use a
> image map which didn't work.  Any ideas?
>


Post a reply to this message

From: Erf Merf
Subject: Re: Terrain with image map?
Date: 24 Oct 2002 17:45:04
Message: <web.3db869176a7f4797cd2adf70@news.povray.org>
Marvelous!  Its a shame I forgot about the x*90 rotation... that makes
sense... in a creepy sort of way.... thanx for all the help!

~Andrew

..Nice name =)

Andrew Cocker wrote:
>From the Insert menu:
>
>// uses image color index as height, extends along X-Z axes
>// from <0 0 0> to <1 1 1>
>height_field {
>  png "plasma3.png"
>  texture {
>    pigment {
>      image_map { png "plasma3.png" map_type 0 interpolate 2 once }
>      rotate x*90 // lay X-Y image map down onto X-Z height field plane
>    }
>  }
>}
>
>All the best,
>
>Andy Cocker
>
>"Erf Merf" <erf### [at] hotmailcom> wrote in message
>news:web.3db79dfcf6ec25bcd2adf70[at]news.povray.org...
>> I am creating an intro animation for a game I'm working on and thought it
>> would be cool to have a fly-by or fly-around of the main continent in the
>> game.  I used a height feild to create the terrain as a simply greyscale
>> image, then colorize that image as a sort of "skin" for my height field.  I
>> couldn't find any documentation on this anywhere and attempted to use a
>> image map which didn't work.  Any ideas?
>>
>


Post a reply to this message

From: Andrew Cocker
Subject: Re: Terrain with image map?
Date: 25 Oct 2002 10:59:28
Message: <3db95c50$1@news.povray.org>
> ..Nice name =)

What do you mean?

Andy Cocker


Post a reply to this message

From: hughes, b 
Subject: Re: Terrain with image map?
Date: 25 Oct 2002 13:47:58
Message: <3db983ce$1@news.povray.org>
"Andrew Cocker" <mai### [at] andrewcockercouk> wrote in message
news:3db95c50$1@news.povray.org...
> >
> > ~Andrew
> >
> > ..Nice name =)
>
> What do you mean?

Another Andrew. I don't think Erf Merf is his real name (either that or
Andrew is a nick, ha ha) so he signed that. Guess you thought he was saying
yours.


Post a reply to this message

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