POV-Ray : Newsgroups : povray.general : piles of gold coins : Re: piles of gold coins Server Time
1 Aug 2024 14:28:12 EDT (-0400)
  Re: piles of gold coins  
From: Florian Brucker
Date: 4 Sep 2005 18:08:40
Message: <431b7068$1@news.povray.org>
> Ok I am doing a series of pic involving dragons. Now I came to the part in
> the script when I need to do a dragon den with piles of gold coins
> everywhere. Obviously making a coin is easy. but is there an easier way to
> make piles of coins without typing out a thousand cylinders?

There are two possible solutions to calculate the placement of the coins:

1. A simulation system (e.g. MechSim): Could be hard to setup, could 
take long to calculate, but will give you very good results, even for 
close-ups.

2. Some sort of distribution algorithm. Difficulty goes from very easy 
to almost impossible, I guess, same goes for calculation time and 
quality of the result. If you don't need close-ups, you're probably 
better off with this solution, because you won't see the intersections then.


HTH,
Florian


Post a reply to this message

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