Results 1 to 2 of 2

Thread: Skewing An Image

  1. #1
    Junior Member Newbie
    Join Date
    Nov 2010
    Location
    Australia
    Posts
    1

    Skewing An Image

    Hi,

    Total OpenGL user here, I am trying to use it in an iPhone project. Basically I want to let a user skew an image.

    I've followed the tutorial from here:

    http://iphonedevelopment.blogspot.co...part-6_25.html

    and get:


    which converts to:


    How can I get it to skew without the fold in the middle?

    I'm guessing it's due to GL_TRIANGLE_STRIP, but not sure what approach to take next. Do I make a lot of small triangles or is there an easy way?

    Thanks

  2. #2
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,574

    Re: Skewing An Image

    Have a read on this :
    http://xyzw.us/~cass/qcoord/

Similar Threads

  1. Sprite Skewing Problem
    By Aare1 in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 02-05-2012, 05:58 PM
  2. Skewing of glut primitives problem!
    By link664 in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 05-18-2005, 09:53 PM
  3. Skewing of glut primitives problem!
    By link664 in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 05-18-2005, 03:58 AM
  4. Skewing with a matrix ?
    By in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 06-14-2003, 01:35 AM
  5. Texture skewing...
    By gtada in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 08-21-2001, 11:02 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