dwmkerr / sharpgl

Use OpenGL in .NET applications. SharpGL wraps all modern OpenGL features and offers a powerful scene graph to aid development.
MIT License
768 stars 300 forks source link

Draw 2D Text in 3D space by using gl.DrawText() #143

Open ThinkingInXyZ opened 6 years ago

ThinkingInXyZ commented 6 years ago

Hello, How can I draw 2D text in 3D space? Like using gl.DrawText() together with gl.RasterPos(x, y, z); so then the text is rotating but always facing the camera.

I am trying to achieve something like this:

axis2

Thanks in advance for your help!

Kind Regards Ting