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
    2,978

    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.

Similar Threads

  1. glPolygonStipple
    By remdul in forum OpenGL: Advanced Coding
    Replies: 9
    Last Post: 01-11-2012, 06:04 PM
  2. Matrix Rotation loses 1 axes of rotation
    By Benzino in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 02-15-2011, 06:53 AM
  3. Display corruption caused by glPolygonStipple
    By codewings in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 01-31-2011, 12:26 AM
  4. glPolygonStipple Pattern !!
    By Usman in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 11-05-2010, 04:37 PM
  5. changing axis of rotation and center of rotation in openGL performer
    By ravishashi in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 07-08-2003, 04:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean