|
|
"Trevor G Quayle" <Tin### [at] hotmailcom> wrote:
> Warp <war### [at] tagpovrayorg> wrote:
> > NEWS wrote:
> > > i check the bounding of the intersection ... and not the intersection of 2
> > > bounding ...
> >
> > That doesn't tell whether the objects are intersecting or not,
> > only if their bounding boxes are.
> >
> > There's no reasonable way for POV-Ray to tell for sure if two
> > objects are intersecting or not.
>
> What's the disadvantage of what I suggested? Instead of checking for the
> intersecting of bounding boxes, check the min and max extents of a CSG
> intersection. The only odd part is when I test it, when there is no
> intersection, the min-max is not zero, but a very large number, but this
> should still be usable, basically check the min-max of a CSG intersection
> vs the min-max of a CSG union.
>
> -tgq
ok, I did some more testing and it doesn't always work, I guess I just got
lucky with the first couple tests I tried...
-tgq
Post a reply to this message
|
|