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.

a.pu

Trainee

Posts: 70

Location: Default city, Russia

Occupation: Vtour dev, design, UX and photography

  • Send private message

81

Wednesday, August 2nd 2017, 6:54pm

First to cheer! *love*

Umalo

Professional

Posts: 1,047

Location: Osijek, Croatia, EU

  • Send private message

82

Wednesday, August 2nd 2017, 11:13pm

Thanks for update. *thumbup*

83

Thursday, August 3rd 2017, 5:34am

pr11 bug report

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<hotspot name="mytext"
         type="text"
         ath="0" atv="0" edge="center" distorted="true" renderer="webgl"
         html="Text.."
         css="font-family:Arial; font-size:16px; color:#000000;"
         vcenter="true"
         padding="2"
         wordwrap="true"
         bg="true"
         bgcolor="0xFFFFFF"
         bgalpha="1.0"
         bgborder="0"
         bgroundedge="0"
         bgshadow=""
         txtshadow=""
         mergedalpha="true"
         oversampling="1.0"
         mipmapping="false"
         onautosized=""

         />


set vcenter true

can not Automatic plugin sizing ,that make very huge width number!

Alexey Tkachenko

Professional

Posts: 741

Location: Sevastopol, Crimea, Russian Federation

Occupation: Interpreting, Building virtual tours

  • Send private message

84

Thursday, August 3rd 2017, 9:06am

Hi Klaus!

I can confirm this also. In one of my tours I had this text layer:

Source code

1
<layer name="insert_phone_ok" url="%SWFPATH%/plugins/textfield.swf" align="bottom" y="10" enabled="false" keep="true" html="[b]OK[/b]"  css="font-family:Arial; text-align: center; font-size:16px; color:#ffffff;" vcenter="true" padding="5 10" wordwrap="true" selectable="false" embeddedfonts="false"  interactivecontent="false"  background="true" backgroundcolor="0x4d0093"  border="true" bordercolor="0xffffff" borderwidth="3" roundedge="0"/>



I had to add

Source code

1
width="80"
to it, otherwise it was stretched all the way to the stagewidth (which didn't occur with 1.19-pr10).
Regards,

Alexey

This post has been edited 1 times, last edit by "Alexey Tkachenko" (Aug 3rd 2017, 10:27am)


jordi

Intermediate

Posts: 428

Location: Barcelona

Occupation: creating ideas & coding them

  • Send private message

85

Thursday, August 3rd 2017, 9:26am

I also found some strange behaviour with pr 11

that was the result with pr 10


this is with pr 11

There seems to have problems solving bgroundedge, and size of the font.
I have tried

Source code

1
2
set(hs.oversampling, 2.0);
set(hs.mipmapping, true);


and also without those setting having the same result
everpano.com smart virtual tours

jeromebg

Professional

Posts: 734

Location: Angers - France

Occupation: Photographer

  • Send private message

86

Thursday, August 3rd 2017, 11:51am

Thx Klaus for this update !
I also have a "bug" ?
With 1.19pr11 if you use a textfield hotspot with no html the the player freeze with this error : TypeError: Argument 1 of Range.selectNodeContents is not an object.
It was working with 1.19pr10...

Example : https://360images.fr/krpano_nohtml/tour.html

87

Thursday, August 3rd 2017, 12:35pm

Hi,

thanks for bug-reporting and sorry for these bugs!

I have really thought I have tested every possible textfield case and are wondering now how I could have missed simple ones like no-width + vcenter (although vcenter wouldn't/shouldn't have an effect when no height is set)...

I will try to fix them and release a new version as soon as possible of course!


I also found some strange behaviour with pr 11
that was the result with pr 10
this is with pr 11

Yes, that looks strange!
Do you have a link for testing?

Best regards,
Klaus

88

Friday, August 4th 2017, 11:04am

same for me :

Source code

1
VM1141:1 Uncaught TypeError: Failed to execute 'selectNodeContents' on 'Range': parameter 1 is not of type 'Node'.    at Mf.q [as renderToCanvas] (eval at embedpanoJS (embedpano.js:11), <anonymous>:1:209576)    at k (eval at embedpanoJS (embedpano.js:11), <anonymous>:1:151031)    at P (eval at embedpanoJS (embedpano.js:11), <anonymous>:1:149345)    at Object.O.renderpano (eval at embedpanoJS (embedpano.js:11), <anonymous>:1:163558)    at Object.a [as updateview] (eval at embedpanoJS (embedpano.js:11), <anonymous>:1:105394)    at Of (eval at embedpanoJS (embedpano.js:11), <anonymous>:1:28556)    at b (eval at embedpanoJS (embedpano.js:11), <anonymous>:1:218923)



when i rollover hotspots

and an other bug, hotspot text dont show any text, but bgcolor and shadow works (in 1.19.10 is fine)

This post has been edited 2 times, last edit by "MrTie" (Aug 4th 2017, 11:36am)


89

Friday, August 4th 2017, 11:14am

Hi,

same for me :
... Failed to execute 'selectNodeContents' on 'Range': parameter ...
when i rollover hotspots
That happens on empty html setting values and will be fixed in the next release.


and an other bug, hotspot text dont show any text, but bgcolor and showdows works (in 1.19.10 is fine)
Please post an example or link to allow me fixing it.

I'm basically ready to release the next version, all bug-reports from above (except the strange one from Jordi were I'm waiting for more information) are already fixed. That means if you found an new bug please report it, then I can try fixing it before the next release.

Thanks and best regards,
Klaus

90

