I need to apply dash patterns to lines such that the patterns scale with the window size. I’m using the regular stipple functions right now, but when the window is resized the pattern doesn’t shrink or expand to preserve the number of dashes on a given line.
Is this something that can be done with textures (or some other method)? If so, does anyone know of a good tutorial on applying 1-D textures to lines? I’ve searched high and low and have found nothing. Thanks in advance for any help you can offer.