View Full Version : How do I load a .TGA file into a texture map ?
05-15-2000, 12:23 AM
can you provide some sources samples ?
Thank You !!!
Look at Nate's page at http://nate.scuzzy.net/ . He got lot of nice stuff. A .TGA loader can be found under 'Common Code' in the main menu. Works nice for me at least.
Look into "OpenGL Tutor", there's a tutorial program that does just this: loading a .TGA file and making it a texture.
05-15-2000, 11:20 PM
i've got 2 error with nate code why ?
main.obj : error LNK2001: unresolved external symbol "int __cdecl loadTGA(char *,int)" (?loadTGA@@YAHPADH@Z)
Debug/SkinMapperGL.exe : fatal error LNK1120: 1 unresolved externals
If you got the code i mentioned, there's no function called loadTGA(). It's called Load().
05-17-2000, 06:19 AM
thanks, it's ok now, no more erros but i don't know how tu use this class .....
can you help me ?
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.