POV-Ray : Newsgroups : povray.general : piles of gold coins : Re: piles of gold coins Server Time
1 Aug 2024 14:32:17 EDT (-0400)
  Re: piles of gold coins  
From: Skip Talbot
Date: 18 Sep 2005 15:56:12
Message: <432dc65c@news.povray.org>
I assume you are using many while loops, one for each layer?  You could 
embed another while loop so that the entire pile is made.  A little more 
math for you to figure out, but it still shouldn't be as complicated as 
the advanced macros the others have suggested.

You could also make some tall vertical stacks of coins too.  Throw in 
another while with your cylinders and just translate them up with the 
count variable.  You could also add a random translate in the x and z 
directions so they don't perfectly line up as they go up too.  Crazy, 
leaning stacks of coins with pyramid piles would look pretty neat.

Skip


Post a reply to this message

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