Sie sind nicht angemeldet.

1

Montag, 9. Dezember 2019, 21:22

How to realize a time progress bar

Hi guys!
I'm trying to realize a time progress bar on my KR tour to move from different periods of time by clicking on the bar; in each step on the bar there wil be an image captured on a specific date. I want to show the time progress of working.
I'm tried with a slider like in the slider blanding cube example but only for two images; i need more images and steps on the bar.
Some tips please?

2

Dienstag, 10. Dezember 2019, 13:31

  • for the slider, you'll need to to create a sprite sheet of all the images

  • use the videointerface.xml theme from videopano example, but it will need to be adapted.


look at video timeline thumbnail for ideas

sorry I am unable to help much more, I am following this as I need to implement this in my project also

3

Donnerstag, 12. Dezember 2019, 12:45

Thanks for your advice but videointerface is different from my idea.
I want a bar to scroll/move manually from an image to another. This is a draw of my idea
»Vito91« hat folgendes Bild angehängt:
  • Slide.jpg

Scott Witte

Fortgeschrittener

Beiträge: 382

Wohnort: Milwaukee, WI USA

Beruf: Professional Photographer

  • Nachricht senden

4

Mittwoch, 18. Dezember 2019, 17:08

If I understand correctly you don't want a progress bar so much as a seek bar. You can still use code in the Video-Panorama example as a starting point. Focus on the mouse interaction with the play head. In your case, you will test for the closest click-stop X on mouseup. You might do that by testing the mouse x position and finding which, of several ranges, it falls in. You can do that with a series of nested "if" tests. Depending on the result, snap your slider to the corresponding click-stop and show the corresponding pano.