Giter Site home page Giter Site logo

Comments (7)

DDvO avatar DDvO commented on August 25, 2024 2

Hi Jens, you are welcome. Meanwhile the pull request mentioned above is merged, so in my view partial / cylindrical panoramas can now be considered officially supported.

Talking of parameters, the key options of generate.py for cylindrical input are

  • --cylindrical (which selects the projection code f4 rather than f1 when configuring nona) and
  • --horizon to state the offset of the horizon counted from the middle of the image (which sets the e option of nona), which is needed to avoid bending the horizon.

from pannellum.

DDvO avatar DDvO commented on August 25, 2024 1

I meanwhile managed to generalize the generate.py script to support cylindrical input and to adapt the Python and JavaScript sources to support partial panoramas (from both equirectangular/spherical and cylindrical input) without wasting space and communication bandwidth on tile files that represent areas never shown. I can share the details in case you're interested.

Here is an example partial cylindrical pano generated this way.

from pannellum.

mpetroff avatar mpetroff commented on August 25, 2024

There is support for partial panoramas, but only if they are in an equirectangular projection. See the haov, vaov, and vOffset parameters.

from pannellum.

jens-eggers avatar jens-eggers commented on August 25, 2024

Hi @DDvO ,
I really like your work on cylindrical panoramas for pannellum looking at your page!
I also have a lot of these source files, did you manage to enable pannellum to accept these? How can I adapt these changes, that would be very interesting. Can you please share the details?

from pannellum.

DDvO avatar DDvO commented on August 25, 2024

Hi @jens-eggers , pleased to hear.
All right, today I've started setting up a series of pull requests that touch various more or less independent aspects of the extensions I made for supporting partial panoramas of cylindrical and other types. Here is the first of them: #562

from pannellum.

DDvO avatar DDvO commented on August 25, 2024

I've just extended my PR #570 which concludes the additions needed to support partial / cylindrical panoramas.

from pannellum.

jens-eggers avatar jens-eggers commented on August 25, 2024

from pannellum.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.