[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re[2]: [Gnash-dev] Re: point test

From: Bastiaan Jacques
Subject: Re[2]: [Gnash-dev] Re: point test
Date: Mon, 5 Nov 2007 10:33:55 +0100 (CET)

On Mon, 5 Nov 2007, Udo Giacomozzi wrote:

Ok, but what is effectively "normalizing"?

SS> Building valid topologies from invalid ones (if worth it).

Sorry, still don't get it :( Can you use simple words instead?

I'm good at simple words. Normalizing refers to the process of
transforming a set of paths that define a single shape to a set of paths
in which every path has only a single fill style. One way to do this is
to duplicate paths with two fill styles and then reversing one of the
duplicates. One might described a normalized set of paths as homogenous.

Normalization is necessary at least for OpenGL, because it does not know
how to deal with paths, for one thing.

The OpenGL renderer takes the result of the normalization process and
then proceeds to extract contours from the paths (by seeing which paths
connect), which it can then feed into the tesselator.

I am still not sure if this is required for Cairo, because although our
Cairo renderer gets filling right 99% of the time, there is still the
1%. Also, I have seen code in Swfdec which does exactly as I described
in the paragraphs above (swfdec uses Cairo).

...Anyway, I hope the concept is clear now.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]