Results 1 to 3 of 3

Thread: q3 like texture animation

  1. #1
    Member Newbie
    Join Date
    Oct 2001

    q3 like texture animation


    Anyone got a clue on how to implement the texture coordinate manipulations seen in q3 shaders.

    I know that there are a texture matrix and it should not be so difficult to make scroll, rotate and scale with it. But can it be used for stretch and turb? If so how, if not how?



  2. #2
    Junior Member Newbie
    Join Date
    Jun 2002

    Re: q3 like texture animation

    i can't tell you but i just recently saw a page with full source code of a q3 renderer... which loads all the shaders and shows them (more or less) correctly.. maybe you'll find there a hint..

    greets veal
    i am no openGL master... i likely just replied because noone else did up to now :P

  3. #3
    Senior Member OpenGL Pro
    Join Date
    Jun 2000
    Shreveport, LA, USA

    Re: q3 like texture animation

    Quake3's renderer does not use the texture matrix at all. It transforms the texture coordinates on its own, because the use of the OpenGL texture matrix lead to inefficient or just plain broken code paths in some OpenGL implementations.

Similar Threads

  1. Animation name
    By Vespa in forum COLLADA
    Replies: 1
    Last Post: 10-14-2009, 04:51 AM
  2. Sprite Animation / Texture Animation
    By Rodrix in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 03-11-2007, 10:36 PM
  3. Animation
    By tip in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 03-17-2005, 05:49 AM
  4. texture animation
    By Visualc++ in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 09-02-2002, 07:34 PM
  5. Texture and animation = problems
    By Tresher in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 08-11-2002, 08:40 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