POV-Ray : Newsgroups : povray.binaries.images : Re: Forest generation (or; crude packing) Server Time
18 Nov 2024 18:49:49 EST (-0500)
  Re: Forest generation (or; crude packing) (Message 1 to 3 of 3)  
From: Mike Williams
Subject: Re: Forest generation (or; crude packing)
Date: 30 Mar 2004 18:53:07
Message: <406a0863@news.povray.org>
I suspect that you're doing something silly that's taking all that time.

This was done with a simplistic collision detection, just like that which
you describe, with no clever bounding or other tricks.
I didn't count placement failures, I just chose a sensible number of trees
to be placed by doing a previous run with a #debug that logs the number of
successful placements.

The parse time was 27 seconds on a 850MHz machine.
--


Post a reply to this message


Attachments:
Download 'fillbox2.jpg' (51 KB)

Preview of image 'fillbox2.jpg'
fillbox2.jpg


 

From: St 
Subject: Re: Forest generation (or; crude packing)
Date: 30 Mar 2004 19:02:41
Message: <406a0aa1@news.povray.org>
"Mike Williams" <nos### [at] econymdemoncouk> wrote in message
news:406a0863@news.povray.org...
> I suspect that you're doing something silly that's taking all that
time.
>
> This was done with a simplistic collision detection, just like that
which
> you describe, with no clever bounding or other tricks.
> I didn't count placement failures, I just chose a sensible number of
trees
> to be placed by doing a previous run with a #debug that logs the
number of
> successful placements.
>
> The parse time was 27 seconds on a 850MHz machine.

  Mike, for me, I really do marvel at your input in various aspects of
PoV.

    Regards,

   ~Steve~




> --
>
>
>


Post a reply to this message

From: Xplo Eristotle
Subject: Re: Forest generation (or; crude packing)
Date: 30 Mar 2004 19:32:45
Message: <406a11ad@news.povray.org>
Mike Williams wrote:

> I suspect that you're doing something silly that's taking all that time.

Perhaps.

> This was done with a simplistic collision detection, just like that which
> you describe, with no clever bounding or other tricks.
> I didn't count placement failures, I just chose a sensible number of trees
> to be placed by doing a previous run with a #debug that logs the number of
> successful placements.

I'm rather curious how you're doing your collision detection. Even when 
choosing "a sensible number of trees", I would expect a much longer 
parse time based on my testing so far, due to the number of collision 
tests I have to make.

-Xplo


Post a reply to this message

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