-
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Landscape Mode in RMPP #127
Comments
Hi @dnakath for me it works just fine on my RMPP by putting using the portrait and flip parameters as follows: https://10.11.99.1:2001/?portrait=true&flip=true It is true though that the laser pointer is broken in portrait mode. I am on the latest version of the softwate (v0.19-beta2) and on the latest firmware of RMPP (3.16.2.3) What do you mean by the flip option behaves strangely? |
Hi @Andrea79 , thank you for the input! To exclude a problem with compilation, I downloaded the latest (v0.19-beta2) and pushed it to the RMPP, which is running the latest firmware of RMPP (3.16.2.3). On Safari Version 18.1.1 (20619.2.8.11.12) Running on a Mac book Air M3 2024 I get the following: RMPP Portrait, Portrait=trueRMPP Portrait, Portrait=falseRMPP Landscape, Portrait=trueRMPP Landscape, Portrait=false |
Hi @dnakath please try the following (which does not seem to have been covered from the trials you showed)
It works for me when in portrait mode as you can see from the image below I am on a MacBook Pro M3 Max with Sonoma 14.7.1 |
Hi @Andrea79, yes, now I got my mistake: I wrote instead of your I can confirm, that landscape and portrait are working with the RMPP like that in my setup. Thank you very much for your help ! |
Hi everybody,
thank you very much for the initial support of the RMPP -- I can also confirm that it is working on my side. However, as already mentioned by @alexander-akhmetov , the landscape mode is not working yet. @owulveryck, if that helps as a first hint, I found that setting the rotation matrix in updateTexture() like so
const rotationMatrix = shouldRotate ? makeRotationZMatrix(90) : makeRotationZMatrix(0);
displays a correct image, when calling (using landscape mode and right hand writing on RMPP)
https://10.11.99.1:2001/?portrait=true
still, the laser pointer remains broken (in landscape mode) and also the flip option from @zihaooo behaves strangely.
I hope this helps as a starting point to get this issue fixed -- if I find time, I will also try to dig more into this.
Thank you all for the great work -- once this is running it will be a great help for teaching!
The text was updated successfully, but these errors were encountered: