Re: How do generate Stipple pattern for polygon filling

Posted by gouessej on
URL: https://forum.jogamp.org/How-do-generate-Stipple-pattern-for-polygon-filling-tp4032556p4032559.html

Hi

This example uses JOGL 1 and is incomplete. I advise you to look at my dummy example here:
http://en.wikipedia.org/wiki/Java_OpenGL#Code_example

Then, just port the example of stipple pattern to JOGL 2 and incorporate it into my example. You just have to replace GL by GL2, it shouldn't be very hard.
Julien Gouesse | Personal blog | Website