Sie sind nicht angemeldet.

  • »lastromantik« ist der Autor dieses Themas

Beiträge: 141

Wohnort: Russia, Komi republic, Uhta

Beruf: developer

  • Nachricht senden

1

Freitag, 16. Juli 2021, 00:41

Preloader plugin (by Dmitriy Podrushnyak)

Hey! My name is Dmitry and I am a programmer. I also develop various plugins for those in need)
Due to numerous requests, I begin to publish various useful plugins)

And first plugin Preloader.
Its purpose is simple. It loads the images of the specified tour scenes in the background, so that when switching to these scenes, the images are taken from the browser cache. I think this will reduce the delay time when switching between scenes the first time.

Here is the plugin link: preloadPano_free.zip

Below is the plugin connection code:

Quellcode

1
2
3
4
5
<plugin name="pp" keep="true"
        url="plugins/preloadPano.js"
        preload="true"
        path_to_pano="./panos/%name%.tiles/"
/>
Here ptp is the path to the panorama folder *.tiles;
%name% - part of the path to be replaced with the name of the folder with panorama pictures.

Example:

Quellcode

1
path_to_pano='./panos/%name%.tiles/mobile/';
if you need to use the mobile version from the standard storage structure

Quellcode

1
path_to_pano='./panos/%name%/'
if panoramas are stored along the path /pano/pano1/pano_b.jpg



This version of the plugin is free and encrypted.
This free version only works with 6-picture scenes.

And probably it is worth making the second version paid.
The paid version will have:
- removed the inscription when loading;
- preloading panoramas consisting of several levels of images (multiresolution);
- preloading of only specified scenes is available. This will allow you to more competently organize the preloading of neighboring panoramas.

If you are interested in advanced functionality, let me know)
And also your feedback and wishes will also be very helpful.

P.S. As for the extended version, I'm still thinking about making it separately paid or the main free one) *cool*

Hello from uhta3d )))
I'm in telegram: Lastromantik

Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »lastromantik« (16. Juli 2021, 11:03)


2

Freitag, 16. Juli 2021, 03:46

Very good
*thumbsup* *thumbsup* *thumbsup*

3

Freitag, 16. Juli 2021, 08:25

Если нужно загрузить несколько панорам, то несколько раз такую конструкцию вставлять с разными %name%?

  • »lastromantik« ist der Autor dieses Themas

Beiträge: 141

Wohnort: Russia, Komi republic, Uhta

Beruf: developer

  • Nachricht senden

4

Freitag, 16. Juli 2021, 09:51

Нет. Сейчас грузятся все в бесплатном. И в этой версии плагин отрабатывает один раз в начале тура. В другой версии можно вызвать экшн с указанием нужных панорам, которые будут загружены.
Что касается параметра path_to_pano, это лишь строка с путём от куда загружать ваши программы - строка шаблон.
%name% - это идентификатор вместо которого плагин будет подставлять названия панорам. Оно должно быть в пути в таком же виде.

Hello from uhta3d )))
I'm in telegram: Lastromantik

5

Freitag, 16. Juli 2021, 10:20

Аа, здорово, я думал надо руками заменять %name% на конкретику)

  • »lastromantik« ist der Autor dieses Themas

Beiträge: 141

Wohnort: Russia, Komi republic, Uhta

Beruf: developer

  • Nachricht senden

6

Freitag, 16. Juli 2021, 10:56

нет, не надо)
это пока простое решение в лоб. так как у каждого может структура хранения панорам отличаться. вот я и вынес параметр для гибкости)
для примера:
path_to_pano='./panos/%name%.tiles/mobile/'; - если надо использовать мобильный вариант из стандартной структуры хранения
path_to_pano='./panos/%name%/' - если допустим панорамы хранятся по пути /pano/pano1/pano_b.jpg



no, don't)
this is still a straightforward decision. since everyone may have a different storage structure for panoramas. so I took out the parameter for flexibility)
for example:
path_to_pano = './panos/%name%.tiles/mobile/' - if you need to use the mobile version from the standard storage structure
path_to_pano = './panos/%name%/' - if allowed panoramas are stored along the path /pano/pano1/pano_b.jpg

