Results 1 to 3 of 3

Thread: Transform UV's

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2005
    Posts
    6

    Transform UV's

    Hi,

    Does OpenGL have the ability to set a transformation matrix for UV's like DirectX?

    Thanks

  2. #2
    Senior Member Frequent Contributor
    Join Date
    Feb 2004
    Location
    Long Island, New York
    Posts
    569

    Re: Transform UV's

    Are you referring to texture coordinates?

    if so you can use the texture matrix.

    glMatrixMode(GL_TEXTURE);
    glTranslate,rotate,whatever;
    glMatrixMode(GL_MODELVIEW);

  3. #3
    Junior Member Newbie
    Join Date
    Jul 2005
    Posts
    6

    Re: Transform UV's

    Originally posted by Aeluned:
    Are you referring to texture coordinates?

    if so you can use the texture matrix.

    glMatrixMode(GL_TEXTURE);
    glTranslate,rotate,whatever;
    glMatrixMode(GL_MODELVIEW);
    Ah, perfect... thank you!

Similar Threads

  1. conical transform
    By Delusion in forum OpenGL: General
    Replies: 0
    Last Post: 05-12-2010, 09:06 AM
  2. Transform
    By Batabek in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 10-29-2007, 12:24 AM
  3. misunderstanding transform
    By dovkruger in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 01-27-2004, 03:17 PM
  4. why the 3ds mesh has transform??
    By ladykiller in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 02-04-2002, 02:23 AM
  5. transform rotate -> x,y,z
    By imported_aNt in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 10-23-2000, 09:45 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