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.

Tourvista

Intermediate

Posts: 259

Location: Leicester UK

  • Send private message

221

Wednesday, May 27th 2015, 6:24pm

What? There is a pr2 version?!
Seriously klaus, you work so hard and so quick that you should set up a Twitter or Newsfeed account to inform your users that a new version is out ;-)
Anyways, I've updated my tour with the new pr2 but I still have that issue.

I'm going to try to give as much information as possible to make your life easy.
- Open the following URL: https://s3-eu-west-1.amazonaws.com/autof…er/devel/1.html
- pr2 has messed up something in my main menu icons (4 car brand models) and they don't show in VR mode. So please, ignore that and click on Ford, and then enter VR mode using the button at the top.
- Look/Click on the icon in the wind screen.
- Select the night scene, then wait until the background change.
- Look/Click again on the icon in the wind screen. Do you see that the night icon is still on the left side. Well, that icon should be a 'white room'. To prove this, with the two icons displayed, exit VR using the button at the top.
- Do you see that the icon on the left has changed?

Here is the file containing the relevant code:
http://192.168.56.1:8090/gforces/car_dea…s_gui/index.xml

In particular this is the action:

Source code

1
<action name="set_trims_colors_2">set(hotspot[color_trims_btn_1].url,%SWFPATH%/include/colors_gui/trim_color_1.png); set(hotspot[color_trims_btn_1].onclick,load_trim_color(a)); set(hotspot[color_trims_btn_2].url,%SWFPATH%/include/colors_gui/trim_color_3.png); set(hotspot[color_trims_btn_2].onclick,load_trim_color(c)); trace(get(hotspot[color_trims_btn_1].url)); showlog();</action>


Any ideas?

Thanks,

Rafael

222

Wednesday, May 27th 2015, 6:47pm

Hi,

Nope, the WebVr pages don't work at all.
In this case the main problem is probably the browser/system itself. From krpano side there should be no reason why the WebVR API shouldn't work.


But, maybe because I'm working on a Mac, even the Testing Server doesn't work from my side.
The krpano Testing Server should work fine on Mac.


What? There is a pr2 version?!
Just see the latest posts in the news forum:
http://krpano.com/forum/wbb/index.php?page=Board&boardID=2
or on the news page:
http://krpano.com/news/

Seriously klaus, you work so hard and so quick that you should set up a Twitter or Newsfeed account to inform your users that a new version is out
I've posted it on Twitter, but I'm preferring the krpano forum for announcing news :
https://twitter.com/klausreinfeld/status/596635610229690368


- Look/Click again on the icon in the wind screen. Do you see that the night icon is still on the left side. Well, that icon should be a 'white room'. To prove this, with the two icons displayed, exit VR using the button at the top.
- Do you see that the icon on the left has changed?
I see, but I don't know the reason yet. I will check this of course, but please also note that the current WebGL-hotspot rendering is not finished yet (as noted in the release posts) - that means many hotspot related things might not work in VR mode yet.

Best regards,
Klaus

Tourvista

Intermediate

Posts: 259

Location: Leicester UK

  • Send private message

223

Thursday, May 28th 2015, 11:26am

Hello,

Quoted

I've posted it on Twitter, but I'm preferring the krpano forum for announcing news :

https://twitter.com/klausreinfeld/status/596635610229690368
I didn't know you were in Twitter. Well, now you have a new follower *tongue*

Regarding the hotspot problem, I understand this is a pre-release and not everything works yet. I just wanted to make sure that it wasn't anything wrong in my code. I'll try to modify it to work around this issue.

Thanks again for your great work!

224

Thursday, May 28th 2015, 6:43pm

Hi,
I just wanted to make sure that it wasn't anything wrong in my code. I'll try to modify it to work around this issue.
The code itself is basically okay, but dynamically changing the hotspot url isn't working for hotspots rendered via WebGL yet.

Best regards,
Klaus

tittu

Beginner

Posts: 12

Location: France

  • Send private message

225

Friday, May 29th 2015, 1:12pm

Thanks a lot Klaus for this amazing release! The VR works well!

I have some issues though:
- the lookat() works perfectly in normal mode, but when we are in VR mode, it is all messed up. Does anyone has the same problem ?
- is it possible that some hotspot cannot be shown in VR mode (even with distorded option), I made a mask with an hotspot but it doesn't work in VR...

