Jump to content

  • Log In with Google      Sign In   
  • Create Account

#Actual__SKYe

Posted 04 January 2013 - 02:16 AM

Download the VC++ source, and instead of using glaux to load images, use this code instead (also from nehe), and check if it works.

http://nehe.gamedev.net/tutorial/lesson_06_texturing_update/47002/

EDIT: Or if you want to use glaux, download the files here http://mycodelog.com/2010/05/15/gllibs/, place the files in their correct folders (you only need the glaux.h and glaux.lib), and see if the program works.

 

And keep in mind that this tutorial is deprecated in various ways.

 

Display lists, GL_LUMINANCE_ALPHA, drawing using glBegin()...glEnd(), glaux, etc are all deprecated in modern OpenGL (along with the way the freetype headera are included).

 

Also, i just downloaded the VC++ code, compiled it and it works for me EXCEPT you must change the following bit:

 



for(const char *c=text;*c;c++) {

to 



const char *c=text;

	for(;*c;c++) {

 

or an error will occur.

 

See if it works, and let me know.


#1__SKYe

Posted 04 January 2013 - 01:50 AM

Download the VC++ source, and instead of using glaux to load images, use this code instead (also from nehe), and check if it works.

 

http://nehe.gamedev.net/tutorial/lesson_06_texturing_update/47002/


PARTNERS