![]() This library is available under the MIT license. If your panorama is taken with Google's Photo Sphere, usexmpdata must be set to true, unless it is not cropped. ![]() The example1.html is a more complete (and more interesting) example. You can find a basic example of use in the file example.html. Onready (optional, default to null) Function called once the panorama is ready and the first image is displayed. Never worry about manually setting the VR formats of your images. Time to take another look at the photo app. A lot has happened since then: Existing functions have been improved and expanded, and new features have been added. I tested immerGallery for the first time in April 2022. Pano_size (optional, default to null) The panorama size, if cropped (unnecessary if XMP data can be read).ĭefault_position (optional, default to ). Image Viewer Enjoy immersive photos for virtual reality (VR) like never before immerGallery is designed to make it as easy for you as possible to enjoy your images without hassle. 7 8, Photo Sphere Viewer is a JavaScript library that allows you to display 360×180 degrees panoramas on any web page. ImmerGallery is an image viewer for Meta Quest 1 and 2 that lets you view VR and 2D images in virtual reality more easily. Usexmpdata (optional, default to true): true if Photo Sphere Viewer must read XMP data, false if it is not necessary.Ĭors_anonymous (optional, default to true): true to disable the exchange of user credentials via cookies, false otherwise. Panorama (required): the path to the panorama.Ĭontainer (required): the div in which the panorama will be displayed.Īutoload (optional, default to true): true to automatically load the panorama, false to load it later (with the. Here is the list of available parameters. You must pass it an object containing at least two parameters for the panorama. In JavaScript, create a new PhotoSphereViewer object.Create a div in the size you want for your panorama.Include the and files into your page.Photo Sphere Viewer uses the Three.js library, so nothing is required for your visitors except for a browser compatible with canvas or, better, WebGL. Panoramas must use the equirectangular projection and they can be taken with Photo Sphere, the camera mode brought by Android 4.2 Jelly Bean. Photo Sphere Viewer is a JavaScript library that allows you to display 360×180 degrees panoramas on any web page.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |