Fonts for Dummies :-))
hi again.
next prob: :-))
i want to make a display (like quake, with hp, armor ect.)
problem is that even with the lesson 17 code i''m not getting any results (besides that the three texture-font-tutorials do everything differently!)
has anyone had similar exp.?
in my create func i''m loading the texture and creating the displaylist in one step. is this o.k.?
any help would be greatly appreciated.
working code would be great also.
thanks
You don''t really want to use outline fonts generated from Win32 -slow, unportable, ...
Bitmapped fonts aren''t as easy, but they are what you are looking for in this case. Use the great tool "Bitmap Font Builder" from LMNOpc to create your bitmap, then the NeHe tut will load them. Alpha blending and an orthographic projection will achieve your desired HUD effect.
Hope that helps...
~~~
Cheers!
Brett Porter
PortaLib3D : A portable 3D game/demo libary for OpenGL
Bitmapped fonts aren''t as easy, but they are what you are looking for in this case. Use the great tool "Bitmap Font Builder" from LMNOpc to create your bitmap, then the NeHe tut will load them. Alpha blending and an orthographic projection will achieve your desired HUD effect.
Hope that helps...
~~~
Cheers!
Brett Porter
PortaLib3D : A portable 3D game/demo libary for OpenGL
~~~Cheers!Brett PorterPortaLib3D : A portable 3D game/demo libary for OpenGLCommunity Service Announcement: Read How to ask questions the smart way before posting!
yeah, what i meant. the other are uuugly!!!
i''ll have to check out alpha blending.
havent used it yet. got a example?
btw: the nehe/D''Agata (lessons 17 + 21)
the texture positioning was totally of, i.e. upside down.
is it just my code?
i''ll have to check out alpha blending.
havent used it yet. got a example?
btw: the nehe/D''Agata (lessons 17 + 21)
the texture positioning was totally of, i.e. upside down.
is it just my code?
Well, I''ll ask you if you did the completely-stupid-but-completely-possible-thing. (I know I''ve done so many stupid things over the years
) Did you remember that the y-axis (er... v-axis?) for texture coords goes down? 
~ Dragonus


~ Dragonus
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement