|
![](/i/fill.gif) |
In article <3AA3CF6E.1DD3F8DD@gmx.de>, Christoph Hormann
<chr### [at] gmx de> wrote:
> I must be quite dumb today, but i don't really get how it works.
One way to look at it is this: it divides the world up into cubes, which
are aligned with the origin. The evaluation point only affects which
cube is chosen, the cube is not centered around the evaluation point. To
get the final result, the values of the corners of the cube are weighted
according to their distance from the evaluation point, and added
together.
> Maybe just send the code to enlighten me.
Not yet...I want to clean it up a bit first, and maybe get it to be a
bit more functional (a user specifiable number of samples, for one
thing).
> Does it perhaps only work on repetitive patterns?
It works on any pattern.
--
Christopher James Huff
Personal: chr### [at] mac com, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tag povray org, http://tag.povray.org/
<><
Post a reply to this message
|
![](/i/fill.gif) |