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.

41

Tuesday, August 11th 2015, 5:06pm

Thank you for your response...

Marco

Posts: 1,850

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

42

Tuesday, August 11th 2015, 8:04pm

Quoted

Textfield Plugin - automatically convert any occurrence of '0x' to '#' in the css setting to allow using the same color value syntax as in the krpano xml.


DOH!

This doesn't work when used before with

Source code

1
css="calc: 'p {font-weight:bold;font-family:Arial;font-size:15px;text-align:left;color:'+theme[get(scene[get(xml.scene)].theme_color)].popup_text_color+';} a{color:'+theme[get(scene[get(xml.scene)].theme_color)].accent_color+'}'"
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

43

Tuesday, August 11th 2015, 10:01pm

Hi,

And one more thing: 1.18 generated xmls encoded with UTF (without BOM), so I could use Russian characters without going into Notepad++ settings and adjusting this manually. Now it seems that 1.19 encodes to ANSI by default. I guess there's some wise reason for this.
Nothing has changed here, the tool takes the template xml as it is, but I agree it would make sense to either add an UTF8 BOM to the template xml files or to add it manually during the xml generation (I will consider this for the next release).



I'm noticing that when I use autorotate on a tour, that it's still autorotating in VR mode. is there a way to disable that?
The WebVR plugin doesn't automatically disable autorotate yet, that means it would need to be disable manually when entering the VR mode and restored when exit it.

E.g. in the webvr.xml - add to the 'webvr_onentervr' <action> these lines:

Source code

1
2
copy(backup_autorotate, autorotate.enabled);
set(autorotate.enabled, false);

and to the 'webvr_onexitvr' <action> this line:

Source code

1
copy(autorotate.enabled, backup_autorotate);




DOH!
This doesn't work when used before with
css="calc: 'p {font-weight:bold;font-family:Arial;font-size:15px;text-align:left;color:'+theme[get(scene[get(xml.scene)].theme_color)].popup_text_color+';} a{color:'+theme[get(scene[get(xml.scene)].theme_color)].accent_color+'}'"
Depending on the format of the color values (if defined with '0x') this should work now instead of not working now...?

Best regards,
Klaus

Posts: 1,850

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

44

Tuesday, August 11th 2015, 10:09pm

It works with txtadd in actions but not as a calc attribute. The tags are also inside scenes. The final css is missing the hashtag.
If I simply replace my variable back to the one with the hashtag it works.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

45

Tuesday, August 11th 2015, 10:15pm

Do you have an example? (in a separate thread)

A problem in your code might be that the 'xml.scene' is not set when the calc will be resolved...

ninerian

Beginner

Posts: 40

Location: Zwickau

Occupation: Softwareentwickler

  • Send private message

46

Wednesday, August 12th 2015, 1:32pm

Gyro 2 and WebVR

Hello Klaus,

great work, as usual. ;-)


As you introduced the gyro2 plugin with this release, I want to know, if there are any advantages, using it with the webVR plugin.

Posts: 1,850

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

47

Wednesday, August 12th 2015, 4:52pm

Do you have an example? (in a separate thread)

A problem in your code might be that the 'xml.scene' is not set when the calc will be resolved...



PM sent, It resolves the variable containing the hashtag # for red just fine. But not 0xff0000,.... comes out as 16711680;
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

48

Wednesday, August 12th 2015, 10:57pm

No Oculus support?

I'm very happy with the way pre-release 3 works with my iPhone 6 w/Google Cardboard.
But not so much with the Oculus Rift. Using a new Mac Pro with Firefox Nightly w/VR support (mozVR) this VR created w/ krpano pre-release 2 works just fine with the Oculus:
http://allaroundnevada.com/wp-content/vr/VC/AFM/HMD/

However a tour made with krpano pre-release 3 does not work properly on the Oculus. While it does animate w/head movements, it does not fill the view field. Also, you cannot access the "settings" menu.
http://howardgoldbaum.com/HMDtour/


Is krpano HMD not going to support the Oculus Rift?

Taurus

Trainee

Posts: 133

Location: Belarus

Occupation: photographer & virtual tour developer

  • Send private message

49

Wednesday, August 12th 2015, 11:29pm

Hi, Klaus

I apologize if this question has already been asked
it became impossible to use the reserved name of the data as a text value of the variable passed as a parameter when calling the action - in version krpano 1.19.pr2
Klaus, tell us: in future releases such an opportunity will come back?

Source code

