Outer polygon fill

classic Classic list List threaded Threaded
3 messages Options
johnk johnk
Reply | Threaded
Open this post in threaded view
|

Outer polygon fill

Hi,
Is it possible to invert the fill of a draped Polygon for areas outside as opposed to inside? I couldn't find a way through the API so if not, what would be the way to approach this? Thanks!
-Johnk
gwaldron gwaldron
Reply | Threaded
Open this post in threaded view
|

Re: Outer polygon fill

No, there is no way to do that.

You might fiddle with the Draping fragment shader (Draping.frag.glsl) and find a way -- but the texture can contain any color at any texel, so the result of an inverted projection is kind of undefined.

Glenn Waldron / Pelican Mapping
johnk johnk
Reply | Threaded
Open this post in threaded view
|

Re: Outer polygon fill

Thanks for the reply. I have been going down some ways to do this and have not come up anything substantial. I'll reply if something sticks :)