HUD / Screendrawing with text or type using GLGraphics and Proscene
in
Contributed Library Questions
•
2 years ago
Hey Andres and Jean-Pierre,
I am at the final stages of a sketch and the part that I thought would be easiest is turning out to be really difficult (as usual!)
I have implemented a 3D scene using GLGraphics and Proscene.
Now I would like to draw 2D text and some graphics in a heads-up display style - so it appears on top of the 3D scene and does not respond to camera movement.
I can get proscene's screenDrawing function to work, but only for shapes drawn vertex-by-vertex (so text() does not work).
I have tried using GLGraphicsOffScreen and overlaying, but the objects drawn to that screen buffer respond identically to camera movement -- I want them to disregard all camera movement, and I can't figure out how to do that.
Any suggestions for achieving this goal of a HUD?
Thanks very much,
Jacob
I am at the final stages of a sketch and the part that I thought would be easiest is turning out to be really difficult (as usual!)
I have implemented a 3D scene using GLGraphics and Proscene.
Now I would like to draw 2D text and some graphics in a heads-up display style - so it appears on top of the 3D scene and does not respond to camera movement.
I can get proscene's screenDrawing function to work, but only for shapes drawn vertex-by-vertex (so text() does not work).
I have tried using GLGraphicsOffScreen and overlaying, but the objects drawn to that screen buffer respond identically to camera movement -- I want them to disregard all camera movement, and I can't figure out how to do that.
Any suggestions for achieving this goal of a HUD?
Thanks very much,
Jacob
1