|
![](/i/fill.gif) |
David Wilkinson wrote:
>
> To make these functions randomly variable, whilst avoiding color reversals would
> be tricky even if a random function was available It looks as if you will have
> to use individual bricks if you want random variation :-(
>
Wouldn't something like that work?
(sin((x+(floor(y)%2)/2)*2*pi)+0.9+noise3d(x, 0, 0)*0.1) *
(sin(2*y*2*pi)+0.9) * z
(with a threshol of 0)
Completely untested though...
OTOH, you do have a "random" function (noise3d) and a modulus funtion
(it's written %) in isosurfaces
--
* Abandon the search for truth, * mailto:ber### [at] iname com
* Settle for a good fantasy. * http://www.enst.fr/~jberger
*********************************
Post a reply to this message
|
![](/i/fill.gif) |