Visibility against an unknown background

Sergei Organov osv at javad.com
Wed Oct 25 11:24:38 CEST 2006


Fredrik Lundh <fredrik at pythonware.com> writes:
> Sergei Organov wrote:
>
[...]
>> Where "most cases" depends on application. I'd be very upset to see,
>> say, 5-6 highly intersecting scientific plots on the same picture drawn
>> using the "marching ants" approach.
>
> but the mostly random colors you get from XOR wouldn't upset your color 
> vision subsystem?

Here I don't care much about particular colors, -- it's enough for them
to be different.

> to solve your specific case, I'd use bitmask algebra to generate alpha 
> layers (or masks/stencil buffers), and use standard compositing to 
> generate the final result.

Well, it's enough for me to know that you won't use marching ants for
that ;)

-- Sergei.




More information about the Python-list mailing list