Sie sind nicht angemeldet.

phil85

Anfänger

Beiträge: 18

Wohnort: Nantes

Beruf: Manufacture of gaskets for industry

  • Nachricht senden

61

Samstag, 11. Februar 2023, 18:48

Good evening Klaus and all

It may still be too early to ask this question, but will there be progress on PanoTour Pro 2.5 during the update so of course it can be done?
And a big thank you for your work Klaus BRAVO!!

Philippe

62

Sonntag, 12. Februar 2023, 19:21

Testing here panotour 2.5 with 1.21 , looks everything is fine, im just reporting some issues in pantour plugins for now : supersearch is not working and in animator plugin the crircle effect turns square on over. I will report more if see more issues. I send this report to Maurizio from panotour plugin.

63

Montag, 13. Februar 2023, 15:43

Why is the layer not being created dynamically, what am I doing wrong? *question*

Quellcode

1
2
3
4
5
6
7
8
<layer name="test" type="text" align="top" html="Test1" onclick="add_layer()" />
	
<action name="add_layer" >
	addlayer('hhh', txm); 
        set(txm.type, text);
	copy(txm.html, 'krpano');
        trace(txm.html);
</action>

example

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »San7« (13. Februar 2023, 16:00)


Beiträge: 141

Wohnort: Russia, Komi republic, Uhta

Beruf: developer

  • Nachricht senden

64

Montag, 13. Februar 2023, 15:56

Why is the layer not being created dynamically, what am I doing wrong? *question*

Quellcode

1
2
3
	addlayer('hhh', txm); 
	copy(txm.html, 'krpano');
        trace(txm.html);

example
I think you should specify the type of layer and its position

Hello from uhta3d )))
I'm in telegram: Lastromantik

65

Montag, 13. Februar 2023, 16:01

I agree, I specified the type, and there was an error in assigning the text, now it works

Quellcode

1
2
3
4
5
6
7
8
<layer name="test" type="text" align="top" html="Test1" onclick="add_layer()" />
	
<action name="add_layer" >
	addlayer('hhh', txm); 
        set(txm.type, text);
	set(txm.html, 'krpano');
        trace(txm.html);
</action>

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

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

  • Nachricht senden

66

Montag, 13. Februar 2023, 16:11

or

Quellcode

1
2
3
		addlayer('hhh', txm); 	
		set(txm,type=text,text='krpano');
		trace(txm.text);

Tuur *thumbsup*

Beiträge: 1 117

Wohnort: Poland, Europe

Beruf: krpano developer : virtual tours : the cms4vr owner

  • Nachricht senden

67

Dienstag, 14. Februar 2023, 13:11

Hi Klaus,

if one day it will be possible to set up a parent hotspot-hotspot then do you have plans to add maskchildren for webgl hotspots?

The new version is fantastic *squint*

Piotr
Your own professional, online cloud tool for creating virtual tours - www.cms4vr.com

facebook page :: youtube :: wiki.cms4vr.com

cms4vr team *thumbsup*

Beiträge: 141

Wohnort: Russia, Komi republic, Uhta

Beruf: developer

  • Nachricht senden

68

Mittwoch, 15. Februar 2023, 07:01

One typo in the Layer documentation

Hi Klaus, people noticed one typo in the Layer documentation: align="lefftop"
It's not a big deal, but it's still a big deal)

Hello from uhta3d )))
I'm in telegram: Lastromantik

69

Mittwoch, 15. Februar 2023, 08:11

Stl and obj file limit

Hello,
I try to 1.21 with my old depthmap project. But look like there is a limit for stl files now. obj files already has this limit before 1.21

will try to show you what I mean.
this basic model for create stl file. if the box size biger than 50m tour get slow down. stl file size 88k. its not about stl file size



even try to 1m box size and scale it to 100 again it get slower.


I prepared an example. 100m box size and 0.1 scale, working. but if scale it up, get slower and after 100m chrome give error firefox slower and slower.

You can try it from link
https://cebli.com/test121


and this is the 1.20.11 working project

https://cebli.com/aksu

is that bug or limit. Any idea?

70

Mittwoch, 15. Februar 2023, 08:40

