Tiles

541 views
Skip to first unread message

Miguel Morujão

unread,
Dec 6, 2016, 9:27:05 AM12/6/16
to marzipano
I tought that I would be able to generate a 360º view by only providing a 360º panoramic image but I'm having some trouble doing that. And in most of the examples tiles are used.
So are tiles really need to be generated in order to create a 360º view with the marzipano API? If so, whats the recipe to create those tiles?
Any help would be appreciated, thanks !

Manuel Cabral

unread,
Dec 6, 2016, 10:51:04 AM12/6/16
to Miguel Morujão, marzipano
Hi Miguel,

It is possible to just display a 2x1 equirectangular panorama with Marzipano, such as this one (demo and source code).

The advantage of using tiles is that is allows having multiple resolution levels and loading only the tiles required for rendering. Marzipano supports tiles in the cubic projection, that can be generated by converting a panorama into cube faces, resizing each face into the desired resolutions and slicing it into tiles. This is what the Marzipano Tool does. Some examples of other software that can do this end-to-end are the krpano tools and Pano2VR. I believe PTGui might also support exporting cube faces directly, so an alternative would be to do that and then resize and slice each cube face using ImageMagick or something similar.

Marzipano has some restrictions on the size of the cube faces and tiles that it supports. These are listed in the docs for CubeGeometry.

Let me know if you need any more information.

All the best,
Manuel

--
You received this message because you are subscribed to the Google Groups "marzipano" group.
To unsubscribe from this group and stop receiving emails from it, send an email to marzipano+unsubscribe@googlegroups.com.
To post to this group, send email to marz...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/marzipano/faee125a-4d39-4f2d-b15a-cb9571409bb6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Miguel Morujão

unread,
Dec 6, 2016, 1:12:29 PM12/6/16
to marzipano
Thanks for the info Manuel, it really helped to understand some concepts.
If I have any further questions I will post a reply.


terça-feira, 6 de Dezembro de 2016 às 15:51:04 UTC, Manuel Cabral escreveu:
Hi Miguel,

It is possible to just display a 2x1 equirectangular panorama with Marzipano, such as this one (demo and source code).

The advantage of using tiles is that is allows having multiple resolution levels and loading only the tiles required for rendering. Marzipano supports tiles in the cubic projection, that can be generated by converting a panorama into cube faces, resizing each face into the desired resolutions and slicing it into tiles. This is what the Marzipano Tool does. Some examples of other software that can do this end-to-end are the krpano tools and Pano2VR. I believe PTGui might also support exporting cube faces directly, so an alternative would be to do that and then resize and slice each cube face using ImageMagick or something similar.

Marzipano has some restrictions on the size of the cube faces and tiles that it supports. These are listed in the docs for CubeGeometry.

Let me know if you need any more information.

All the best,
Manuel
On Tue, Dec 6, 2016 at 6:27 AM, Miguel Morujão <miguel...@gmail.com> wrote:
I tought that I would be able to generate a 360º view by only providing a 360º panoramic image but I'm having some trouble doing that. And in most of the examples tiles are used.
So are tiles really need to be generated in order to create a 360º view with the marzipano API? If so, whats the recipe to create those tiles?
Any help would be appreciated, thanks !

--
You received this message because you are subscribed to the Google Groups "marzipano" group.
To unsubscribe from this group and stop receiving emails from it, send an email to marzipano+...@googlegroups.com.

Miguel Morujão

unread,
Dec 6, 2016, 1:32:12 PM12/6/16
to marzipano
When I run that demo using Chrome I get "Uncaught Error: No css renderer avaiable for equirect geometry and rectilinear view" but with Edge and Firefox works fine, any idea why?


terça-feira, 6 de Dezembro de 2016 às 15:51:04 UTC, Manuel Cabral escreveu:
Hi Miguel,

It is possible to just display a 2x1 equirectangular panorama with Marzipano, such as this one (demo and source code).

The advantage of using tiles is that is allows having multiple resolution levels and loading only the tiles required for rendering. Marzipano supports tiles in the cubic projection, that can be generated by converting a panorama into cube faces, resizing each face into the desired resolutions and slicing it into tiles. This is what the Marzipano Tool does. Some examples of other software that can do this end-to-end are the krpano tools and Pano2VR. I believe PTGui might also support exporting cube faces directly, so an alternative would be to do that and then resize and slice each cube face using ImageMagick or something similar.

Marzipano has some restrictions on the size of the cube faces and tiles that it supports. These are listed in the docs for CubeGeometry.

Let me know if you need any more information.

All the best,
Manuel
On Tue, Dec 6, 2016 at 6:27 AM, Miguel Morujão <miguel...@gmail.com> wrote:
I tought that I would be able to generate a 360º view by only providing a 360º panoramic image but I'm having some trouble doing that. And in most of the examples tiles are used.
So are tiles really need to be generated in order to create a 360º view with the marzipano API? If so, whats the recipe to create those tiles?
Any help would be appreciated, thanks !

--
You received this message because you are subscribed to the Google Groups "marzipano" group.
To unsubscribe from this group and stop receiving emails from it, send an email to marzipano+...@googlegroups.com.

Manuel Cabral

unread,
Dec 6, 2016, 1:35:03 PM12/6/16
to Miguel Morujão, marzipano
The equirectangular renderer only works with WebGL. My guess is that WebGL is not enabled in your Chrome installation for some reason. You confirm this at https://get.webgl.org/.

To unsubscribe from this group and stop receiving emails from it, send an email to marzipano+unsubscribe@googlegroups.com.

To post to this group, send email to marz...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages