Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: glPolygonStipple() and rotation

  1. #1
    Guest

    glPolygonStipple() and rotation

    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!

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Feb 2000
    Location
    Sweden
    Posts
    3,115

    Re: glPolygonStipple() and rotation

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •