Giter VIP home page Giter VIP logo

vtour's People

Contributors

trots avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

imismaindra

vtour's Issues

Photo spots

Panorama can contain special spots with a detailed photo. The photo opens above a panorama view and fits the whole window.
The photo spot on the panorama view is presented with an icon. The icon should support two states: normal and hovered. If a user doesn't specify the icon in the config json then it will be rendered as a small blue plane.

Keyboard shortcuts support

Add support of these keyboard shortcuts:

  • Left - turn scene left;
  • Right - turn scene right;
  • Up - turn scene up;
  • Down - turn scene down;
  • + - zoom scene in;
  • - - zoom scene out;
  • Esc - hide the opened photo or reset zoom.

Add a possibility to disable keyboard shortcuts through a panorama config .

Zoom

Add possibility to zoom panorama. Zoom should be applied in the direction of camera view.
Set zoom range experimentally. But it can be customized in the panorama config json.
Reset zoom on panorama image changing.

Custom tooltips implementation

Browser's tooltips for scene objects should be replaced with our own tooltips implementation. Cons of using standard tooltips of browser (title attribute):

  • unable to customize the style of a tooltip element;
  • unable to show the same tooltip (with the same text) several times;
  • it's not possible to show tooltips at touch screens.

So, the new implementation of tooltips should eliminate these cons.
For touch screens show tooltips on long time touch.

Mobile devices workflow

Provide mobile devices support:

  • scroll left/right
  • zoom in/out by standard gesture
  • move through panorams by portal touch
  • open/close detailed photos by finger touch

Documentation

Repository description:
JavaScript cylindrical panorama viewer based on three.js

Provide these chapters in readme:

  • overview
  • usage
  • build
  • examples
  • license

Add title to photo

Add a title text to a photospot. Title can be shown in the scene title box when a photo is opened.

Portal icon

The portal icon should support two states:

  • normal;
  • hovered.

When user hover on portal icon the mouse pointer should be changed to pointer type.

If user doesn't specify the portal icon, then a small red plane should be rendered.

Panorama title

Draw panorama title at the top left angle of screen.
Text color is white. Provide text readability with any background color.

Animate panorama transition

Switch to a panorama image on the scene with special animation. After clicking on the portal the scene starts zoom in the direction of the portal spot. Simultaneously a requested panorama image is loading. When the loading is finished, the scene switches to the loaded panorama image.

Custom tooltips for scene objects

Set a scene name as a tooltip of a transition spot.
Set a photo name as a tooltip of a photo spot.
Custom tooltips can be enabled/disabled in config.

Do after #28

Tooltips

Add tooltips for these elements:

  • portal,
  • photo spot,
  • fullscreen button,
  • scene label.

Exit button

Add an exit button. The button can be used for moving to a home page of a site. Place the button at the left side of the title label.
The button visibility can be configured through config file.

Library info

Add a vtour library info on a panorama display.
Place text vtour 1.0.0 at the bottom right corner of the display with small font size and white color.

Full screen

Add full screen support. Go to full screen mode with the right-top button.

About dialog

Show an "About" dialog on vtour version label click. Include copyrights of vtour and three.js there.

Custom tooltips implementation

Browser's tooltips for scene objects should be replaced with our own tooltips implementation. Cons of using standard tooltips of browser (title attribute):

  • unable to customize the style of a tooltip element;
  • unable to show the same tooltip (with the same text) several times;
  • it's not possible to show tooltips at touch screens.

So, the new implementation of tooltips should eliminate these cons.
For touch screens show tooltips on long time touch.

Default icons and CSS

Add default stylesheet and icons.
Stylesheet should be a separate file vtour.css.
Icons should be also presented as files:

  • portal icon portal.png;
  • photo icon photospot.png.

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.