OGL Texture mapping for dummies?
I have downloaded a couple of texture mapping tuts for OpenGL, but they all seem to be really complex. Is there no relatively simple way to load a texture into OGL, and use it (actually it''s the initialisation and loading thing that gets me.. not the use)
Thanks
---
Matt Benic
"Ummm, you mean this aint bubba's-house-of-hillbilly?"
What type of files do you want to load to use as texture maps? BMPs? TGA? PNG? JPG? GIF?
OpenGL just wants a memory buffer from you in RGB, RGBA (or perhaps some other format depending upon extentions supported). OpenGL has no knowledge of specific file types, though it is relatively painless to use ''RAW'' bitmap files as OpenGL textures using basic file-reading code.
Knowing what types of files you''d like to load to use as textures would make it much more likely that I could point you in the right direction on how to proceed.
OpenGL just wants a memory buffer from you in RGB, RGBA (or perhaps some other format depending upon extentions supported). OpenGL has no knowledge of specific file types, though it is relatively painless to use ''RAW'' bitmap files as OpenGL textures using basic file-reading code.
Knowing what types of files you''d like to load to use as textures would make it much more likely that I could point you in the right direction on how to proceed.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement