PDA

View Full Version : glPolygonStipple() and rotation



06-19-2003, 12:50 PM
Is there any way to rotate a polygon as well as the 32x32 bitmapped pattern that i've created? In other words, will my polygon stipple rotate along with my polygon? Thanks!

Bob
06-19-2003, 01:20 PM
The pattern is rendered in screen coordinates, independent of the triangles orientation and shape. You can, however, upload the pattern as a texture instead and map it on the object if you want the pattern to follow the it.