Code Monkey home page Code Monkey logo

Comments (3)

murrple-1 avatar murrple-1 commented on August 28, 2024

Are you new to development in general or strictly Android development? The library was written several years ago and is in maintenance mode, so I can't promise it's up to date with current Android APIs, and I can't promise I remember the code perfectly. Although I may come back to modernize this library one day, I can't at this time (though I will accepted any good pull requests).

However, if memory serves, the only classes you need to worry about are the PanoramaView (add it to your main view) and the PanoramaLoader via a non-abstract implementation (I've provided a default implementation in the JSONPanoramaLoader, but you can write your own if you prefer). Use PanoramaLoader.load(PanoramaView) to load and set the textures and vertices for the panorama.

There is also the JSONPanoramaLoader.BitmapLoader abstract class which you need to implement, if you want to got he JSON loading route, but that simply a mapper between texture names and the actual bitmap texture objects, so it should be easy to implement.

from panoengine-android.

mudin3i avatar mudin3i commented on August 28, 2024

Hello! Thank you for your answering.
I am new in general android development, I used to develop vr using js.
Now I need to make it for android.
I used krpano js library and this is pretty similar to krpano.
Feels like krpano for android :)
Anyway, I checked panoramagl-android, it is very slow.
So hoping your library is not slow like that.
Yes I checked PanoramaLoader, it is quite nice! It works for many purposed(I cannot write my own)
I have to spend so much time to implement this library since I am new.
So I wanted to check it if there is some sample before I put effort and time.
Thank you
Best regards,
Mudin

from panoengine-android.

shanavajk avatar shanavajk commented on August 28, 2024

Hi Can you upload sample usage code to load panorama

from panoengine-android.

Related Issues (2)

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.