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

Thursday, February 9th 2023, 10:37am

Hi,

for anyone having the Windows issue - there is a new release (build 2023-02-09) available that should fix it.

Actually the problem was the same as in 1.20.10 and related to the NWJS version:
krpano 1.20.10

At that time I had changed the NWJS version in 1.20.10, but unfortunately somehow forgot to apply that change also to 1.21...

Best regards,
Klaus
Thanks Klaus, *thumbup*

Posts: 118

Location: Russia, Komi republic, Uhta

  • Send private message

42

Thursday, February 9th 2023, 10:39am

Klaus, You're just a god.!)))
We should already be building temples in your honor and making offerings in it)))
Everything is up and running great!!! GETTING HARD!!!

43

Thursday, February 9th 2023, 10:48am

Hi,

for anyone having the Windows issue - there is a new release (build 2023-02-09) available that should fix it.

Actually the problem was the same as in 1.20.10 and related to the NWJS version:
krpano 1.20.10

At that time I had changed the NWJS version in 1.20.10, but unfortunately somehow forgot to apply that change also to 1.21...

Best regards,
Klaus
Now it opens everything perfectly, the testing-tour works only if I build a tour, if you run it from the main folder it doesn't allow me to see the examples

This post has been edited 1 times, last edit by "Suso Barral" (Feb 9th 2023, 11:05am)


44

Thursday, February 9th 2023, 11:28am

if you run it from the main folder it doesn't allow me to see the examples

This can be normal - please see here:
https://krpano.com/docu/localusage/#top

E.g. use the krpano Testing Server and select the krpano root folder to view the examples locally.

45

Thursday, February 9th 2023, 11:51am

if you run it from the main folder it doesn't allow me to see the examples

This can be normal - please see here:
https://krpano.com/docu/localusage/#top


However, the strange thing is that version 1.20.11 does not give any problems and this new version, although it indicates the path of the content folder, does not allow it to be seen, I have also tried to put the testingserver inside the folder and it does not work with any browser, I'm going to check it again.

46

Thursday, February 9th 2023, 1:20pm

Thank you @Klaus this great new is it work with newer version or it work with older version also?
any update regarding chromakey video as layer? its long awaited demand.

And here another idea by using a krpano layer: ;-)
Chromakey Video as Layer

47

Thursday, February 9th 2023, 5:20pm

Hi, I would like to know what is the difference between:
obj-textured-mtl and obj-textured
Thanks
Suso

Posts: 118

Location: Russia, Komi republic, Uhta

  • Send private message

48

Thursday, February 9th 2023, 5:22pm

Hi, I would like to know what is the difference between:
obj-textured-mtl and obj-textured
If you use an mtl file, you can use more than one texture image for the model, which increases the quality of the texture of the model by using different materials for one model

49

Thursday, February 9th 2023, 5:31pm

Hi, I would like to know what is the difference between:
obj-textured-mtl and obj-textured
If you use an mtl file, you can use more than one texture image for the model, which increases the quality of the texture of the model by using different materials for one model
that's really good *thumbsup* *thumbsup* *thumbsup* thanks

50

Friday, February 10th 2023, 4:02am

Long awaited, thank you very much for the major update! Thank you for your persistence! klaus!

51

Friday, February 10th 2023, 7:25am

layer.scalechildren=true not work

<layer name="move_circle" url="skin/move2.png" keep="true" align="leftbottom" scalechildren="true" scale="0.5" alpha="0.75">
<layer name="move_arrow" url="skin/move1.png" align="center" x="0" y="0" scale="0.5"
dragging="moveDrag()"
ondown="moveDown()"
onup="set(hlookat_moveforce,0); set(vlookat_moveforce,0);"
/>
</layer>

52

Friday, February 10th 2023, 8:28am

<layer name="move_circle" url="skin/move2.png" keep="true" align="leftbottom" scalechildren="true" scale="0.5" alpha="0.75">
<layer name="move_arrow" url="skin/move1.png" align="center" x="0" y="0" scale="0.5"
dragging="moveDrag()"
ondown="moveDown()"
onup="set(hlookat_moveforce,0); set(vlookat_moveforce,0);"
/>
</layer>

Just tested and works for me... what's the result in your case?

53

Friday, February 10th 2023, 9:00am

workaround for "layer.scalechildren=true not work"

Add scalemode and it will work.

San7

Professional

Posts: 608

Occupation: coding in krpano

  • Send private message

