You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

alekseev_ap

Beginner

  • "alekseev_ap" started this thread

Posts: 2

Location: Russia

Occupation: Programmer

  • Send private message

1

Saturday, December 23rd 2017, 10:15am

How to add two new buttons in VR mode?



In VR mode user can navigate with two buttons near the down of panorama. I want add new two buttons: "Previous tour" and "Next tour".
My question is: How?

http://photo.aapsoftware.ru/1/pic1.jpg

2

Saturday, December 23rd 2017, 5:07pm

not sure if this is possible.

Isnt this all taken care of by the webvr.js plugin script? (which is encrypted)

if so, you might not be able to hook into it, and have to create it all from scratch.

Umalo

Professional

Posts: 1,047

Location: Osijek, Croatia, EU

  • Send private message

3

Saturday, December 23rd 2017, 10:33pm

Explore vtourskin.xml. You see there default: skin_webvr_prev_scene hotspots. Learn on how to add other hs and adapting skin_webvr_menu_following to make them "float"
What you want to do with their on click is not relevant but I wonder how and what you want to load as next tour?

4

Sunday, December 24th 2017, 7:09am


5

Sunday, December 24th 2017, 11:15am

Explore vtourskin.xml. You see there default: skin_webvr_prev_scene hotspots. Learn on how to add other hs and adapting skin_webvr_menu_following to make them "float"
What you want to do with their on click is not relevant but I wonder how and what you want to load as next tour?


ah yes!
i didnt see those in the vtourskin.xml. But then i realized i used the older version of it.
After updating to the latest version of skin and webvr plugin, i added a custom VR button by duplicating an existing one in this vtourskin.xml.

Great tip!

6

Thursday, December 28th 2017, 3:56pm

not sure if this is possible.
Sure such is possible! ;-)
Please note that krpano viewer itself doesn't have any UI-elements by default. That's always all custom by the code in xml files - and the xml files are always optional and editable.

Best regards,
Klaus

7

Tuesday, January 8th 2019, 4:58am

Si exactamente yo lo ocupo asi me podrias ayudar?