Opengl ES sliding texture animation -


i d animate texture on vertex left right. how can this?

my old code is:

        float texcoords[] = {              itextcoord, 0.0f,              itextcoord, 1.0f,              itextcoord+1.0f, 0.0f,              itextcoord+1.0f, 1.0f,          };         this.settexturecoords(texcoords); 

but isnt best:(

you can use glmatrixmode(gl_texture_matrix) , gltranslatef().


Comments

Popular posts from this blog

jQuery clickable div with working mailto link inside -

java - Getting corefrences with Standard corenlp package -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -