|
|
Chris Colefax wrote in message <388f7a39@news.povray.org>...
>Would translating the pigment by random amounts be enough? I use this
>method in the Galaxy include file to produce differently shaped nebulae,
>based on POV-Ray's various noise patterns, eg:
>
> #declare R1 = seed(0);
> #declare Patterns = array[15]
>
> #declare C = 0; #while (C < 15)
> #declare Patterns[C] = pigment {bozo
> translate (<rand(R1), rand(R1), rand(R1)>-.5)*1000}
> #declare C = C + 1; #end
>
>Depending on how random you want the patterns you could add random scalings
>and rotations as well.
thanks, that's just perfect.
Gail
*******************************************************************
* gsh### [at] monotixcoza * ERROR: COFFEE.COM not found *
* http://www.rucus.ru.ac.za/~gail/ * Insert cup and press any key *
*******************************************************************
* Definition of an upgrade: Take the old bugs out, put new ones in*
*******************************************************************
Post a reply to this message
|
|