OK, I used Tao Framework to access the wglUseFontOutlines and GLYPHMETRICSFLOAT. It draws the text in 3D coordinates, though with some performance hit. However the text doesn't seems to be affected by any colors, it just drawn in grey color for some reason and I can't change it, I tried disabling any lighting and tried any colors variation it just doesn't affect the text. Is there a particular reason for that or is it something with my code?
Comments
Aug 18
12:41:31Re: Font Help
posted by objarniSimple answer: The OpenTK Font API does not support that. It's top-of-screen-only.
But there might be some tricks to access the font-APIs glyph (vertice) data for fonts anyway, someone know howto?
That way you could possibly draw text yourself wherever you want it.
Aug 18
16:56:32Re: Font Help
posted by khdaniOK, I used Tao Framework to access the wglUseFontOutlines and GLYPHMETRICSFLOAT. It draws the text in 3D coordinates, though with some performance hit. However the text doesn't seems to be affected by any colors, it just drawn in grey color for some reason and I can't change it, I tried disabling any lighting and tried any colors variation it just doesn't affect the text. Is there a particular reason for that or is it something with my code?
Aug 19
09:02:51Re: Font Help
posted by khdaniFound the problem, I had to disable Texturing.
Thanks Objarni.
Aug 19
12:01:50Re: Font Help
posted by objarniYou're welcome but I think you found the solution without my help :)