1
2
3
4
5
<lift name="lift_1" max="0" min="4" h0="" h1="" h2="" h3="" h4="" l1="" l2="" l3="" l4="" />
<lift name="lift_2" max="0" min="4" h0="" h1="" h2="" h3="" h4="" l1="" l2="" l3="" l4="" />
...

action(act_name, 1, 'right', 'lift');




thank
Serge
--
in order to comply the word with the affairs, you need to keep quiet and do nothing!

Virtual tour Gomel
Virtual tour
Virtual tour
Elbrus
...

Windows 10x64 & krpano 1.19pr16

This post has been edited 1 times, last edit by "Taurus" (Aug 13th 2015, 10:15am)


50

Thursday, August 13th 2015, 5:46pm

Map spot no more active green style

Hi,
I just noticed with the new "style" feature we lost ability to get the map spot as active="true",
activeurl not load green image

Thanks

Z

Posts: 9

Location: Edmonton, Alberta, Canada

Occupation: Panographer

  • Send private message

51

Thursday, August 13th 2015, 9:19pm

However a tour made with krpano pre-release 3 does not work properly on the Oculus. While it does animate w/head movements, it does not fill the view field. Also, you cannot access the "settings" menu.
I'm noticing the same problem with the Oculus as well.

augustommm

Beginner

Posts: 34

Location: Goiânia-Goiás-Brazil

Occupation: Photographer

  • Send private message

52

Thursday, August 13th 2015, 10:27pm

Hello!

I've been making some experiments with both Oculus Rift DK2 and Cardboard with Note 4.

I have some questions to ask you guys:

- Is there any good solution to mirror the screen from the Rift to a monitor while navigating a webVR Krpano Tour?
I haven't found any one yet.


- I used, on my Note 4, Chrome, Chromium and Firefox for Android to open stereoscopic tours.
On Firefox it's just horrible judder, and it fails loading tiles after some navigation through hotspots.
Also on Chrome or Chromium it's kind of "wavy" while moving my head, is there any kind of adjustment to make it nicer?





Thanks!

augustommm

Beginner

Posts: 34

Location: Goiânia-Goiás-Brazil

Occupation: Photographer

  • Send private message

53

Thursday, August 13th 2015, 11:30pm

Another question:


What kind of graphics cards could give reasonable quality for using a Rift DK2 with stereoscopic KRPano tours?

Could a GeForce GTX 750 do the job without making the users sick?


I know Oculus recommends a GTX 970 at the minimum, but I won't be playing games at all.


Thanks!

54

Friday, August 14th 2015, 11:49am

Hi,

