|
![](/i/fill.gif) |
Ron Parker <ron### [at] povray org> wrote:
: 1. Find all intersections.
: 2. Pop an intersection off the stack. If none remains, no intersection
: with this object occurred.
: 3. Test to see if that intersection is inside any subobject other than the
: one it is on the surface of. If so, throw it away and go to 2.
Yes, pretty simple.
How do you know that the point is inside an object? You ask that
object "hey! is this point inside you?"?
--
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
|
![](/i/fill.gif) |