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

Monday, June 22nd 2015, 3:20pm

Using a newer krpano viewer with Panotour Pro?

Hi,

I'd like to know if I can use a newer krpano viewer (like the krpano 1.19 beta) directly with Kolor Panotour Pro 2.3? Since I can't find the viewer in the PtP program folder and also not in the folder where the rendered tour is saved, I wonder where it is located...

Pierre

jordi

Intermediate

Posts: 459

Location: Barcelona

Occupation: creating ideas & coding them

  • Send private message

2

Monday, June 22nd 2015, 4:47pm

they just rename it to index.js and its in your-project/project/indexdata folder
everpano.com step beyond 360

benji33

Intermediate

Posts: 244

Location: France

Occupation: Senior Software engineer

  • Send private message

3

Monday, June 22nd 2015, 10:59pm

1. Use the Krpano upgrade tool on the yourtour.js and yourtour.swf file. Check the backup field.

2. You need also to copy paste the little end portion of code of the old/backup yourtour.js file into the new one.

3. Replace all needed krpano plugins into the "yourtourdata/graphics" directory.

This post has been edited 1 times, last edit by "benji33" (Jun 24th 2015, 11:37am)


4

Thursday, June 25th 2015, 10:29pm

Hi Benji33,
thank you, I did that modification and tour still works as expected in the browser.
After that I checked with the Samsung Gear VR, but I could not see the Enter VR button.
so I had to include some additional code the tour.xml file,
and copy the webvr.js and the png file

<!-- webvr.xml - WebVR plugin, enter/exit VR buttons, VR cursor, VR setup -->
<include url="%FIRSTXML%/webvr.xml" />

now I can see the VR Button, and can use the Gear VR but still all the hotspots are missing and I can't navigate with the Gear VR...

To be more specific, this is the tour I wanted to migrate with the goal to be able to view it with the Samsung Gear VR
http://www.luftpano.de/fotogipfel-oberstdorf/

This post has been edited 1 times, last edit by "panoguy" (Jun 25th 2015, 10:40pm)


Umalo

Professional

Posts: 1,047

Location: Osijek, Croatia, EU

  • Send private message

5

Thursday, June 25th 2015, 10:38pm

Have you upload also all used plugins? If you are still using older version plugins this might lead to unexpected behaviour.
I also had issues with some code that was working in older (than 1.19x) versions due to new expression parser some IF statements needed to be updated. So I would say it is not just easy bacward compatible but with small code adaptations it works like a charm.

6

Friday, June 26th 2015, 7:13am

Hi,

Quoted

but still all the hotspots are missing
Currently only distorted hotspots are supported in stereo rendering mode.

See here the pre-release notes here:
krpano 1.19 - Pre Release 1 - WebVR / MobileVR / Stereoscopic 3D Support (Oculus Rift, Google Cardboard, GearVR, ...)


I also had issues with some code that was working in older (than 1.19x) versions due to new expression parser some IF statements needed to be updated.
Just a quick note - in the next 1.19 pre-release the backward compatibility of the expression parser will be improved. Then the most old code should work without any modification.

Best regards,
Klaus

benji33

Intermediate

Posts: 244

Location: France

Occupation: Senior Software engineer

  • Send private message

7

Friday, June 26th 2015, 10:01am

Good :)

Yes add theses attributes to all point spots and picture spots (the only supported for the moment) :

Source code

1
2
distorted="true"
depth="1000"


Into your code avoid any "-" char into variables names to ensure a full compatibility with the new expression parser.
For string comparison you can also add '...' on %1, %2, placeholders.
Example : if(my-test == %1, ... ); must be converted to if(my_test == '%1', ... );