[cairo] Re: Avoiding seams

Timothée Lecomte timothee.lecomte at ens.fr
Mon Nov 28 15:30:03 PST 2005


mental at rydia.net wrote:

>Quoting Timothée Lecomte <timothee.lecomte at ens.fr>:
>
>  
>
>>* with CAIRO_OPERATOR_SATURATE :
>>       http://tipote.free.fr/wxt-saturate.png
>>    No seam, but first-drawn polygons hide last ones, so to get
>>the desired output, it would imply to render front-to-back and
>>it would add a lot of complexity to my code...
>>    
>>
>
>I don't understand ... if you are already sorting your polygons
>back-to-front, why is it more complicated to sort them
>front-to-back instead?
>
>-mental
>  
>
Because I am not sorting anything at all ! I am writing a rendering
plugin for gnuplot which gives me polygons back-to-front. I can store
gnuplot calls to invert their orders but I would prefer a more
straightforward solution.

Sorry for this misunderstanding.

Timothée


More information about the cairo mailing list