Hi-
I am in the process of building a 3D chart, and hit a brick wall with text. I have been using Gnuplot for guidance, and when rendering a 3D chart with the axis labels its not clear to me if that uses 3D text or not. I have assumed it does, and I found this article from NeHe: https://nehe.gamedev.net/tutorial/outline_fonts/15004/.
I went through the code it looks like openGL supports fonts a lot differently to DX. I have a 2D font atlas file and load it up and map each char to a quad. It is kinda working, but the text is not clear and its too large. I have scaled the quads to be much smaller, but its tricky for me to know what to do next - how to calculate a location on an axis for example, once scaled.
I was thinking that I need to create some quads, texture map the font image on to it, and then position these quads on each axis. I also discovered the concept of billboarding, which sounds like something I would need to do so the text is always readable.
An alternative seems to be to have 2D text, and just find a way to plot it at the right location and scale depending on where the model is on the screen. But this seems a lot more complicated though I have not explored this deeply yet.
Would appreciate some guidance/tips from anyone who might be able to advise me. I have been stuck on this for a good while now; need some help.
Thank you,
sp.