POV-Ray : Newsgroups : povray.advanced-users : Randomizing pattern functions : Re: Randomizing pattern functions Server Time
28 Jul 2024 20:33:16 EDT (-0400)
  Re: Randomizing pattern functions  
From: Dan P
Date: 12 Jan 2004 19:04:46
Message: <4003361e$1@news.povray.org>
"Mike Williams" <nos### [at] econymdemoncouk> wrote in message
news:nEM### [at] econymdemoncouk...
> Wasn't it David Wallace who wrote:
> >If you are going to generate a large number of rocks you might want to
pass
> >an actual seed into the macro rather than just an integer.  That way you
get
> >new rocks each time you call the macro.
>
> But that very fact makes it less appropriate for Daniel's original
> purpose. He wanted to LOOK at a a large number of rocks, and then choose
> a few that happened to look nice to use in a real scene. So it's more
> appropriate to have a macro that produces the same rock when passed the
> same parameters.

No matter what, though, Mike's way of translating it before it gets to the
function works. They're both good ideas depending upon the usage. For
example, David's idea would be great for automagically creating a rock bed.


Post a reply to this message

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