For some 3D plots I’m about to build, I need to be able to draw some 3D coordinate system to plot the data in, this means I need to draw the coordinate system first and then draw my data above it (which means that the data will mask the coordinate axes for some view-positions).
While a coordinate system consisting of simple lines does not seem to be a challenging task, adding text to the axes seems to be a lot more complicated. I had a quick read on usual font rendering approaches for OpenGL that gave me a rough idea on how it could be done. However that seems like a bit of overkill for my needs. Is there any solution for this in JUCE I could re-use? I know that the GL renderer obviously can render font in the 2D plane above my 3D GL drawing, could I somehow use this renderer to draw a font placed in the 3D space under my drawings?
Or would it be a good idea to build three bitmap images for each all three axes with all text using the usual JUCE 2D drawing methods and then use them as a textures that are placed in the 3D space? Or any totally different idea?