|
![](/i/fill.gif) |
On Wed, 09 May 2001 23:37:51 -0700, Anton Sherwood wrote:
>"crackle metric infinite"
>replaces (dx^n + dy^n + dz^n)^(1/n) with max(dx,dy,dz)
This one's pretty easy, and certainly nicer than the current solution of
just setting the metric really high and waiting.
>"crackle tumbled"
>randomly rotates, for each nucleus, the coordinate axes on which
>dx,dy,dz are computed. (has no effect on metric 2.) without this, the
>`grains' all line up alike, which is generally not how real minerals
>behave.
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.
--
#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{rgbf 1}hollow interior{media{emission 3-T}}}#end
Z(-x-x.2x)camera{location z*-10rotate x*90normal{bumps.02scale.05}}
Post a reply to this message
|
![](/i/fill.gif) |