POV-Ray : Newsgroups : povray.binaries.images : Stony ground with ant (218K) : Re: Stony ground with ant (218K) Server Time
31 Jul 2024 10:20:20 EDT (-0400)
  Re: Stony ground with ant (218K)  
From: Jaime Vives Piqueres
Date: 10 May 2010 03:58:17
Message: <4be7bc99$1@news.povray.org>
On 05/06/2010 01:59 PM, Kenneth wrote:
> Very clever!  It seems to eliminate the 'clumping together' that usually
> occurs when using a 'random' distribution. Using eval_pigment, I suppose?
> Must remember this trick!

   No, just using the pigment function on a #if statement against the stone
location:

   #if (f_distrib(stone_location.x,0,stone_location.z).gray<=.5)

   where stone_location was generated randomly over the height_field.

-- 
Jaime Vives Piqueres

http://www.ignorancia.org


Post a reply to this message

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