Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

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

  • Nachricht senden

161

Donnerstag, 16. März 2023, 13:35

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 *thumbsup*

162

Donnerstag, 16. März 2023, 14:26

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...

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

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

  • Nachricht senden

163

Donnerstag, 16. März 2023, 14:29

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 *thumbsup*

164

Donnerstag, 16. März 2023, 16:57

Sorry, I can't reproduce this... in any version... and there were no changes that should affect the css padding... *confused*

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

165

Freitag, 17. März 2023, 07:58

Do you have an example where this can be tested?
The code from above is not enough for reproducing...

166

Freitag, 17. März 2023, 11:03

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/conten…9523f272/review

download:
https://www.feldmannmediagroup.com/test/…es/tooltips.zip

Jürgen

167

Freitag, 17. März 2023, 14:23

it seems the rz rotation (camroll or bring ear to shoulder) of the flying is missing since 1.21.
2 barebones to be watched in vr headset:
I'm testing the version with my plugin, I'm facing a problem that I don't understand:
in desktop verion, everything is OK, but in VR the different hotspot crees are not positioned correctly, here is an example.

Please try the new pre-release from above.

Hi Klaus,

Thanks for your answer, unfortunately the problem is still there

PanoramicWEB

Fortgeschrittener

Beiträge: 192

Wohnort: Turkey

Beruf: 360 Software and Hardware Developing

  • Nachricht senden

168

Freitag, 17. März 2023, 17:51

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.

169

Freitag, 17. März 2023, 17:58

Some properties from 'css' attribute are not applied to text layers when the 'cssstyles' attribute is set

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:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
<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;" />


Kind regards,
Christian

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »ctt360« (22. März 2023, 09:10)


kme

Fortgeschrittener

Beiträge: 310

Wohnort: Belgium

Beruf: Long time coder, product manager and 3D enthousiast

  • Nachricht senden

170

Freitag, 17. März 2023, 18:08

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/index.php?p…89694#post89694

171

Samstag, 18. März 2023, 07:13

looktohotspot gives warning

I made an example

Quellcode

1
2
3
4
<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! *whistling* *question*

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »San7« (18. März 2023, 07:50)


kme

Fortgeschrittener

Beiträge: 310

Wohnort: Belgium

Beruf: Long time coder, product manager and 3D enthousiast

  • Nachricht senden

172

Samstag, 18. März 2023, 08:24

Good morning San7 *cool*
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.

173

Samstag, 18. März 2023, 10:09

Good morning San7 *cool*
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.

kiennv

Anfänger

Beiträge: 9

Beruf: Software Developer

  • Nachricht senden

174

Dienstag, 21. März 2023, 11:42

bgborder is buggy on hotspot

I create an image hotspot with onhover and onout event like this:

Quellcode

1
2
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?


Ecommerce virtual tour: https://www.virtualshop.me/
Online tour editor: https://vt.360tovisit.com

175

Dienstag, 21. März 2023, 13:59

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

kiennv

Anfänger

Beiträge: 9

Beruf: Software Developer

  • Nachricht senden

176

Dienstag, 21. März 2023, 14:59

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 *squint*
Ecommerce virtual tour: https://www.virtualshop.me/
Online tour editor: https://vt.360tovisit.com

177

Dienstag, 21. März 2023, 23:08

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:
  • Fix: A bug in the textfields style-parsing-cache caused various text/style/layout side effects.
  • Fix: hotspot.center() reported an invalid size for image hotspots (calling looktohotspot() without fov failed because of this).
  • Fix: The hotspot hitd distance wasn't set to the correct depth when the depthbuffer setting wasn't enabled.
  • Fix: Ensure that the textfield html and css variables are always Strings (and not Numbers).
  • Fix: copy_to_clipboard.xml - copy to clipboard didn't work in Fullscreen mode.
  • Fix: showtext.xml - flickering text position at the screen edges when clipping is enabled.

Best regards,
Klaus

178

Mittwoch, 22. März 2023, 14:09

DeepLink

Hi all. For me, the main problem is that the deep link stopped working. *cry*

179

Mittwoch, 22. März 2023, 14:15

Hi all. For me, the main problem is that the deep link stopped working. *cry*

This is already fixed - just use the latest 1.21 version.

180

Donnerstag, 23. März 2023, 11:43

for disables another hotspot

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

example

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<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>

Ähnliche Themen