54

Friday, February 10th 2023, 10:46am

<layer ... url="floor.png" width="500" height="prop" scalechildren="true" ...
In previous versions, If dynamically changed the width, then the parent layers changed.
Now the parent layers do not change, but change when the scale changes.
Is it supposed to be like this? *question*

55

Friday, February 10th 2023, 1:48pm


dragging="moveDrag()"
ondown="moveDown()"
onup="set(hlookat_moveforce,0); set(vlookat_moveforce,0);"
/>

Just tested and works for me... what's the result in your case?

After adding scalemode='scale' the problem is resolved

56

Friday, February 10th 2023, 2:20pm

<layer ... url="floor.png" width="500" height="prop" scalechildren="true" ...
In previous versions, If dynamically changed the width, then the parent layers changed.
Now the parent layers do not change, but change when the scale changes.
Is it supposed to be like this? *question*

Do you have an example for testing/checking?
And please consider the notes from here.

San7

Professional

Posts: 608

Occupation: coding in krpano

  • Send private message

57

Friday, February 10th 2023, 4:05pm

In previous versions, If dynamically changed the width, then the parent layers changed.
Now the parent layers do not change, but change when the scale changes.
Is it supposed to be like this? *question*

Do you have an example for testing/checking?
And please consider the notes from here.
yes, here is an example

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<style  name="point" type="image" keep="true" url="red.png"  parent="plan1"  width="20" height="prop" />	

<layer  name="t1" type="text" align="top"   text="onclick=switch(width,300,200)" />

<layer name="plan1" type="image" url="floor.png"  align="top" width="300"  height="prop" y="20"
 onclick=" switch(width,300,200)" scalechildren="true"  />

   <layer  name="p1" style="point"   x="50"  y="70"  />
   <layer  name="p2" style="point"  x="100"  y="100"  />	   
   <layer  name="p3" style="point"  x="150"  y="150"  />

<layer  name="t2" type="text" align="bottom" text="onclick=switch(scale,1,0.5)" />	

<layer name="plan2" type="image" url="floor.png" align="bottom" width="300" height="prop" y="20" 
onclick="switch(scale,1,0.5)" scalechildren="true"   />	

  <layer  name="p4" style="point"  x="50"  y="70"  parent="plan2" />	
  <layer  name="p5" style="point"  x="100"  y="100"  parent="plan2"/>	
  <layer  name="p6" style="point"  x="150"  y="150"  parent="plan2"/>


I also noticed that when showtext.xml is connected, it gives a message in the console
WARNING: textfield 'border' is deprecated, use 'bgborder' instead.
Cause this line
116 if(ts.border !== null, copy(tf.border, ts.border), set(tf.border,true));
and when the text floats close to the edge, it starts to sway quickly, trying not to hide behind the edge of the screen

This post has been edited 3 times, last edit by "San7" (Feb 10th 2023, 4:22pm)


58

Friday, February 10th 2023, 6:10pm

yes, here is an example
Thanks - good example!

Yes, this is an intended and unfortunately incompatible change. Changing the size (width/height) and scaling are now decoupled/separated. This was a necessary change, otherwise the scaling-hierachy becomes insanely complex...
But therefore there is now more control - the size and scale can be changed independently from each other - and there are new scalex, scaley settings for scaling the width and height separately.


I also noticed that when showtext.xml is connected, it gives a message in the console
WARNING: textfield 'border' is deprecated, use 'bgborder' instead.
That's just a warning when using very old textfield settings.
The old border setting has been replaced by the newer bgboder one.
At the moment the old settings are still supported and automatically mapped to the new one.

And the showtext.xml is pretty old and uses these old settings...

You could disable that warning with this setting:
https://krpano.com/docu/xml/?version=121…recatedwarnings

and when the text floats close to the edge, it starts to sway quickly, trying not to hide behind the edge of the screen
That's a feature - see the noclip setting, but it shouldn't 'sway'...

59

Saturday, February 11th 2023, 2:09pm

I think it is more suitable for the exhibition hall with large space than the virtual model room of real estate

60

Saturday, February 11th 2023, 3:39pm

playsound it's no work

playsound(bgmusic,'%SWFPATH%/images/music.mp3',1);


Playsound error, only play the first enter the scene, the scene switching is an error, it's 1.20.11 it's work

1.21(2023-02-07),and 1.21(2023-02-09) no work!


WARNING: Unknown action: resumesound

Similar threads