How can I draw text in 3D coordinates?
Does OpenTK has bindings for wglUseFontOutlines and GLYPHMETRICSFLOAT ?
Simple 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.
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?
Found the problem, I had to disable Texturing.
You're welcome but I think you found the solution without my help :)
Site design by Stefanos A. Icons courtesy of gnome-colors.