POV-Ray : Newsgroups : povray.newusers : f_noise3d deterministic : Re: f_noise3d deterministic Server Time
30 Jul 2024 00:18:54 EDT (-0400)
  Re: f_noise3d deterministic  
From: Warp
Date: 22 Dec 2004 19:25:48
Message: <41ca108c@news.povray.org>
Neil Kolban <kol### [at] kolbancom> 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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.