PDA

View Full Version : Creating a texture



I_NeedHelp
01-13-2003, 06:56 AM
I need to know how to load an image and create a texture from this image in a Borland C++ builder CONSOLE project. I'm not very familiar with the application projects so i'm using the console.

nexusone
01-13-2003, 07:22 AM
This website has a good example on it.

nehe.gamedev.net



Originally posted by I_NeedHelp:
I need to know how to load an image and create a texture from this image in a Borland C++ builder CONSOLE project. I'm not very familiar with the application projects so i'm using the console.

I_NeedHelp
01-14-2003, 12:05 AM
The thing is dough, all these tutorials use auxDIBImageLoadA. I'm doin a console project and i'm having trouble with this function, i keep gettin the error:
[Linker Error] Unresolved external 'auxDIBImageLoadA' referenced from..
I've included the glaux.h header file. Is there anything else????????????????

Rob Fletcher
01-14-2003, 12:25 AM
Hi

Check out ...
http://www.york.ac.uk/services/cserv/sw/graphics/OPENGL/L16.html

Cheap and cheerful bmp loader as per some of the nehe apps (not aux stuff!)

Rob.

I_NeedHelp
01-14-2003, 12:56 AM
Cooooooooooooooollllll! I haven't even tried it yet but i'm already very confident about it workin. Thanx. If ur in need of a love slave be sure to let me no.....only joking of course.......ahem...........LOL!

nexusone
01-14-2003, 04:12 AM
On my website have a TGA texture loader, needs not outside library to work.

Look at my blackjack or glball demos.
http://www.angelfire.com/linux/nexusone/



Originally posted by I_NeedHelp:
The thing is dough, all these tutorials use auxDIBImageLoadA. I'm doin a console project and i'm having trouble with this function, i keep gettin the error:
[Linker Error] Unresolved external 'auxDIBImageLoadA' referenced from..
I've included the glaux.h header file. Is there anything else????????????????

I_NeedHelp
01-15-2003, 12:38 AM
I got a newer version of glaux form nehe's tutorial 6 and added the line:
#include comment (lib, "glaux.lib")

Everyting works fine now