VictorF Posted November 30, 2018 Share Posted November 30, 2018 My final intention is to create something like Marzipano (http://www.marzipano.net/) then why I don't want to use Marzipano itself? since I want to introduce 3d elements and so. I'll post lots of questions in this topic some of them will be replied by me when I archive to do the work and hopefully other people will contribute (without that people I'm sure I won't be able to do it!) First part the cameras: here is the base code: https://www.babylonjs-playground.com/#2MDWH7 that is a modified version of a code I've found in the forums but cannot locate no more so I cannot give proper credits to the author It has right now some initial problems: Zooming in a mobile device, I introduced zoom with the mouse wheel for computers but I still need to figure how to deal with two finger zooming in mobile devices (probably this is a good start http://www.html5gamedevs.com/topic/15369-panning-and-support-for-click-event-on-line-in-babylonjs/?page=2 ) first test made: https://www.babylonjs-playground.com/#2MDWH7#1 Mixing mobile orientation with drag-drop rotation, currently after onPointerUp and inertia is empty the mobile orientation takes the control again but it resets to the original orientation instead continue the current orientation. The same in VR mode. Second part resources: (code to come) If you need several cubemaps how to deal with the loading? It should be asynchronous? loading on demand? Can you use multi-resolution cubemaps like in Marzipano? The journey starts and I hope that I could design a functional solution. Wingnut 1 Quote Link to comment Share on other sites More sharing options...
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.