Hello all,
I would like to read in image files (i.e. gif, jpg, etc…) and use them as textures. I cannot seem to figure out how to do this in my OpenGL. Can anyone help or suggest anything? Keep in mind that I am fairly new to OpenGL.
Thanks
Hello all,
I would like to read in image files (i.e. gif, jpg, etc…) and use them as textures. I cannot seem to figure out how to do this in my OpenGL. Can anyone help or suggest anything? Keep in mind that I am fairly new to OpenGL.
Thanks
gl don’t handle image loading of any kind. you need to get raw data to memory some way yourself (try google and type something like jpeg loader ) btw jpegs aren’t just the best for textures…