*thumbsup* *thumbsup* *thumbsup*

Hello from uhta3d )))
I'm in telegram: Lastromantik

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »lastromantik« (16. Juli 2021, 11:43)


7

Freitag, 16. Juli 2021, 11:23

हैन अब सबै कुरा नि: शुल्क लोड गरिएको छ। र यस संस्करणमा, प्लग-इन एक पटक भ्रमणको सुरूमा काम गर्दछ। अर्को संस्करणमा, तपाई एउटा कार्य कल गर्न सक्नुहुन्छ चाहेको पनोरमलाई संकेत गरेर जुन लोड हुन्छ।
पथ_त_पानो प्यारामिटरको रूपमा, यो केवल एक स्ट्रि stringको साथ एक पथ हो जहाँबाट तपाइँका प्रोग्रामहरू लोड गर्ने - टेम्पलेट स्ट्रि।।
% नाम% पहिचानकर्ता हो, यसको सट्टा प्लगइनले परिदृश्यहरूको नाम प्रतिस्थापन गर्दछ। यो उही फारममा बाटोमा हुनुपर्दछ।

*squint*

  • »lastromantik« ist der Autor dieses Themas

Beiträge: 141

Wohnort: Russia, Komi republic, Uhta

Beruf: developer

  • Nachricht senden

8

Freitag, 16. Juli 2021, 11:29

हैन अब सबै कुरा नि: शुल्क लोड गरिएको छ। र यस संस्करणमा, प्लग-इन एक पटक भ्रमणको सुरूमा काम गर्दछ। अर्को संस्करणमा, तपाई एउटा कार्य कल गर्न सक्नुहुन्छ चाहेको पनोरमलाई संकेत गरेर जुन लोड हुन्छ।
पथ_त_पानो प्यारामिटरको रूपमा, यो केवल एक स्ट्रि stringको साथ एक पथ हो जहाँबाट तपाइँका प्रोग्रामहरू लोड गर्ने - टेम्पलेट स्ट्रि।।
% नाम% पहिचानकर्ता हो, यसको सट्टा प्लगइनले परिदृश्यहरूको नाम प्रतिस्थापन गर्दछ। यो उही फारममा बाटोमा हुनुपर्दछ।
could you write in english? )

Hello from uhta3d )))
I'm in telegram: Lastromantik

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

9

Freitag, 16. Juli 2021, 11:35

Als je russisch, of zo, gaat lopen typen dan moet je niet piepen als anderen ook gaan lopen klooien.
Lijkt me duidelijk.

@lastromatik @dreamcutter Engels graag!

Tuur *thumbsup*

  • »lastromantik« ist der Autor dieses Themas

Beiträge: 141

Wohnort: Russia, Komi republic, Uhta

Beruf: developer

  • Nachricht senden

10

Freitag, 16. Juli 2021, 11:40

Als je russisch, of zo, gaat lopen typen dan moet je niet piepen als anderen ook gaan lopen klooien.
Lijkt me duidelijk.
I just could not understand what is written. And I can't answer the person)
P.S. I think I understand what is at stake)))))) *thumbsup* *thumbsup* *thumbsup*

Hello from uhta3d )))
I'm in telegram: Lastromantik

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

11

Freitag, 16. Juli 2021, 11:44

Zitat

I just could not understand what is written.


.. same here..

  • »lastromantik« ist der Autor dieses Themas

Beiträge: 141

Wohnort: Russia, Komi republic, Uhta

Beruf: developer

  • Nachricht senden

13

Freitag, 16. Juli 2021, 18:46

yes )))

Hello from uhta3d )))
I'm in telegram: Lastromantik

14

Freitag, 3. September 2021, 15:00

How do I access the paid version and what price do you have?
Does it come encrypted and configurable or is it open?
If I have different scenes with different cloths in different folders (specified in each scene), does it automatically recognize it so I can preload it?
Thanks!