text in OpenGL

  • Follow


Hi all,
I need a procedure/routine/something what would make me able to draw a text
in OpenGL window, but - using standard Windows font (not any bitmaps or 3d
fonts!) and using WINDOWS position coordinates. It means, I don't wanna use
float position (related to scene) but X Y position related to pixels in
OpenGL Window.
Oh, the text of course cannot flicker.

Thx in advance


0
Reply Nomador 7/17/2004 3:53:00 PM

"Nomador" <Nomador@poprostu.net> wrote in message
news:2lt0b6Fg97k4U1@uni-berlin.de...
> Hi all,
> I need a procedure/routine/something what would make me able to draw a
text
> in OpenGL window, but - using standard Windows font (not any bitmaps or 3d
> fonts!) and using WINDOWS position coordinates. It means, I don't wanna
use
> float position (related to scene) but X Y position related to pixels in
> OpenGL Window.
> Oh, the text of course cannot flicker.
>
> Thx in advance
>
>

Have a look at nehe.gamedev.net, they have a tutorial using 2D fonts which
are placed using the pixels of the screen.
Allan


0
Reply Allan 7/17/2004 6:08:03 PM


Please try Freetype
http://freetype.sourceforge.net/index2.html

Nomador wrote:

> Hi all,
> I need a procedure/routine/something what would make me able to draw a text
> in OpenGL window, but - using standard Windows font (not any bitmaps or 3d
> fonts!) and using WINDOWS position coordinates. It means, I don't wanna use
> float position (related to scene) but X Y position related to pixels in
> OpenGL Window.
> Oh, the text of course cannot flicker.
> 
> Thx in advance
> 
> 

0
Reply f 7/17/2004 6:36:32 PM

f.f schrieb:
> Please try Freetype
> http://freetype.sourceforge.net/index2.html
> 
> Nomador wrote:
> 

and FTGL:
http://homepages.paradise.net.nz/henryj/code/
0
Reply Jan 7/18/2004 5:04:26 PM

3 Replies
256 Views

(page loaded in 0.041 seconds)

Similiar Articles:













7/27/2012 3:01:23 PM


Reply: