|
|
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).
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|