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.
![]() |
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="" /> |
![]() |
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"/> |
![]() |
Source code |
1 |
width="80" |
This post has been edited 1 times, last edit by "Alexey Tkachenko" (Aug 3rd 2017, 10:27am)
![]() |
Source code |
1 2 |
set(hs.oversampling, 2.0); set(hs.mipmapping, true); |
![]() |
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) |
This post has been edited 2 times, last edit by "MrTie" (Aug 4th 2017, 11:36am)
That happens on empty html setting values and will be fixed in the next release.same for me :
... Failed to execute 'selectNodeContents' on 'Range': parameter ...
when i rollover hotspots
Please post an example or link to allow me fixing it.and an other bug, hotspot text dont show any text, but bgcolor and showdows works (in 1.19.10 is fine)
Thx Klaus , this is a demo tour
1.19.11:
http://experimental.tour.previsite.com/F…kinColor=bdcf00
1.19.10:
http://tour.previsite.com/F5856120-0C72-…kinColor=bdcf00
I just uploaded an article to my blog with a deeper view into what's new in Krpano 1.19-pr11
Location: Netherlands
Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
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.
![]() |
Source code |
1 2 3 4 5 6 7 8 |
<data name="testtext"> 高度灵活、性能卓越的轻量化全景漫游浏览器。 兼容HTML5和Flash,支持Webgl下的WebVR展示。 使用专用的krpano xml代码编写全景漫游,可开发出高度定制化的项目,也可利用krpano工具开发在线全景制作及展示平台。 支持各类型的全景图以及全景视频和环物全景。 支持各种投影模式。 同时提供简单高效的批处理方式,可在无需代码干预下迅速生成一个基本功能兼备的全景漫游项目。 </data> |
This post has been edited 1 times, last edit by "zadda" (Aug 6th 2017, 12:23pm)
This post has been edited 2 times, last edit by "indexofrefraction" (Aug 6th 2017, 5:44pm)