|
|
On Wed, 13 Feb 2002 22:12:31 -0800, Ben Chambers wrote:
>
> "Ron Parker" <ron### [at] povrayorg> wrote in message
> news:slr### [at] fwicom...
>> Correction: it deals with edges that are within a pixel of the edge of the
>> bounding box. This is a far cry from all edges, even for simple boxes and
>> cylinders (consider rotation.)
>
> Hmm... good point... perhaps something along the lines of a stencil buffer?
But then you have a chicken-and-egg problem: how do you produce that buffer
without tracing rays, at least for most objects (including CSGs).
--
#macro R(P)z+_(P)_(P)_(P+1)_(P+1)+z#end#macro Q(C,T)bicubic_patch{type 1u_steps
6v_steps 6R(1)R(3)R(5)R(7)pigment{rgb z}}#end#macro _(Y)#local X=asc(substr(C,Y
,1))-65;<T+mod(X,4)div(X,4)9>-2#end#macro O(T)Q("ABEFUQWS",T)Q("WSXTLOJN",T)#
end O(0)O(3)Q("JNKLCGCD",0)light_source{x 1}// ron### [at] povrayorg
Post a reply to this message
|
|