Advertisement

Bitmap fonts, cant seem to draw at edge. Help!

Started by May 18, 2001 04:51 PM
2 comments, last by Jake_77 23 years, 7 months ago
Hi, I am trying to draw bitmap fonts but positioning the RasterPos point is turning out to be very tricky. It seems that when I translate -1.0 down the Z-Axis, the left and right raster edges should be at 0.5 and -0.5, respectively. Right? At least, that is what the tutorial said in lesson 13. Well, this isn''t the case. Setting the X Raster position ends up drawing the text not at the edge, but further in. Why is this? How can I set the raster position for my bitmapped text precisely? Thank you in advance to any gurus that can help. Jake
Why don''t you just use an Orthographic projection matrix?

Resist Windows XP''s Invasive Production Activation Technology!
http://druidgames.cjb.net/
Advertisement
I''m having the same problem, and noticed the glOrtho function, but I haven''t been able to get it to work. Could you show me an example? Do I need to do anything else before drawing the text?
check out nehe''s font turoials
theres one which explains how to draw text anywhere on the screen
without the z axis of course

This topic is closed to new replies.

Advertisement