POV-Ray : Newsgroups : povray.general : tile-able hieghtfields : Re: tile-able hieghtfields Server Time
5 Aug 2024 00:26:28 EDT (-0400)
  Re: tile-able hieghtfields  
From: Christopher James Huff
Date: 13 Jan 2003 21:41:40
Message: <cjameshuff-C212AB.21413213012003@netplex.aussie.org>
In article <3e21c8b9@news.povray.org>,
 "James Taylor" <jim### [at] blueyondercouk> 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] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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