Hi. I have a 3D Scene on the whole screen. Now I wanna add a small GUI (a HUD). If I do so, parts of the scene aren't visible. So the view area of the 3D scene is smaller. What I wanna do now is to fit the whole 3D scene to the smaller area so that the HUD isn't just in front of the scene.
This is how it looks like now:
This it should looks like:
The red border shows how large the size of the 3D scene is.
I tried setViewPort. The problem is, that the GUI is also drawn with thie view port, so it also will be displayed smaller and this isn't what I want.
Thank for help.