On Thu, Jul 10, 2014 at 7:50 AM, Christoph Dohmen <[email protected]> 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 this? > This would normally be done with a texture, right? Are you talking about a screen-space hatch pattern? You could still do it with a custom texture matrix, or a shader. -- Chris 'Xenon' Hanson, omo sanza lettere. [email protected] http://www.alphapixel.com/ Training • Consulting • Contracting 3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL Digital Imaging • GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography • Digital Audio • LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android @alphapixel <https://twitter.com/alphapixel> facebook.com/alphapixel (775) 623-PIXL [7495]
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

