|
|
text in OpenGL
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: text in OpenGL - comp.graphics.api.openglHi 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 bitma... Drawing Text Using OpenGL - comp.graphics.api.openglHello, I'm using GLUT to draw 2D text to screen (glutBitmapString). Anyhow, I would like to have a yellow box where this black text is printed so th... OpenGL + drawing text - comp.graphics.api.openglHi, which way is the fastest one for drawing text ? - bitmap fonts? - storing fonts as texture and use different UV coordinates for each letter? thi... Displaying Unicode, Japanese text - comp.graphics.api.opengl ...Hello, I would like to display japanese text in opengl. Basically I m using the same code as found on the web using: wglUseFontBitmaps(hDC, 0, 255,... looking for full text editor control/widget for OpenGL - comp ...Hi, I'm looking for a full-fledged text editor control or widget which is designed to work well with OpenGL. I need something on the order of Apple... True type anti aliased fonts in OpenGL - comp.graphics.api.opengl ...Hi everyone, I am trying to display some static text in my OpenGL program using wglUseFontBitmaps. The string displays correctly but the quality is r... FTGL font engine - comp.graphics.api.openglAfter trying to use wglUseFontBitmaps to render text I've since ditched this and have chosen to use FreeType2 and FTGL. However I'm still having an ... how to change font-size in glut menu ? - comp.graphics.api.opengl ...Detecting font size change - comp.lang.javascript how to change font-size in glut menu ? - comp.graphics.api.opengl ... If I try to make menu B a text field whose ... text in sketch for engraving - comp.cad.solidworksEngraving font - comp.cad.solidworks how to change font-size in glut menu ? - comp.graphics.api.opengl ... text in sketch for engraving - comp.cad.solidworks Input text in ... Generating texture coordinates - comp.graphics.api.opengl ...Does anyone know how to generate texture coordinates for a given mesh ? I wouldn't use glTexGen function and the mesh hasn't any texture coords. The... Fast Text in OpenGL. - The Bakers' Home PageFast Text in OpenGL. By Steve Baker. Sooner or later, almost everyone finds the need to draw text using OpenGL. There are basically only three ways to do this at the ... OpenGL Video Tutorial - Drawing TextFree beginner-friendly OpenGL / GLUT tutorial for C++, including both video and text versions. 7/27/2012 3:01:23 PM
|
|
|
|
|
|
|
|
|