Nieminen Mika wrote:
>
> Remco de Korte <rem### [at] xs4allnl> wrote:
> : I noticed my story wasn't quite accurate. I talked about planes, but in the code
> : you can see I used (thin) boxes for that. Would that make any difference?
>
> I think yes.
> My idea more exactly: Leave the first plane/box alone but make a union
> from all the planes/boxes behind it and bound this union with a box (or
> cylinder) which is located at the hole in the first plane/box and which
> covers this hole.
> Now povray will test intersections with the first plane/box and the
> bounding box everywhere but in the hole, where it tests intesections with
> all the planes/boxes (instead of testing intersections with all the
> planes/boxes everywhere).
>
Thanks, I'll give it a try. I wonder how significant the speed difference will
be.
Remco
Post a reply to this message
|