May I ask when do you think the stable release 1.19 will be out? (for the video available in VR)

Thanks again for your great work!

226

Monday, June 1st 2015, 3:22pm

Hi,
- the lookat() works perfectly in normal mode, but when we are in VR mode, it is all messed up. Does anyone has the same problem ?
That's normal - in VR mode the viewing direction will be set from the headset and not from the user or the xml. A way to reset the headset tracking would be calling the resetSensor() action from the WebVR plugin:
http://krpano.com/plugins/webvr/#resetsensor


- is it possible that some hotspot cannot be shown in VR mode (even with distorded option), I made a mask with an hotspot but it doesn't work in VR...
Masks are generally not available in HTML5.


May I ask when do you think the stable release 1.19 will be out? (for the video available in VR)
As soon as everything is ready of course.

Best regards,
Klaus

227

Tuesday, June 2nd 2015, 10:57pm

Oculus DK2 not working w/Nightly & MozVR and krpano 1.19 b2

Hello,

I'm trying the last prerelease with the Oculus and WebVR plugin. Once the Oculus is connected and configured, I start the WebVR example from krpano. If the panorama displays, it doesn't move at all. It seems the positional tracker isn't lit, the blue led is OFF although on the Toscana Unity demo, it is ON.
Did I miss something?
Having the same problem. However moving to a new MacPro it worked for a couple of days, and then stopped working. Perhaps a new Firefox Nightly version broke something?

This post has been edited 1 times, last edit by "aenghus" (Jun 2nd 2015, 11:41pm)


gabriel

Beginner

Posts: 26

Location: Paris, France

Occupation: photographer

  • Send private message

228

Wednesday, July 8th 2015, 2:14am

Sound into cardboard have a "delay"

Hi All,

i have make a tour for cardboard, and try to add different sound for each panos, it works, but i have a "delay", something special where the music is a little bit slower, and "duplicate". Here is the code of my xml, may someone tell me where i go wrong . Thank you and have a nice day. Gabriel.

Source code

1
2
3
4
5
<krpano logkey="false" showerrors="false" onstart="startup();">
<action name="startup">	if(startscene === null, copy(startscene,scene[0].name));	loadscene(get(startscene), null, MERGE);</action>
<layer name="txtpanoswitch" url="skin/loading.png" keep="true" visible="false" align="center"  soundOn="true" scale="0" onloaded="if(side == right, set(ox,-10), set(ox,+10) );" />
<plugin name="soundinterface" preload="true" url="%SWFPATH%/plugins/soundinterface.swf"	    alturl="%SWFPATH%/plugins/soundinterface.js" keep="true"/><action name="playsoundaction">		set(plugin[data].soundOn, true);		playpanosounds(forcesounds);</action>
<scene name="scene_01" title="01" onstart="" seen="false"><view fov="110" /><preview url="pics/01.tiles/preview.jpg" /><image><cube url="pics/01.tiles/pano_%s.jpg" /><mobile><cube url="pics/01.tiles/mobile_%s.jpg" /></mobile></image>		<events onloadcomplete="onloadcompleteaction();"/><action name="onloadcompleteaction">		playpanosounds());</action><action name="playpanosounds">		playbackgroundsound(%BASEDIR%/sounds/air_-_playground_love.mp3,100);</action> <action name="playbackgroundsound">		if(%1 == none,			stopallsounds();			set(plugin[soundinterface].background,%1);			, 			if(plugin[soundinterface].background == %1,				if (%3 == forcesounds,					stopallsounds();playsound(backgroundsound,%1,);				)				,				stopallsounds();playsound(backgroundsound,%1,);				set(plugin[soundinterface].background,%1);			)		); </action> </scene>

229

Wednesday, July 8th 2015, 10:44am

Hi,

sorry, but that sounds like a device or browser problem, nothing inside krpano or the xml can cause a 'sound delay'. Maybe the VR rendering is too much for the device so that there are no more cpu resources for playing the sound...

What devices and browsers have you tested?

Best regards,
Klaus

gabriel

Beginner

Posts: 26

Location: Paris, France

Occupation: photographer

  • Send private message

