Re: [osg-users] How to fill a polygon with a hatch pattern

2014-07-14 Thread Robert Osfield
Hi Christoph, Have a look at the osggeometry example as it illustrates how to use osg::PolygonStipple (wraps up glPolygonStipple). Robert. On 10 July 2014 14:50, Christoph Dohmen christoph.doh...@cae.de wrote: Hi, I have to fill a given polygon with a hatch pattern. The pattern could be

[osg-users] How to fill a polygon with a hatch pattern

2014-07-11 Thread Christoph Dohmen
Hi, I have to fill a given polygon with a hatch pattern. The pattern could be horizontal, vertical, diagonal or a combination of them. Is it possible to define a state or add something to the drawable to achieve this? Thank you! Cheers, Christoph -- Read this topic online

Re: [osg-users] How to fill a polygon with a hatch pattern

2014-07-11 Thread Chris Hanson
On Thu, Jul 10, 2014 at 7:50 AM, Christoph Dohmen christoph.doh...@cae.de wrote: Hi, I have to fill a given polygon with a hatch pattern. The pattern could be horizontal, vertical, diagonal or a combination of them. Is it possible to define a state or add something to the drawable to achieve