|
![](/i/fill.gif) |
"Jaime Vives Piqueres" <jai### [at] ignorancia org> schreef in bericht
news:4be7c030@news.povray.org...
> On 05/06/2010 03:49 PM, Thomas de Groot wrote:
>> Additionally, what you can use to good effect, is the prob() function.
>
> prob()??? ...I've never heard of that function. In fact, the only thing
> I
> can find is prod(), which was also unknown to me, and can't see how would
> use it here.
It is not described in the docs it seems... You can find the probability
macro as the first one in rand.inc. I use it quite often to select between
different plants for instance, or any selection of objects.
>
>> Excellent image (as always).... I am finishing a desert scene which I
>> shall show here soon. Much cruder textures however than your finely
>> realistic ones
>
> I cheated greatly there... ;) there is only one texture for the stones,
> which is a "procedularized" picture of a pebbles bed. I scaled it really
> big, and translated it randomly for each pebble, making the finish also
> random for each one.
Great technique! I shall remember that.
Thomas
Post a reply to this message
|
![](/i/fill.gif) |