POV-Ray : Newsgroups : povray.binaries.images : Hogwarts (WIP) (2 pictures) : Re: Hogwarts (WIP) (2 pictures) Server Time
19 Aug 2024 10:18:30 EDT (-0400)
  Re: Hogwarts (WIP) (2 pictures)  
From: Gilles Tran
Date: 13 Jan 2001 11:05:15
Message: <3A607D88.53F46349@inapg.inra.fr>
Robert J Becraft wrote:

> The other problem is the rand function in POV is too regular.  If you create
> a set of random objects in a 50x50 area, and look at them from above, they
> come out looking like a 50x50 box with mostly evenly placed objects.  I'd
> like to have the objects truely randomly placed in the box such that some
> areas were denser than others, leaving clearings etc.

Try using the eval_pigment function in Megapov for this. Define a pigment and
then use the returned value to define the probability of apparition (or scale,
rotation etc.) of the object . You can even use an image_map for this if you
want very tight control.

G.

--

**********************
http://www.oyonale.com
**********************
Graphic experiments
Pov-ray gallery


Post a reply to this message

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