Results 1 to 4 of 4

Thread: animated texture on Polygon

  1. #1
    Member Contributor
    Join Date
    May 2012
    Posts
    51

    animated texture on Polygon

    How can I set up an animated texture on a polygon? I need this to animate my 2D character on a quad.

  2. #2
    Junior Member Newbie
    Join Date
    Sep 2010
    Posts
    23

    Re: animated texture on Polygon

    Are you able to display a texture on a polygon yet? If yes, then prepare large texture set (an image with small texture tiles one by one). Then, simply replace the texture coordinates ranging from [0,0] to [1,1] according to your need so final animation effects will be achieved

  3. #3
    Member Contributor
    Join Date
    May 2012
    Posts
    51

    Re: animated texture on Polygon

    Do you mean a mini-map texture? I finding it hard to imagine the solution. I can't quiet visualize the "replace texture coordinates element".

    Please if possible could you refer me to a book section or tutorial

  4. #4
    Senior Member Regular Contributor
    Join Date
    Oct 2010
    Location
    France
    Posts
    458

    Re: animated texture on Polygon

    A bit less efficient, but certainly more suitable for you, just change the texture every frame or so.

Similar Threads

  1. How make an animated texture? (OpenGL, DevIL, C++)
    By PocketTNT in forum OpenGL: Basic Coding
    Replies: 9
    Last Post: 05-21-2016, 12:53 AM
  2. Replies: 1
    Last Post: 11-12-2013, 09:54 AM
  3. Texture not showing on animated model
    By EvanV in forum OpenGL: Basic Coding
    Replies: 14
    Last Post: 10-08-2011, 07:17 PM
  4. Animated texture co-ordinates
    By captainfreedom in forum COLLADA
    Replies: 5
    Last Post: 01-30-2009, 12:18 PM
  5. Animated texture problems.
    By Anonymous Coward in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 06-07-2001, 10:07 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