Hi, personally I prefer the FNT (http://plib.sourceforge.net/fnt/index.html) from Steve Backer as it proved to have great functionality, really low dependencies and to work in almost all OpenGL transformations without causing any headache
Yuri D'Elia wrote: > In article <[EMAIL PROTECTED]>, > Livia Koch <[EMAIL PROTECTED]> wrote: > >> I'm sorry, I might have been not specific enough. I'm able to draw things in >> 3d, rotate them, get the window coordinates, map them onto object >> coordinates >> (gluUnProject) etc. My problem is that I want to WRITE a text next to the >> axes and I want the text to rotate together with the model. I haven't found >> a >> writing function in 3d. > > The easy way: look at the "stroked" fonts available through > glutStrokeCharacter(). Stroked fonts are drawn as simple primitives > (lines) using call lists, thus they get transformed as any other GL > call. But the output isn't that good. > > For a more sophisticated solution, you should render your text using an > external library (like freetype), transfer to a texture and draw a > textured quad. Googling for "opengl freetype" should provide some > overlong list of examples. > _______________________________________________ fltk-opengl mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-opengl
