![]() |
|
How to loop different images using SOIL.h for OpenGL in c++? - Printable Version +- iDevGames Forums (http://www.idevgames.com/forums) +-- Forum: Development Zone (/forum-3.html) +--- Forum: Programming Languages & Scripting (/forum-8.html) +--- Thread: How to loop different images using SOIL.h for OpenGL in c++? (/thread-9478.html) |
How to loop different images using SOIL.h for OpenGL in c++? - Joy15 - Oct 27, 2011 11:29 PM Hi, Good day. Anyone knows how to load different image using SOIL for OpenGL in c++??? Thanks. RE: How to loop different images using SOIL.h for OpenGL in c++? - ThemsAllTook - Oct 28, 2011 07:40 AM 5 seconds of googling finds the SOIL website, which includes usage instructions. Is there something you're trying to do that the given example doesn't show you? RE: How to loop different images using SOIL.h for OpenGL in c++? - Joy15 - Nov 1, 2011 07:20 PM Well, I like to load multiple images using SOIL.H but I got only the last image. RE: How to loop different images using SOIL.h for OpenGL in c++? - ThemsAllTook - Nov 2, 2011 08:15 AM In what sense? You're calling SOIL_load_OGL_texture twice with different image files, and both of the returned texture IDs draw the second image? Are you passing SOIL_CREATE_NEW_ID as the third parameter both times? If you post the relevant code and a more detailed description of what's happening, it'll be easier to help. I'm having to make a lot of guesses. RE: How to loop different images using SOIL.h for OpenGL in c++? - Joy15 - Nov 2, 2011 06:50 PM yap, I'm passing SOIL_CREATE_NEW_ID actually i need to get all the images in a xml(I'm done with it) then load all the images in a soil. RE: How to loop different images using SOIL.h for OpenGL in c++? - OneSadCookie - Nov 2, 2011 09:04 PM repeated epic question fail RE: How to loop different images using SOIL.h for OpenGL in c++? - ThemsAllTook - Nov 3, 2011 08:37 AM http://www.mikeash.com/getting_answers.html |