PDA

View Full Version : could add some functions to load image?



beginnertom
03-17-2010, 09:47 AM
in my opinion ,loading image is a difficult work.
once i run a projection ,i need to find what kind of loading image method to load my image.
could add some function to opengl stand?
some function like loadDIBBitmap loadJPEG.
i am a beginner .if it exist. pls tell me .where i can find it.

Jacek Nowak
03-27-2010, 12:31 PM
It doesn't belong to OpenGL. OpenGL is only a rendering API, in the same way as Direct3D is.

Image loading belongs to a support library, similar to the way D3DX works. I suggest you use SOIL for that http://www.lonesock.net/soil.html , it has great features, great license and it's very easy to use.

beginnertom
03-30-2010, 09:41 PM
It doesn't belong to OpenGL. OpenGL is only a rendering API, in the same way as Direct3D is.

Image loading belongs to a support library, similar to the way D3DX works. I suggest you use SOIL for that http://www.lonesock.net/soil.html , it has great features, great license and it's very easy to use.
thank you Jacek Nowak.