Texturing without Glaux
ok I know I''ve seen this somewhere but can''t find it. The nehe tutorials use glaux to load in the textures from a file. I don''t want to use glaux so I need to know how to do lesson 6 with out glaux and preferably with out glut.
Take a look at the glVelocity Engine int Texture.cpp
It loads an bmp and create the alpha channel without any function, just stdio.h
Also cool to do masking because if the color of one texel is black, it puts the alpha of that texel 0, so that texel it wont be drawn.
cya
PROgrammer
It loads an bmp and create the alpha channel without any function, just stdio.h
Also cool to do masking because if the color of one texel is black, it puts the alpha of that texel 0, so that texel it wont be drawn.
cya
PROgrammer
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement