|
![](/i/fill.gif) |
In article <3e21c8b9@news.povray.org>,
"James Taylor" <jim### [at] blueyonder co uk> wrote:
> Which raises another question - how is the heightfield mapped onto a
> cyinder and sphere in the HF_* macros? take the cylinder{0,y} where does the
> mapping start?
The macros take a function and pass it the actual vertices, and use
return value as the displacement amount. Things like spherical or
cylinderical mapping from this are pretty easy, there are functions
provided for it.
--
Christopher James Huff <cja### [at] earthlink net>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tag povray org
http://tag.povray.org/
Post a reply to this message
|
![](/i/fill.gif) |