google / marzipano

A 360° media viewer for the modern web.
http://www.marzipano.net
Apache License 2.0
1.96k stars 992 forks source link

Can I embed WebVR into a gallery with multiple images? #312

Open jbc91 opened 4 years ago

jbc91 commented 4 years ago

I've got a simple gallery with say 10 images in. Is there a way of me embedding the WebVR HTML/CSS/JS into the existing project?

tjgq commented 4 years ago

The short answer is - yes, but probably not easily.

The WebVR demo uses a custom WebVrView class, which in theory can be swapped in for the standardRectilinearView class used by generated tours. Attempting this would require a fair amount with familiarity with JavaScript and web development.

I cannot provide a step-by-step solution, although I'm happy to answer concrete questions that might come along.