230

Wednesday, July 8th 2015, 12:38pm

Hi Klauss

Hi Klaus, and thank for your rapid answer.


i use a iPhone 6, the tour is embedded in the phone by goodreader, and read by safari.
But it's already when i build the tour on my computer that i can hear the delay.
in fact it's like the music is duplicated, and a little bit slowed, with a kind of echo ...
Thank you and have a nice day.

Gabriel.

231

Wednesday, July 8th 2015, 1:28pm

Sounds like either playing the sound two times or a problem with the sound file itself...

Sorry, but I don't think that this is a problem related to krpano or the 1.19 pre-release, but if you want you can post a link to your example (in a separate thread!) and I will have a look at it.

ZODIACBLUE

Beginner

Posts: 37

Location: Brighton, UK

Occupation: Photographer

  • Send private message

232

Friday, July 17th 2015, 6:31pm

Another question re lookat()

Hi Klaus

Sorry to bring this up again but just wanted to get some clarity on this if possible.

How do we control this in a multi pano tour?

I have roughly the right lookat loading for most panos that load but a certain number of panos end up being backwards. Tour has been created using Panotour pro 2.5 beta but I've been using Krpano for years and have gone into the xml but can't seem to find why the headset would reset just for these particular panos and not for others.

Also not sure how we can get around this issue. I wish I could post an example but unfortunately whole project is under NDA.

*smile*

233

Monday, July 20th 2015, 2:06pm

I noticed that the webr script calls a cloud front file that had a bad connection

Is this a file that can be stored locally? what is it used for is it needed?
d8d913s460fub.cloudfront.net/krpanocloud/webvr_localstorage.html?v=1

thanks in advance

234

Wednesday, July 22nd 2015, 11:46am

Hi,

that's for the 'cross-domain local-storage'.

It allows to store the mobile-vr headsets settings locally on the device inside the browser, but by sharing the setting between several domains. That will be only loaded when calling loadsettings() or savesettings().

That means when adjusting and saving the vr setting once on any krpano pano, you can visit any other krpano pano on any other domain and have access to the same vr settings. That means the vr setup would need to be done only once.

Setting manually a different domain/url wouldn't be useful because then this wouldn't work anymore. In the next release (1.19-pr3) it will be optionally also possible to store the settings only on the local domain localstorage.

If you don't want that, just remove the loadsettings()/savesettings() calls in the webvr.xml or implement a just solution for storing the vr settings.

Btw - you're using an too old version, there is already a pre-release 2 and soon there will be a pre-release 3.

Best regards,
Klaus

philkrom

Beginner

Posts: 35

Location: Montpellier France

Occupation: Zooomez cofounder

  • Send private message

235

Friday, August 28th 2015, 12:18am

Doesn't work anymore... But why ????

Hi everybody.

I didn't use my Oculus with krpano since months, and I don't understand why, but ir doesn't work anymore *sad* Exactly as if oculus would not be connected...

The tour I want to display was made with KRP 1.19 pr1, but I have tried with a pr2 and pr3 without success.

Here it is : http://static.zooomez.fr/medias/vr/badep….xml&html5=only

I have tried Klaus examples and Jerome's Paris VR, same problem.

Chromium version is Chromium_WebVR_Win_SDK_0.5.0.1

Downloaded here : https://drive.google.com/folderview?id=0…sp=sharing#list

Oculus version is 1.7 (SDK 0.6.0.1), my oculus works fine with other apps.

Did I miss anything ? *confused* *confused* *confused*

Any help welcome *unsure*

Best regards !

Philippe

Philippe - Newbie in krpano code but very interested in everything about Oculus and VR devices *w00t*

Cofounder of the Zooomez project - zmz.fr - map on this link
If you want to support our project, please like our Facebook page *thumbsup*

236

Friday, August 28th 2015, 6:48am

Hi,

The tour I want to display was made with KRP 1.19 pr1, but I have tried with a pr2 and pr3 without success.
Did I miss anything ?
Yes - two things:
  1. the WebVR API has changed - pr1 doesn't work anymore in newer Chrome and Firefox builds, pr2 or pr3 need to be used.
  2. the WebVR support is behind a flag in the newer Chrome versions and need to be activated manually - enter 'chrome://flags/#enable-webvr' in the Chromium WebVR build and active it.


