POV-Ray : Newsgroups : povray.general : Preventing Randomly Placed Objects to Stick into Each Other : Re: Preventing Randomly Placed Objects to Stick into Each Other Server Time
2 Aug 2024 00:18:00 EDT (-0400)
  Re: Preventing Randomly Placed Objects to Stick into Each Other  
From: stm31415
Date: 18 Feb 2005 15:35:00
Message: <web.421650ee7850becd9b0dd50e0@news.povray.org>
I would say that you ought to be able to use a loop that re-defines the
object that you are trace()ing to include the objects you are dropping...
this would, however, lead you to have stacked objects.
Or you could, as suggested, make an array of placed objects, and use mins
and maxes to keep out of trouble.
So it probably depends on what the application is. do you want a flat layer
fo objects, or just randomly place non-intersecting objects?

-S
5TF!


Post a reply to this message

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