PDA

View Full Version : How do I draw Hatching using OpenGL?



Ku Lim
05-21-2002, 07:47 PM
How do I draw hatching using OpenGL? Can we use Texture Mapping or Polygon Stipple? There are two methods for applying a pattern to solid polygons. The customary method is texture mapping. Another way is to specify a stippling patern. The problem is stipple patern is not rotated with polygon. Any example please.

harsman
05-22-2002, 01:42 AM
Try here (http://www.cs.princeton.edu/gfx/proj/hatching/) .