Best regards,
Klaus

philkrom

Beginner

Posts: 35

Location: Montpellier France

Occupation: Zooomez cofounder

  • Send private message

237

Friday, August 28th 2015, 9:57am

Differences in a tour generated with KRP1.19 pr1 and pr3

the WebVR API has changed - pr1 doesn't work anymore in newer Chrome and Firefox builds, pr2 or pr3 need to be used.
the WebVR support is behind a flag in the newer Chrome versions and need to be activated manually - enter 'chrome://flags/#enable-webvr' in the Chromium WebVR build and active it.
Thanks a lot, it works fine with chromium.

A question : is there any way to "convert" a pr1 tour to a PR3 tour without rebuilding it entirely ? I mean, only replace and/or modify some files ?

Here is the comparison between a pr1 render (left) and pr3 (right) with singleres tour droplet, with a short tour of 2 equis.




Only these changes in tour.xml (except alternative skins in pr1)



For index.html, no changes (only the design option)



tour.js, tour.swf are different


And the plugin folder is different.


So I think it is possible to :


- modify the tour.xml
- replace tour.js, tour.swf
- replace skin and plugin folder


And it shoud work ?


Am I wrong ?


Best regards

Philippe - Newbie in krpano code but very interested in everything about Oculus and VR devices *w00t*

Cofounder of the Zooomez project - zmz.fr - map on this link
If you want to support our project, please like our Facebook page *thumbsup*

238

Friday, August 28th 2015, 10:19am

- modify the tour.xml
- replace tour.js, tour.swf
- replace skin and plugin folder


And it shoud work ?

Hi,
- modify the tour.xml
- replace tour.js, tour.swf
- replace skin and plugin folder

And it shoud work ?
Yes, that should work.

- update/replace the tour.swf/tour.js
- update/replace the whole plugins and skin folder
- modifying the tour.html and tour.xml would be optional, but recommend if you want to use the new features (design selection in the html, new skin settings)

The pano images itself don't need to be rebuild and the <scene> elements in the tour.xml will also be the same.

Best regards,
Klaus

cartola

Beginner

Posts: 24

Location: Rio de Janeiro, Brazil

Occupation: System Analyst

  • Send private message

239

Wednesday, September 2nd 2015, 2:13am

Hi, I've read above that the hotspot rendering is not finished yet in this pre-release, but anyway, maybe my example can also help developing it.

I've recently used the pr1, but after a friend advised me about some problems in Safari+Mac desktop I've changed to pr3 and added

Source code

1
<display framerate="60" devices="desktop.and.safari" />
to my xml

When upgraded to pr3 the hotspot at nadir just vanished, and it is not inside VR mode, it already disapeared when entering the standard panoramic mode.

Here are two examples:

http://cartola.org/panoramas/20141121-Me…eum-Great_Hall/

http://cartola.org/panoramas/20141121-Metmuseum-Esfinges

The hospot link is there (nadir) but the image doesn't show. No error is reported by krpano. I haven't put the example online, but if I just change the index.js with the one from pr1 the hotspot image gets shown.

Bests and thank you for your great work, as always.
http://cartola.org/360
twitter: @carloscartola | facebook
Rio de Janeiro, Brazil

philkrom

Beginner

Posts: 35

Location: Montpellier France

Occupation: Zooomez cofounder

  • Send private message

240

Tuesday, September 8th 2015, 1:01pm

KRPano 1.19 pr3 and Windows 10 ? - URGENT !!!

Hi everybody

At first, my Oculus Rift works fine with Win10.

If Have installed Chromium, enabled VR.
But it seems this tour doesn't work in VR mode : http://static.zooomez.fr/cl/pech-cel/index.html

If I click the cardboard icon, it turns fullscreen, without controlbar or anything else.

After a few seconds, it turns back to the non VR tour.

Do I am wrong ? Any idea ?

I have to make a demo tomorrow, on a win10 computer, any help welcome !
Philippe - Newbie in krpano code but very interested in everything about Oculus and VR devices *w00t*

Cofounder of the Zooomez project - zmz.fr - map on this link
If you want to support our project, please like our Facebook page *thumbsup*

Similar threads