Hi Klaus,
when I generate a js with this latest version it says the build date from yesterday.
Not so important I guess.. but a bit confusing perhaps.
Tuur
Hi Klaus,
when I generate a js with this latest version it says the build date from yesterday.
Not so important I guess.. but a bit confusing perhaps.
Tuur
when I generate a js with this latest version it says the build date from yesterday.
Are you sure to use the latest version?
Or the browser has cached a file?
Because that should be not possible and I have just checked everything again and it's okay...
strange.. now it is fine..
Also the js that I generated with the 3-16 version said 3-15.. but now it seems fine..
Sorry!
Tuur
Sorry, I can't reproduce this... in any version... and there were no changes that should affect the css padding...
with prev-1: the padding is "3px 8px 3px 8px"
with prev-2: the padding is "2px 2px 2px 2px"
all files are identical - only "krpano.js" changed
Jürgen
Do you have an example where this can be tested?
The code from above is not enough for reproducing...
Hi,
new infos - the problem with padding is only AFTER the first DRAG on the panorma
I have added in one of your examples (-> tooltips) the tour_edithelper.xml with the same padding problem like my tooltips
screen recording:
https://360.articulate.com/review/content…9523f272/review
download:
https://www.feldmannmediagroup.com/test/public/images/tooltips.zip
Jürgen
Please try the new pre-release from above.
Hi Klaus,
Thanks for your answer, unfortunately the problem is still there
Hi Klaus,
Perfect works again, congrats.
Do you have a plan for merge multiple .obj file in same scene?
https://products.aspose.app/3d/merger/obj like this idea? but editor will be krpano.
Thanks.
Hi Klaus,
in 1.21 (2023-03-16) some properties from the 'css' attribute are not applied to text layers when the 'cssstyles' attribute is set (it worked as expected in 2023-02-09). Some properties like 'background-color' work, but others like 'color', 'font-family' and 'font-size' are filtered.
Please see this test case: [redacted]
This is the complete code to reproduce the issue:
<cssstyles>
<![CDATA[
.test {}
]]>
</cssstyles>
<layer name="text1" type="text" text="test 1" x="30" y="30" cssclass="test"
css="background-color: #a8a8a8; color: #ff0000; font-family: Times New Roman, serif; font-size: 24px;" />
<layer name="text2" type="text" text="test 2" x="30" y="80"
css="background-color: #a8a8a8; color: #ff0000; font-family: Times New Roman, serif; font-size: 24px;" />
Display More
Kind regards,
Christian
Hi Klaus,
Perfect works again, congrats.
Do you have a plan for merge multiple .obj file in same scene?
https://products.aspose.app/3d/merger/obj like this idea? but editor will be krpano.
Thanks.
See this post:
https://krpano.com/forum/wbb/inde…89694#post89694
I made an example
<layer name="test" type="text" align="top" html="looktohotspot(hs1)"
onclick="looktohotspot(hs1); showlog(true)"/>
<hotspot name="hs1" url="red.png" ath="-50" />
but a warning pops up and there is no animation with the centering of the hotspot
WARNING: lookto() - invalid parameters!
Good morning San7
Confirmed. I had this also in the first preview of 1.21, but somehow forgot to report it.
Just add a second parameter (fov) to work around it for now... Does break compatibility with 1.20 though as there it seems to work without adding parameters.
gr,
K.
Good morning San7
Confirmed. I had this also in the first preview of 1.21, but somehow forgot to report it.Just add a second parameter (fov) to work around it for now... Does break compatibility with 1.20 though as there it seems to work without adding parameters.
gr,
K.
Hello, yes this solves the problem, thanks!
But this should work when only the name is given.
I create an image hotspot with onhover and onout event like this:
window.krpano.set(`hotspot[name].onhover`, () => { window.krpano.set(`hotspot[name].bgborder`, '50 0xFF0000 1.0 dashed') });
window.krpano.set(`hotspot[name].onout`, () => { window.krpano.set(`hotspot[name].bgborder`, '') });
the result is the hotspot is only bigger everytime it's hover and no border display at all,
the extra size is exactly equal to the border size.
Has anyone encountered this problem?
I create an image hotspot with
...
hotspot[name].bgborder`, '50 0xFF0000 1.0 dashed'
...
the result is the hotspot is only bigger everytime it's hover and no border display at all,
the extra size is exactly equal to the border size.
Hi,
the bgborder setting isn't supported for WebGL 'image' hotspots yet.
Currently only layers, CSS3D-hotspots and textfield-hotspots (WebGL and CSS3D) are supporting it.
The layout/size-calculation is already done, but the WebGL-hotspot-rendering doesn't draw the borders yet.
But this is in works and will come in one of the next versions.
Best regards,
Klaus
Hi,the bgborder setting isn't supported for WebGL 'image' hotspots yet.
Currently only layers, CSS3D-hotspots and textfield-hotspots (WebGL and CSS3D) are supporting it.The layout/size-calculation is already done, but the WebGL-hotspot-rendering doesn't draw the borders yet.
But this is in works and will come in one of the next versions.Best regards,
Klaus
thanks Klaus!
looking forward to see it soon
i have tested the new preview-2 and I have new error - padding did't work with my tooltips anymore (no problems with preview-1)
in 1.21 (2023-03-16) some properties from the 'css' attribute are not applied to text layers when the 'cssstyles' attribute is set (it worked as expected in 2023-02-09). Some properties like 'background-color' work, but others like 'color', 'font-family' and 'font-size' are filtered.
WARNING: lookto() - invalid parameters!
Hi,
related to these reports - there is new 1.21 release out (build 2013-03-21) with these fixes:
Best regards,
Klaus
Hi all. For me, the main problem is that the deep link stopped working.
Hi all. For me, the main problem is that the deep link stopped working.
This is already fixed - just use the latest 1.21 version.
Klaus, thanks for the latest fixes!
I also did a test and strange behavior, when you click on the button, the hotspot with the letter "i" should be shown and hidden, and the hotspot with the arrow is hidden.
Although the trace outputs the name of the hotspot with the letter "i"
if you put a "set" instead of "tween", then it works correctly
<layer name="test1" type="text" align="top" x="-30" html="on infohs" onclick="hid_show_hs(1)"/>
<layer name="test2" type="text" align="top" x="30" html="off infohs" onclick="hid_show_hs(0)"/>
<hotspot name="infohs" keep="true" type="image" url="i.png" />
<hotspot name="hsp_1" type="image" url="arrov.png" ath="-30" />
<action name="hid_show_hs" scope="local" args="stat" >
for(set(i, 0), i LT hotspot.count, inc(i),
copy(hs, hotspot[get(i)]);
if(hs.name == 'infohs',
trace(hs.name);
tween(hs.alpha, get(stat));
);
);
</action>
Display More
Don’t have an account yet? Register yourself now and be a part of our community!