PDA

View Full Version : I know how to map a texture. how do i make a picture be a texture?



grady
09-13-2000, 02:15 PM
How do i get a picture file loaded as a texture.

Antonio
09-13-2000, 04:39 PM
Check out
http://www.fatech.com/tech/opengl/index....tures&palavras= (http://www.fatech.com/tech/opengl/index.shtml?seccao=opengl&tipo=tutorials&subtipo=textures&palavras=)

There are plenty of links to tutorials about textures in there.

grady
09-13-2000, 07:01 PM
Thanks alot antonio

ceenda
09-14-2000, 04:39 AM
Hi there grady.

Both the engines on my site come with source code and both have a standalone bmp_load.c that contains code that you might find useful in loading Windows BMP files. http://www.opengl.org/discussion_boards/ubb/smile.gif

grady
09-14-2000, 02:35 PM
Ok thanks ceenda. Where is your sight? I wanna check out your stuff. thanks http://www.opengl.org/discussion_boards/ubb/biggrin.gif