POV-Ray : Newsgroups : povray.binaries.images : Cell city (35 kbbu) : Re: Cell city (35 kbbu) Server Time
19 Aug 2024 16:16:02 EDT (-0400)
  Re: Cell city (35 kbbu)  
From: Christoph Hormann
Date: 8 Nov 2000 15:06:51
Message: <3A09B254.B34CC756@schunter.etc.tu-bs.de>
"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] gmxde>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

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