In MeteoInfo, I didn't have the problem with the mixing volume and polygon rendering. The following example renders country polygons and the volume of w of wind field. The polygons were rendered well behind the volume. The problem of it is that I have to resize the figure dockable region to make the texts plotted.
Re: TextRender only work after reshape with GL_TEXTURE2 binding
Thanks for the info, will be useful for sure to me later !
It is probably an implicit requirement from this text renderer that is often fulfilled but not in your case. I have the same kind of weird behavior with the Overlay class that requires the polygon mode to be reset to « fill » before being invoked.
The legacy text renderer has another limitation for me : when I mix it in an application using shaders (e.g depth peeling extension in Jzy3D), characters are replaced by squares, so I use the simple Glut text renderer in this case.
Julien once mentionned a pull request on Sven ‘s github that shows improvement to the text renderer that finally was never merged.