Git Product home page Git Product logo

Comments (6)

smitshah81 avatar smitshah81 commented on August 24, 2024

in otherway i am tring to achieve

http://pchen66.github.io/Panolens/examples/panorama_basic.html

in image panorama.How can I do that?

from panolens.js.

pchen66 avatar pchen66 commented on August 24, 2024

Here's a basic example that might help you achieve what you want. http://codepen.io/pcehn66/pen/vKvWQV If it's rendering on different container (other than panorama itself), you have to create another renderer, camera, and scene to render on that particular element you want. One thing to note is that the hovering element isn't the one you created in the first place (to avoid browser reflow or layout change), you can call infospot.element to get the dom element and append renderer.domElement to it.

from panolens.js.

smitshah81 avatar smitshah81 commented on August 24, 2024

Thanks :) It Works...

from panolens.js.

smitshah81 avatar smitshah81 commented on August 24, 2024

Hi,

Infospot Object is not Displaying in Cardboard/Stereoscopic view.Any Solution?

from panolens.js.

pchen66 avatar pchen66 commented on August 24, 2024

yes, that's because the dom element in the stereo/cardboard mode is cloned. You can attach event listener when the mode is changing to dual screen and re-enable rendering after these side-by-side elements being created.

from panolens.js.

dmw4176 avatar dmw4176 commented on August 24, 2024

Here's a basic example that might help you achieve what you want. http://codepen.io/pcehn66/pen/vKvWQV If it's rendering on different container (other than panorama itself), you have to create another renderer, camera, and scene to render on that particular element you want. One thing to note is that the hovering element isn't the one you created in the first place (to avoid browser reflow or layout change), you can call infospot.element to get the dom element and append renderer.domElement to it.

pchen66 instead of hovering on the info spot to pop up content can you make it an "onclick" event? I tried but it is not working. Also can you add animated gifs on top of the pano viewer?

from panolens.js.

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.