Here is what I want to do. I want to draw game stats and other GUI stuff at the top of the window, and on the right side of it. While my "main view" takes up most of the window below and to the left of these GUI areas.
All I know how to do so far is make the window render parts of the room using cmaera and views. So I can set up three views, a main, a GUI top and a GUI right. But the GUi area is still viewing into an area of the room. But I don't need this. I am drawing GUI elements not anything in the room. This approach makes me make the room bigger too which throws off how the main camera and view are working.
Another thing I tried but it failed was manually resizing the window. So let's say my main view port into the room is 768x768. I forced the window width and height to be 900x820 let's say to try to window area I can the draw gui too. But what a window resize does is center the view port in the middle. I can't directly contorl where that goes in the window.
Can someone help me with this??
Thanks.
All I know how to do so far is make the window render parts of the room using cmaera and views. So I can set up three views, a main, a GUI top and a GUI right. But the GUi area is still viewing into an area of the room. But I don't need this. I am drawing GUI elements not anything in the room. This approach makes me make the room bigger too which throws off how the main camera and view are working.
Another thing I tried but it failed was manually resizing the window. So let's say my main view port into the room is 768x768. I forced the window width and height to be 900x820 let's say to try to window area I can the draw gui too. But what a window resize does is center the view port in the middle. I can't directly contorl where that goes in the window.
Can someone help me with this??
Thanks.