As you introduced the gyro2 plugin with this release, I want to know, if there are any advantages, using it with the webVR plugin.
The gyro2 plugin and the WebVR plugin are internally using the same new gyro tracking code, but with different internal APIs and with different default sensor mode settings (see - http://krpano.com/plugins/gyro2/#sensor_mode and http://krpano.com/plugins/webvr/#mobilevr_sensor_mode).

Both plugins can't be used the same time, when the WebVR plugin is active, then the view will be calculated by it, any tracking from an eventually at the same time enabled gyro plugin will be overwritten/ignored.



PM sent, It resolves the variable containing the hashtag # for red just fine. But not 0xff0000,.... comes out as 16711680;
The problem in this case is that the 0xff0000 will be evaluated as integer value and not as string. I will still need to check your PM example.



Using a new Mac Pro with Firefox Nightly w/VR support (mozVR) this VR created w/ krpano pre-release 2 works just fine with the Oculus:

However a tour made with krpano pre-release 3 does not work properly on the Oculus. While it does animate w/head movements, it does not fill the view field. Also, you cannot access the "settings" menu.
Please note that the problem is Firefox Nightly, not krpano!
Firefox has currently a broken WebVR support.

The pre-release-2 itself wasn't working fully correctly, it was wrongly ignoring the rendering resolution returned by the WebVR API, so the output was rendered with the screen resolution, but this was too low - for the additional lens distortion a higher resolution is required.

The pre-release-3 works correctly and uses resolution provided by WebVR API as it should. The problem in your case is probably that Firefox has problems with that resolution/rendering-size. But that's a browser or system bug.

Btw - the 'setting menu' is only for 'MobileVR', not for WebVR - on desktop with the WebVR API all settings and the lens distortion will be handled and done by the WebVR API of the browser.



Is krpano HMD not going to support the Oculus Rift?
*confused*
There IS support for the Oculus Rift!

Try using the Chromium WebVR build - and if possible - use Windows and the DK2 in 'direct mode' (no extended screen!). The Mac isn't well supported by Oculus and additionally also 'on hold' for the Cusomer version of the Oculus Rift.

With Windows and Direct Mode way you will get native like performance and latency.

Btw - please note that WebVR is an experimental API and when browsers are broken or systems aren't well supported by Oculus, then this is out of my scope of course.



t became impossible to use the reserved name of the data as a text value of the variable passed as a parameter when calling the action - in version krpano 1.19.pr2
Klaus, tell us: in future releases such an opportunity will come back?
That should still work...



I just noticed with the new "style" feature we lost ability to get the map spot as active="true",
activeurl not load green image
That's related to the change of the 'style' functionality, it's now handled by the xml parser. As workround the <spotstyle> would need to be defined outside the <plugin> as <style>. In the next release the 'style' attribute of the map spots will be renamed to 'spotstyle'.



- Is there any good solution to mirror the screen from the Rift to a monitor while navigating a webVR Krpano Tour?
I haven't found any one yet.
Yes, use Windows and the Chromium WebVR build and run the DK2 in Direct-Mode - then you will see the Rift-output mirrored on the screen.



What kind of graphics cards could give reasonable quality for using a Rift DK2 with stereoscopic KRPano tours?

Could a GeForce GTX 750 do the job without making the users sick?
Yes, should be good enough for the DK2, but I can't say anything about the CV1 of course.


Best regards,
Klaus

benji33

Intermediate

Posts: 244

Location: France

Occupation: Senior Software engineer

  • Send private message

55

Friday, August 14th 2015, 1:41pm

How to make a wmode transparent (or opaque) on Flash fallback and remove the wmode transparent for HTML5 player ? Is it possible ?

Taurus

Trainee

Posts: 133

Location: Belarus

Occupation: photographer & virtual tour developer

  • Send private message

56

Friday, August 14th 2015, 2:34pm

That should still work...
krpano 1.19pr2:

Source code

1
ERROR: ReferenceError: throw_ is not defined: '' == 'lift'

in krpano 1.19pr3 It was working normally, thank, KLaus!
--
in order to comply the word with the affairs, you need to keep quiet and do nothing!

Virtual tour Gomel
Virtual tour
Virtual tour
Elbrus
...

Windows 10x64 & krpano 1.19pr16

augustommm

Beginner

Posts: 34

Location: Goiânia-Goiás-Brazil

Occupation: Photographer

  • Send private message

57

Friday, August 14th 2015, 2:48pm

Quoted from "augustommm"
- Is there any good solution to mirror the screen from the Rift to a monitor while navigating a webVR Krpano Tour?
I haven't found any one yet.
Yes, use Windows and the Chromium WebVR build and run the DK2 in Direct-Mode - then you will see the Rift-output mirrored on the screen.



OK! I'm actually running on extended mode so far, as my graphics card didn't work on Direct Mode (no DirectX 11). Maybe that's why I wasn't seeing the mirrored screen.


Quoted from "augustommm"
What kind of graphics cards could give reasonable quality for using a Rift DK2 with stereoscopic KRPano tours?

Could a GeForce GTX 750 do the job without making the users sick?
Yes, should be good enough for the DK2, but I can't say anything about the CV1 of course.
Thanks Klaus! I think I'll give it a try.

58

Saturday, August 15th 2015, 12:09am

transparent wmode for webgl

Hey there Klaus, I noticed in the release notes for this version
  • Partial wmode=transparent support in WebGL.

can you clarify what you mean re partial?


Thanks!

59

Sunday, August 16th 2015, 12:23pm

3D stereoscopic VTOUR

Hi Klaus
I'm wondering how to name files when i send them to create a 3d Stereoscopic VTOUR Normal
I use for each image the following names: image1_right_f.jpg.....r,b,l,t,d for the right 'eye' and also image1_left_f.jpg.....r,b,l,t,d for the left 'eye'
How can I include these labels on the template to make de VTOUR automatically?

Thanks in advance

This post has been edited 1 times, last edit by "inavarro" (Aug 16th 2015, 12:58pm)


herrpedro

Trainee

Posts: 134

Location: Lisbon

Occupation: Programmer/analyst

  • Send private message

60

Sunday, August 16th 2015, 1:11pm

Hi Klaus
I'm wondering how to name files when i send them to create a 3d Stereoscopic VTOUR Normal
I use for each image the following names: image1_right_f.jpg.....r,b,l,t,d for the right 'eye' and also image1_left_f.jpg.....r,b,l,t,d for the left 'eye'
How can I include these labels on the template to make de VTOUR automatically?

Thanks in advance


hi,
i think you should create a separate thread in the droplets and it would be a more visible question for more people to help
(i think the sabe for other things here including 1 of my posts :) )