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