|
|
Wasn't it Tim Nikias v2.0 who wrote:
>
>Rune, can you post a small example where it does
>hit a no_image object?
>
He almost did in his original post, except that there was a tiny typo.
The sphere should have been {0,1 no_image} rather than {1,0 no_image}
// single sphere with no_image is detected by trace
#declare Object = sphere {0,1 no_image}
// sphere with no_image inside union is not!
//#declare Object = union {sphere {0, 0.5} sphere {0, 1.0 no_image}}
#declare N = <0,0,0>;
#declare P = trace(Object,5*y,-y,N);
#debug concat("\n\nP: <",vstr(3,P,",",4,2),"> N:
<",vstr(3,N,",",4,2),">\n\n")
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
|