hit2501 Posted August 21, 2018 Share Posted August 21, 2018 Hi, I have an animation and a 3d environtment (cricket stadium) imported from Blender to Babylon: http://wilawara.000webhostapp.com/demos/gopidemo/simulation.html On desktop works fine but when I try to check it on mobile (Android) the 3d stadium looks distorted. What could be the reason for this? It supose to look like this: Thank you all. Quote Link to comment Share on other sites More sharing options...
Sebavan Posted August 21, 2018 Share Posted August 21, 2018 The model is not distorted at all, it just account for the aspect ratio being different so you see less off the screen it is the same on desktop if you change the size of your window. You need to either fix the size of the canvas you want in css, lock the screen orientation, or check the aspect ratio by account to acccount for it. engine.getAspectRatio Quote Link to comment Share on other sites More sharing options...
hit2501 Posted August 22, 2018 Author Share Posted August 22, 2018 Awesome Sebavan, thank you very much. Yes, I'll lock the orientation cause the purpose is to see it in landscape position on smartphones, I was using desktop browsers just to test. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.