Hi,
if one day it will be possible to set up a parent hotspot-hotspot then do you have plans to add maskchildren for webgl hotspots?
I'm already working on that (with maskchildren support).
It will be not ready for version 1.21, but maybe short after that (1.21.1 or so).


Hi Klaus, people noticed one typo in the Layer documentation: align="lefftop"
It's not a big deal, but it's still a big deal)
Thanks! ;-)


I try to 1.21 with my old depthmap project. But look like there is a limit for stl files now. obj files already has this limit before 1.21
Try setting the subdiv setting to 0:

Quellcode

1
2
3
4
<image ...>
  ..
  <depthmap ... subdiv="0" />
</image>

This disables the sub-division of the 3D-model geometry.
Because a very large/wide 3D-model in combination with short minimal length for a triangle-edge-length could cause generating too much triangles.

Best regards,
Klaus

71

Mittwoch, 15. Februar 2023, 09:42

Thats great. its working now.
Thank you so much.
Try setting the subdiv setting to 0:

This disables the sub-division of the 3D-model geometry.
Because a very large/wide 3D-model in combination with short minimal length for a triangle-edge-length could cause generating too much triangles.

Beiträge: 1 120

Wohnort: Angers - France

Beruf: 360 experiences creator

  • Nachricht senden

72

Donnerstag, 16. Februar 2023, 09:13

Hi Klaus,
Started converting tours with latest release and I have a question about hotspot rendering.
When tweening scale/alpha the result is a bit jerking when rendering in css3d witch is default now.
Here is an example : https://360images.fr/barebone_hs_121/
Is it normal ?
Thanx !

chris

Anfänger

Beiträge: 24

Wohnort: Köln

Beruf: Panoramafotograf

  • Nachricht senden

73

Donnerstag, 16. Februar 2023, 16:40

Great update, thank you Klaus!


Switched deeplinking to true in the vtourskin.xml and got following error in the console:


WARNING: js() - calling Javascript "history.replaceState(null, document.title, get(adr));" failed: TypeError: Can only call History.replaceState on instances of History [3x]

deeplinking seems to fail here. Tested on Mac OS X 12.6.3, Safari 16.3

Best regards,
Chris

Beiträge: 141

Wohnort: Russia, Komi republic, Uhta

Beruf: developer

  • Nachricht senden

74

Donnerstag, 16. Februar 2023, 20:34

Error in paths when using mtl

Klaus,
maybe I'm the only one with this error, but when a model has an mtl file and the code has "placeholders" in the model path, the browser has an error when loading the testcore specified in the mtl file.

Quellcode

1
<depthmap url="%FIRSTXML%/panos/plan.obj" />

MTL file:

Quellcode

1
2
3
4
5
6
7
8
9
10
newmtl plan
Ns 0.000000
Ka 1.000000 1.000000 1.000000
Kd 0.800000 0.800000 0.800000
Ks 0.000000 0.000000 0.000000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 1
map_Kd plan.jpg

It looks as if these placeholders are not replaced when loaded from the mtl file:

Quellcode

1
GET http://192.168.1.24:59282/%FIRSTXML%/panos/plan.jpg 404 (Not Found)

But if you change the path and remove the placeholder, everything works fine:

Quellcode

1
<depthmap url="../../panos/plan.obj" />

Hello from uhta3d )))
I'm in telegram: Lastromantik

75

Freitag, 17. Februar 2023, 02:44

Klaus,

thanks so much for 1.21!

I just removed my custom made scrollarea function and replaced it with the scrollarea layer type.

However I notice some big diffrence: The Scrollarea even displays the scrollbars when there is nothing to scroll.
This is very counter intuitive and kinda annoying.

Is there any way to remove the scrollbar when it is not needed? In my version I used a check like "if (scrollcontent < scrollarea) {remove_scrollbar}" and I think this should be standard or at least optional.

Any inputs on that?

Thank you so much!

Emmanuel-fr

Anfänger

Beiträge: 13

Wohnort: France

Beruf: Travel Photographer and Data Analyst

  • Nachricht senden

76

Freitag, 17. Februar 2023, 10:11

Playing background sounds on Linux?


