|
|
"George Pantazopoulos" <go### [at] tomyaboutpage> wrote:
> Another way would be, as Christopher Hormann mentioned, to create an
> acceleration structure. In simple terms, instead of checking all plants
> every time you need to check a given plant's neighbors, you check a subset,
> ie the nearest plants within a given radius.
>
> A simple techinque you may be able to try is to divide up your plants into
> cubic regions, and only check the plants that reside inside the cube
> containing the original plant, plus a certain number of surrounding cubes.
That's exactly what I intended to implement next!
Norbert
Post a reply to this message
|
|