|
![](/i/fill.gif) |
On Mon, 21 May 2001 16:42:15 -0700, Anton Sherwood wrote:
>Ron Parker wrote:
>> Do you happen to have a formula that will translate a random vector in
>> the unit cube between <0,0,0> and <1,1,1> into a set of basis vectors
>> and give uniform coverage of the space of all possible basis vectors?
>> I seem to have left mine in my other coat.
>
>I forgot to ask: are the noise-vector's components independent?
They should be. If they aren't, we have a bigger problem. :)
--
#macro R(L P)sphere{L F}cylinder{L P F}#end#macro P(V)merge{R(z+a z)R(-z a-z)R(a
-z-z-z a+z)torus{1F clipped_by{plane{a 0}}}translate V}#end#macro Z(a F T)merge{
P(z+a)P(z-a)R(-z-z-x a)pigment{rgbt 1}hollow interior{media{emission T}}finish{
reflection.1}}#end Z(-x-x.2y)Z(-x-x.4x)camera{location z*-10rotate x*90}
Post a reply to this message
|
![](/i/fill.gif) |