Skip to main content
gamedev.net
🔒 Locked

Font problem

Started by Kris2456 Jun 3, 2004 at 10:06 AM 1 replies 250+ views
Original Post
Kris2456
Kris2456
Ive jus tried to put a font in the main menu of my game. Im using NeHe''s glPrint() function, but no text appears when i use it. I used a raster position of 0,0 and turned of texturing and lighting, but to no avail. Pleez help. ------------ "Here lies a toppled God, His fall was not a small one, We but built his pedastle, A narrow, and a tall one" Frank Herbert (Dune:Messiah)
------------ "Here lies a toppled God,His fall was not a small one,We but built his pedastle,A narrow, and a tall one" Frank Herbert (Dune:Messiah)
redrum
redrum
maybe you should try passing into orthogonal mode before trying to write to screen. Try

glPushMatrix();
glLoadIdentity();
OrthoMode(0,SCREEN_HEIGHT, SCREEN_WIDTH, 0);

Write_To_Screen(..);

glPopMatrix();
Kris2456
Kris2456
yeh, i tried that
no difference
------------ "Here lies a toppled God,His fall was not a small one,We but built his pedastle,A narrow, and a tall one" Frank Herbert (Dune:Messiah)

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.