|
 |
"Greg M. Johnson" wrote:
>
> Did you release that code? It would be neat to have a smooth iso/ triangle
> solution that looks just like this. PeterC was nice to show me code that could
> make something similar, but even after I tinkered with it, it still did not have
> this wonderful structured, city-like feel to it. This structure is more than
> simply boxes of random heights translated to random y values. Maybe the problem is
> that I don't understand the math here as much as I think I do.....
The function was displayed in the picture, it was:
function { (sin(x*3-1)-0.2) & (sin(y*3+2)-0.2) & (sin(z*3-1)-0.2) }
but it was just a regular grid, so it would take quite a lot of work to change
it into something like your pict.
I had a look at the 'cells' pattern source code and found it would not be very
difficult to "smooth" it for better use in isosurface functions. Of course the
result would differ from your picture.
Christoph
--
Christoph Hormann <chr### [at] gmx de>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
 |