Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
2D Text in GL.
#1
I noticed that glPrint in freebasic doesn't exist.

I wonder if theres any alternative way or whatever.

Originally in C++ it goes something like this:

glRasterPos2f(0.012f,0.057f);
glColor3f(0.1f,1.0f,0.0f);// text color
glPrint("B-Rad's Game Engine"); // Print GL Text To The Screen
glColor3f(0.0f,0.0f,0.0f); // color back to black now

I wanted to make it say "Hello world!" with the triangle and cube spinning.
Reply


Messages In This Thread
2D Text in GL. - by WinderBoy - 04-27-2005, 05:42 AM
2D Text in GL. - by v3cz0r - 04-27-2005, 09:30 AM
2D Text in GL. - by WinderBoy - 04-27-2005, 11:14 AM
2D Text in GL. - by Tio Bit - 04-27-2005, 04:07 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)