loading .gifs?
Hey iv got 2 questions
1) does any one know a way to load gifs for texture use in opengl? like set the texture for the triangle to file "test.gif" frame 3 or somthing like that any ideas?
2) and how do you set open gui to use pixles not...what ever it uses? like so 0 0 is top left of the screen and 0 1 is open pixle down? that is for some Gui im trying to do.
Well thanks in advanced.
1) You should find GIF format spec on wotsit.
2) Use ortho mode: glOrtho( 0, width, 0, height, -1, 1 ); There is a tutorial on nehe with more info how to do this.
2) Use ortho mode: glOrtho( 0, width, 0, height, -1, 1 ); There is a tutorial on nehe with more info how to do this.
You should never let your fears become the boundaries of your dreams.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement