|  |  | Folks,
I wanted to create some irregular spheres ... I created two of these using:
isosurface {
   function { f_sphere(x, y, z, 1)-f_noise3d(x, y, z) }
   contained_by { box { <-2,-2,-2>, <2,2,2> } }
}
this was performed twice.  My problem is that BOTH shapes were identical.  I
had imagined that multiple calls to f_noise3d() would have resulted in
different shapes.
Is this correct?  Any way I can preturb the output of f_noise3d()?
Neil
Post a reply to this message
 |  | 
|  |  | Neil Kolban <kol### [at] kolban com> wrote:
> this was performed twice.  My problem is that BOTH shapes were identical.  I
> had imagined that multiple calls to f_noise3d() would have resulted in
> different shapes.
  If f_noise3d() would return different values for the exact same parameters
at each call, it would be pretty much useless. It would be just a random
number generator, which would not be usable at all in isosurfaces.
> Is this correct?  Any way I can preturb the output of f_noise3d()?
  Just add a constant to one or more parameters to the function
(ie like f_noise3d(x+10, y+5, z)).
-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp - Post a reply to this message
 |  |