Hi all again.
AFAIK, the “usual” way to add an HUD in a render would be to lay it on a shadeless plane, just in front of the camera.
This time I’m working on a project where the camera is scripted to pan and zoom in order to follow certain events in specific areas on a map (in an extremely unpredictable way because it’s database-driven. Follow this link for details).
Of course, panning isn’t a problem but zooming is: by shrinking lens angle, you’re excluding areas of your HUD from view frustum.
I already patched this in a not-so-elegant way: an IPO driver rescales the plane based on camera’s lens angle (you know, those handy trigonometric functions…).
I HATE hacks like the one I employed,
so here I am begging for a better idea ^^
Speak your mind