The Mixed Reality Forums here are no longer being used or maintained.
There are a few other places we would like to direct you to for support, both from Microsoft and from the community.
The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.
For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.
If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.
And always feel free to hit us up on Twitter @MxdRealityDev.
Window Size
I have a HoloLens app which displays a graph. I want the graph to fill the window without being cut off . The canvas I am using to create my graph is set up like this :
I would expect this to fix about half the screen but the x-axis keeps getting cut off . Can anyone help? Thanks .
Best Answer
-
Optionsstepan_stulov ✭✭✭
Hi, @Hannah
It's not visible what you have presumably pasted after "like this".
On HoloLens camera frustum's runtime values are driven by the device. I recommend you simply read them and adjust the size of you canvas accordingly. For the best result eye strain-wise it also makes sense to "slide" the canvas along camera's forward vector towards the point your eyes are focused onto. That point is usually where you show your cursor and is usually an intersection of camera's forward vector with spatial mapping. When sliding you obviously need to scale the canvas accordingly to compensate for widening frustum at distance.
Building the future of holographic navigation. We're hiring.
5
Answers
Hi, @Hannah
It's not visible what you have presumably pasted after "like this".
On HoloLens camera frustum's runtime values are driven by the device. I recommend you simply read them and adjust the size of you canvas accordingly. For the best result eye strain-wise it also makes sense to "slide" the canvas along camera's forward vector towards the point your eyes are focused onto. That point is usually where you show your cursor and is usually an intersection of camera's forward vector with spatial mapping. When sliding you obviously need to scale the canvas accordingly to compensate for widening frustum at distance.
Building the future of holographic navigation. We're hiring.