Friday, August 4th 2017, 11:28am

Thx Klaus , this is a demo tour

This post has been edited 1 times, last edit by "MrTie" (Aug 28th 2017, 5:15pm)


Tourvista

Intermediate

Posts: 257

Location: Leicester UK

  • Send private message

91

Friday, August 4th 2017, 12:02pm

Hello everyone,

I just uploaded an article to my blog with a deeper view into what's new in Krpano 1.19-pr11

I hope you find it useful.

Cheers

92

Friday, August 4th 2017, 2:28pm


Hi,

Thanks!

These examples were helpful - that reason for the missing texts in this case was the non-fullpage viewer embedding!

The internally used bounding boxes for the text lines were returned from the browser in absolute position values, but the internal text dom element is placed inside the krpano viewer container and so all texts had unexpectedly a wrong offset. And that offset was moving the texts out of the area of the textfield.

For the next release this will be fixed.

Best regards,
Klaus

93

Friday, August 4th 2017, 2:31pm

I just uploaded an article to my blog with a deeper view into what's new in Krpano 1.19-pr11

Great summary! *thumbsup*

94

Friday, August 4th 2017, 2:48pm

Cool ! thx Klaus !

This post has been edited 1 times, last edit by "MrTie" (Aug 28th 2017, 5:15pm)


95

Friday, August 4th 2017, 10:56pm

Hi,

okay, here - krpano 1.19-pr12:

All the textfield bugs from the posts above (and some others) should be fixed with it.

The release notes:
  • Fix: Crash on WebGL textfield hotspots when the 'html' setting is empty.
  • Fix: Set the default text color to black for WebGL textfield hotspots.
  • Fix: Wrong WebGL textfield width when using vcenter=true and doing autosizing (no width set).
  • Fix: Missing texts in WebGL textfields when the viewer wasn't embedded as fullpage-element.
  • Fix: Avoid internal WebGL textfield texture caching/reusing when removing hotspots not correctly (not via removehotspot).
  • Fix: Slightly inaccurate vertical scaling of the pano image in flat-panos.
  • Fix: Soundinterface Plugin - playing a completed sound again wasn't working correctly.

Btw - during testing I've created several internal examples and some of them seems interesting to share:

Example 1 - Textfield Line/Word Breaking (XML)
This example tests the line/word-breaking algorithm of the WebGL textfields - the left text is a CSS3D element and will be rendered by the browser itself and the right one is a WebGL texture where each word was calculated and drawn by krpano. The texts should always look the same. Additionally the WebGL textfield is using oversampling and mipmapping to improve the visual quality, e.g. look the texts at different zooms and different angles.

Example 2 - Cylinder-Grid-Hotspots (XML)
This example was created during trying to replicate a bug-report. Nothing really special but looks funny.

Best regards,
Klaus

Tuur

Sage

Posts: 3,125

Location: Netherlands

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

  • Send private message

96

Friday, August 4th 2017, 11:01pm

*love*
http://www.virtualtuur.com
Skype:studiotuur

jeromebg

Professional

Posts: 734

Location: Angers - France

Occupation: Photographer

  • Send private message

97

Saturday, August 5th 2017, 12:04am

THX Klaus !!!

98

Saturday, August 5th 2017, 1:39am

Example 1 - Textfield Line/Word Breaking (XML)
This example tests the line/word-breaking algorithm of the WebGL textfields - the left text is a CSS3D element and will be rendered by the browser itself and the right one is a WebGL texture where each word was calculated and drawn by krpano. The texts should always look the same. Additionally the WebGL textfield is using oversampling and mipmapping to improve the visual quality, e.g. look the texts at different zooms and different angles.


If the text is Chinese, then the webgl textfield hotspot will be a problem. Chinese is wrapped in a single character,This means that as long as there is a character to the right side, it should be wrapped。

Source code

1
2
3
4
5
6
7
8
	<data name="testtext">
高度灵活、性能卓越的轻量化全景漫游浏览器。
兼容HTML5和Flash,支持Webgl下的WebVR展示。
使用专用的krpano xml代码编写全景漫游,可开发出高度定制化的项目,也可利用krpano工具开发在线全景制作及展示平台。
支持各类型的全景图以及全景视频和环物全景。
支持各种投影模式。
同时提供简单高效的批处理方式,可在无需代码干预下迅速生成一个基本功能兼备的全景漫游项目。
	</data>

99

Saturday, August 5th 2017, 2:42pm

bug wakeLock trouble

bug report pr12 :

a - when entering webVR, the empty video goes fullscreen and i have to minimize manually to hide it, all the rest seems running fine.
video screen : https://www.dropbox.com/s/m2q5qhduqukwu89/bug.pr12.mp4?dl=0

b - Bingmaps seems slower to load map tiles, the radar cannot be rotated by touch (all the map move)

- iOS 10.3.3
- krpano wrapped in iOS App

Thanks for the hard work.

z

This post has been edited 1 times, last edit by "zadda" (Aug 6th 2017, 12:23pm)


100

Sunday, August 6th 2017, 5:32pm

hi klaus,

i just updated to pr12, thanks for all your work!

but i have to report, that with each update i have to clean out permissions and quarantine flags on osx. for example when copying manually from the template folder, the plugins cant get loaded later because they all have permissions of 700. i guess you fix that on the fly when using the droplets, but it would be nice to have correct permissions and quarantine flags removed for all files also in the templates/viewer folders...

best, index

This post has been edited 2 times, last edit by "indexofrefraction" (Aug 6th 2017, 5:44pm)