Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualKarsten_

Posted 29 November 2012 - 11:53 AM

Hello,

I tend to just use libpng directly.

The following is a very simple example of loading the png into a byte array (ready for uploading to the graphics card)

http://zarb.org/~gc/html/libpng.html

If you would like a library that generates the OpenGL texture for you, then perhaps also have a look at OpenIL (DevIL).

#1Karsten_

Posted 29 November 2012 - 11:51 AM

Hello,

I tend to just use libpng directly.

The following is a very simple example of loading the png into a byte array (ready for uploading to the graphics card)

http://zarb.org/~gc/html/libpng.html

PARTNERS