I want to create a 2D graphic like displayed at:
It could be done with a quad and a texture, but someone else pointed out it could also be done using mainly vector graphics.
Can someone please explain how it would be done using vector graphics? I mean I know how to draw quads etc, but this would seem like quite a lot of work…unless their is an easy way and I am missing something?
Also how would I add text?
i don’t think it’s a good idea to use a textured quad, assuming that the values displayed by this artificial horizon change continually. you’d have to keep the texture always updated.
for the blue/brown background i’d use non-textured quads.
for the scale some GL_LINES, for the text you can use a system font. google for glXUseXFont (linux) or wglUseFontBitmaps (win).
Thanks RigidBody - that points me in the right direction.
PPS: I was in Germany a few months back. Damn it was cold (Frankfurt)
yeah, we’ve had the longest winter this year…
never seen so much snow.