Does anyone have any texture loader or library (c++ and opengl)?
Hi friends!
Does anyone have any texture loader or library? Something like DEVIL or SOIL?
I tried to convert SOIL to iPhone but I was unsuccesful.
http://www.lonesock.net/soil.html
How do you load opengl textures using c++ on the iphone?
Thanks a lot.
EDIT: Well, SOIL works fine on the simulator (after removing DDS crap), but not on the iphone, it tells me does not find any texture. Any idea?
Does anyone have any texture loader or library? Something like DEVIL or SOIL?
I tried to convert SOIL to iPhone but I was unsuccesful.
http://www.lonesock.net/soil.html
How do you load opengl textures using c++ on the iphone?
Thanks a lot.
EDIT: Well, SOIL works fine on the simulator (after removing DDS crap), but not on the iphone, it tells me does not find any texture. Any idea?
XCode will mangle PNG images to a different (non-standard) format, which is then stored on the device. This doesn't happen on the simulator. You can disable this by specifying the complie option IPHONE_OPTIMIZE_OPTIONS=-skip-PNGs. See the following link: http://discussions.apple.com/thread.jspa...6&tstart=0
Another problem that newcomers run into is file pathing. The actual texture file is stored in a different file path on your device. Again, search the archieves for more information about directory structure and image loading.
Another problem that newcomers run into is file pathing. The actual texture file is stored in a different file path on your device. Again, search the archieves for more information about directory structure and image loading.
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| opengl es strange 16bit texture scale problem | spuckfunkel | 6 | 7,374 |
Aug 14, 2011 10:44 PM Last Post: headkaze |
|
| SOIL image library problem or texture lib problem | hippocoder | 12 | 7,355 |
Mar 22, 2010 08:51 PM Last Post: Frank C. |
|
| Increasing brightness of texture in OpenGL | dsedov | 3 | 4,846 |
Jul 29, 2009 03:00 PM Last Post: arekkusu |
|
| how to draw to OpenGL texture | Gillissie | 7 | 5,800 |
Apr 24, 2009 06:35 AM Last Post: AnotherJake |
|
| OpenGl ES Texture Problems | jhbau1000 | 4 | 3,727 |
Mar 24, 2009 02:41 PM Last Post: AnotherJake |
|

