Giter VIP home page Giter VIP logo

Comments (1)

hajduakos avatar hajduakos commented on August 21, 2024

Hi,

Thanks!

So far it is limited to 2:1 ratio images because I focused on full, 360x180 equirectangular panoramas where the standard is a 2:1 ratio. However, I think that if your panorama has a different aspect ratio, but it is still a full 360x180 panorama, the program will work.

However, if you have a partial panorama, e.g. only 180x60 then you would expect the image in the middle, surrounded with black areas. The problem is that the aspect ratio is not enough for this, the exact angles are needed. For example a 180x60 and a 90x30 image both have 3:1 ratio, but they have to be displayed differently. Currently, I don't have time for doing this, but an easy workaround would be the following: load the image and ask for the angles. Create an empty 2:1 image (representing 360x180) and put the loaded image on this empty image based on the angles. For example a 180x60 image would occupy half the width and 1/3 of the height.

from panodotnet.

Related Issues (6)

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.