The tutorials are on the website...
http://openil.sourceforge.net/tuts/tut_10/index.htm
There are a few "bugs" ( outdated code ) but you should get the general idea..
Bugs:
You are actualy requires to use these lines to initialise; ( tut only says ilutRender(..) )
ilInit();
iluInit();
ilutRenderer(ILUT_OPENGL);
Also functions that has Ogl in thier names actualy has GL in thier names, eg:
ilutOglLoadImage -> ilutGLLoadImage
Other than that the lib is extremely easi to use...
And ofcourse you should rember to include and link to :
il\il.h
il\ilu.h
il\ilut.h
you should be aware that in the past there was some truoble using DevIL with Dev-C++ ( this may have been corrected - if not you can find my workaround repack of version 1.6.1 here : http://decoder.dk/prog/download/ )
gl & happy coding!
/Please excuse my bad spelling - My native language is binary not english
|
Visit me\Take my advice - I don''''t use it...