Hi Klaus,



Thank you so very much for this upgrade. *thumbsup*


However, question: can we now play background sounds on Linux
(reference to my earlier post:
https://krpano.com/forum/wbb/index.php?p…threadID=18639&)?


Because I have downloaded the pre-release version and it looks like it doesn’t work: I got error messages while it works fine when the tour is online.



Kind Regards,



Emmanuel

77

Freitag, 17. Februar 2023, 13:35

Dynamic Parent Change

Corrected!

Hello, there is a strange resizing happening when I dynamically assign a parent hotspot to a layer.
This happens when the hotspot has a scale different from one.
here is an example , click on hotspots:

Quellcode

1
2
3
4
5
6
7
<hotspot name="hs1" url="red.png" ath="-20" scale="2"
  onclick="set(layer[point].parent, hotspot[hs1]);" />
	
<hotspot name="hs2" url="red.png" ath="20" scale="2"
  onclick="set(layer[point].parent, hotspot[hs2]);" />
	
<layer name="point" align="center" url="green.png" />

Hotspots do not resize in the previous version
*confused*

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


78

Freitag, 17. Februar 2023, 17:06


Quoted from "San7"
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'...

I have just noticed this too: with noclip="true" the showtext plugin calls showtext_do_clipping() many times per second resulting in text switching position to and fro.

Emmanuel-fr

Anfänger

Beiträge: 13

Wohnort: France

Beruf: Travel Photographer and Data Analyst

  • Nachricht senden

79

Freitag, 17. Februar 2023, 17:19


Hi Klaus,



Thank you so very much for this upgrade. *thumbsup*


However, question: can we now play background sounds on Linux
(reference to my earlier post:
https://krpano.com/forum/wbb/index.php?p…threadID=18639&)?


Because I have downloaded the pre-release version and it looks like it doesn’t work: I got error messages while it works fine when the tour is online.



Kind Regards,



Emmanuel

Ok, finally it works. I figured out that I had to change the syntax of the url for the sound file compared to 1.20.11. Therefore: thanks a lot Klaus, this will help me a lot! *smile*

80

Samstag, 18. Februar 2023, 11:49

Hi,

Playsound error, only play the first enter the scene, the scene switching is an error, it's 1.20.11 it's work
Do you have an example for testing?


Started converting tours with latest release and I have a question about hotspot rendering.
When tweening scale/alpha the result is a bit jerking when rendering in css3d witch is default now.
Here is an example : https://360images.fr/barebone_hs_121/
Is it normal ?
Hmm... that doesn't look nice, might be related to the new pixel-grid-fitting (intented for sharper texts and edges) but in such case counterproductive... I will check it.


Switched deeplinking to true in the vtourskin.xml and got following error in the console:


WARNING: js() - calling Javascript "history.replaceState(null, document.title, get(adr));" failed: TypeError: Can only call History.replaceState on instances of History [3x]
I've noticed that recently too and it's already fixed for the next build.
As workaround for the moment, you can replace the js() call in the vtourskin.xml with this one:

Quellcode

1
jscall(('history.replaceState(null,null,"'+adr+'");'));



when a model has an mtl file and the code has "placeholders" in the model path, the browser has an error when loading the testcore specified in the mtl file.
Thanks, will be fixed in the next build.


However I notice some big diffrence: The Scrollarea even displays the scrollbars when there is nothing to scroll.
This is very counter intuitive and kinda annoying.
I assume you mean the new autoscrollbars feature - that's only for automatic controlling and sizing the scrollbars, but they will not change the layout of the scrollarea or other layers.

For checking if scrollbars are required, the onoverflowchange event and the woverflow / hoverflow variables can be used. When the values are greater than 0, then the content is overflowing and a scrollbar would be required.

Quellcode

1
onoverflowchange="if(hoverflow GT 0, show the scrollbar, adjust the layout...,   hide the scrollbar... );" 



there is a strange resizing happening when I dynamically assign a parent hotspot to a layer.
This happens when the hotspot has a scale different from one.
here is an example , click on hotspots:
Thanks for the exampe, that's a bug! Will be fixed.

Best regards,
Klaus

Ähnliche Themen