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.

1

Tuesday, March 21st 2017, 11:11pm

Small useful help

Hi guys,

when I was making a couple of panos, I missed having the current values for pan, tilt and fov easily available. So I just wrote a simple plugin to display these values in a small square in the pano. This makes it much easier to set the view values for each scene.



All you have to do is to include the small xml file and add the execution of the show_pos() action to your onviewchange event:

Source code

1
2
3
4
5
    <include url="pano_pos.xml" />

    <events
   	 onviewchange="show_pos()" 
    />


Plugin file: http://wirestam.com/panos/files/pano_pos.xml

Test page: http://wirestam.com/panos/test/home_tour2/


Regards,
Tommy

panomaster

Intermediate

Posts: 273

Location: Kobyłka, Poland

Occupation: Virtual Tours - Spherical Panoramas - Krpano developer

  • Send private message

2

Wednesday, March 22nd 2017, 10:30pm

Wow...

Welcome to KRPano users forum. I remember you from FPP forum...

3

Wednesday, March 22nd 2017, 11:24pm

Thank you, panomaster,

yes, I confess - I have a past in the FPP forum. But I guess that's all forgiven now... ;-)

Tommy

ramirox3

Intermediate

Posts: 197

Location: La Ceja, Colombia

Occupation: photographer

  • Send private message

4

Thursday, March 23rd 2017, 2:36am

Come on, I really enjoyed your plugins in fpp. Welcome
Ramiro

5

Thursday, March 23rd 2017, 10:31am

Thanks Ramiro!

wilsan

Trainee

Posts: 65

Location: Nederland

Occupation: Logistics Specialist – Planning & Logistics

  • Send private message

6

Thursday, March 23rd 2017, 11:08am

Welcome Tommy, great useful plugin Thanks.

Wilsan

Tuur

Sage

Posts: 3,120

Location: Netherlands

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

  • Send private message

7

Thursday, March 23rd 2017, 11:59am

Hi,

yes, these tools are very convenient.
Your code could be a bit more efficient/modern though. ;-)

here is my version
http://www.virtualtuur.com/krpano/numbers/1/

http://www.virtualtuur.com/krpano/numbers/1/numbers.xml

just include the numbers.xml in your project.

Cheers!
Tuur *thumbsup*
Tuur has attached the following file:
  • numbers.xml.zip (781 Byte - 17 times downloaded - latest: Mar 18th 2019, 5:50pm)
http://www.virtualtuur.com
Skype:studiotuur

This post has been edited 1 times, last edit by "Tuur" (Mar 23rd 2017, 12:10pm)


8

Thursday, March 23rd 2017, 12:24pm

Thanks a lot Tuur,

this is the kind of help a beginner needs! *smile*

I of course suspected someone had done this a long time ago, but I couldn't find anything on the site. I will study your code and learn...

Greetings,
Tommy

Tuur

Sage

Posts: 3,120

Location: Netherlands

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

  • Send private message

9

Thursday, March 23rd 2017, 12:27pm

Hi,

Cheers!
you will love the calc function!
Also using javascript inside actions is a nice feature!

Welcome to krpano!

Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

jordi

Intermediate

Posts: 427

Location: Barcelona

Occupation: creating ideas & coding them

  • Send private message

10

Thursday, March 23rd 2017, 1:14pm

Hi Tommy,

we also knew each other from FPP, wellcome on board, I'm sure you will enjoy so much coding for KRPANO !!

if you need some help to get started, just ask, I have many demo code !
everpano.com smart virtual tours

11

Thursday, March 23rd 2017, 3:03pm

Thanks Jordi!

Yes, I remember you well - and I'll keep you in mind if there is anything I need.


Tommy