[Bf-vfx] Normal Use Case for Masking

Tom M letterrip at gmail.com
Tue Apr 10 19:34:49 CEST 2012


I suspect that the rasterization will be a few ms of the overall time
spent, and thus further optimization work won't affect overall time much.
 Of course I could be wrong :)

LetterRip

On Tue, Apr 10, 2012 at 10:31 AM, pete larabell <xgl.asyliax at gmail.com>wrote:

> Hey all,
>
> Quick question:
>
> In designing the rasterizer for the 2D mask editor, I see that I have
> a choice to make.
>
> Option-A.) I can rasterize any polygon whatsoever with a very
> straightforward method. No problems. (this is how it works right now)
>
> but...
>
> B.) If the polygon (the mask) edges only intersect any given scan line
> only twice (meaning enter poly... then leave poly... never re-enter
> poly on this scan line) then the polygon could be rasterized at higher
> speed. (can be implemented now, or added later, without
>
> so...
>
> Here is the question:
>
> It is worth a slight performance hit to TEST the mask for
> Option-B-Compliance, which if it DOES pass, makes it faster to draw,
> or just skip it since "most of the time" the mask will fail the
> Option-B-Compliance test anyway?
>
> Not being a VFX guy I can't really judge what the typical use case is...
>
> Any feedback would be welcome.
>
> Cheers!
> Peter
> _______________________________________________
> Bf-vfx mailing list
> Bf-vfx at blender.org
> http://lists.blender.org/mailman/listinfo/bf-vfx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-vfx/attachments/20120410/e6bc8f7b/attachment.htm 


More information about the Bf-vfx mailing list