POV-Ray : Newsgroups : povray.binaries.images : city buildings-- WIP 9_29_2020 : Re: city buildings-- WIP 9_29_2020 Server Time
27 Apr 2024 20:50:21 EDT (-0400)
  Re: city buildings-- WIP 9_29_2020  
From: jr
Date: 1 Oct 2020 17:25:09
Message: <web.5f76481832341a554d00143e0@news.povray.org>
hi,

"Kenneth" <kdw### [at] gmailcom> wrote:
> Thomas de Groot <tho### [at] degrootorg> wrote:
> > I think there is a fairly simple way [for collision detection], close to what
> > Bill suggested, by
> > using (1) random placement on the roof and (2) if more objects are to be
> > placed to test collisions using the inside(O,V) function...
>
> The inside(...) function-- that tool sounds really useful for this. I've
> actually never used it before(!) Thanks, Thomas. Now I need to do some hard
> thinking (ouch).

I wrote a macro based on 'inside()' for the purpose (ie getting the smallest
"axis-aligned" bounding box), maybe it'll be of use.

<http://news.povray.org/web.5dc0bff634d8ef06feeb22ff0%40news.povray.org>

> ...


regards, jr.


Post a reply to this message

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