You are not logged in.

223

Monday, May 1st 2023, 8:41am

Compare Panos example - a new example for comparing two pano images. With Splitscreen/Side-by-Side/Top-Bottom/Overlapped modes, sliders and animations.
Great!
Would be also nice to see more panos (5-10, useful for a contruction,etc) and use the slider with different points to the months.
Now its limited to 2, right?

224

Monday, May 1st 2023, 11:54am

Now its limited to 2, right?

yes, but you can study and extended the example ;-)
although loading lots of panos simultaneously like this is probably not working well
(think of memory & performance!)

This post has been edited 1 times, last edit by "indexofrefraction" (May 1st 2023, 12:16pm)


mc360photo

Trainee

Posts: 57

Location: ITALY

Occupation: Photographer

  • Send private message

225

Monday, May 1st 2023, 12:12pm

Hotspot video rendering issues if it's the parent of a text layer

I need to overlay a text layer on top of a distorted hotspot video but (with version 1.21 build 2023-04-30 and 2023-03-30) the video is no more visible below the text layer (video is playing but is transparent and I can hear its sound). Here the code I have used.
Instead if the video is rendered as layer (not as hotspot) it is properly visible with the text layer in overlay.

<hotspot name="hsvideo"
url="plugins/videoplayer.js"
videourl="video.mp4"
posterurl="video.jpg"
distorted="true"
pausedonstart="true"
volume="1.0"
/>
<layer name="layertext"
parent="hotspot[hsvideo]"
type="text"
text="CLICK TO PLAY VIDEO"
css="font-family:Arial; font-size:20px; color:#000000;"
align="center"
bgalpha="1"
bgcolor="0xffffff"
/>



I also tried to use a container hotspot with video and text as children layers (see code below) but in this case the video instead of "not visible" is a black layer (but it is playing and I can hear its sound). As soon as I drag the panorama with mouse the video became visible.

<hotspot name="hscontainer"
type="container"
width="384" height="216"
distorted="true"
/>
<layer name="layervideo"
parent="hotspot[hscontainer]"
url="plugins/videoplayer.js"
videourl="%VIEWER%\media\video\video.mp4"
posterurl="%VIEWER%\media\video\video.jpg"
pausedonstart="true"
volume="1.0"
onclick="togglepause();"
/>
<layer name="layertext"
parent="hotspot[hscontainer]"
type="text"
text="CLICK TO PLAY VIDEO"
css="font-family:Arial; font-size:20px; color:#000000;"
align="center"
bgalpha="1"
bgcolor="0xffffff"
/>

Any suggestion how to insert text over a video hotspot?
Thanks Marco

Fernando

Intermediate

Posts: 324

Location: Habana, Cuba

Occupation: Architect, Photographer.

  • Send private message

226

Monday, May 1st 2023, 12:13pm

Thanks very much for update!! *thumbsup*

227

Monday, May 1st 2023, 12:18pm

... we need a delete post function *squint*

spacerywirtualne

Professional

Posts: 1,111

Location: Poland, Europe

Occupation: krpano developer : virtual tours : the cms4vr owner

  • Send private message

228

Monday, May 1st 2023, 1:06pm

Thank you Klaus *smile*

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

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

cms4vr team *thumbsup*

229

Tuesday, May 2nd 2023, 8:31am

Problems with Updating

Dear Klaus,
I updated a Project from 1.20.11 to 1.21 (23-03-30) this Morning. When I view the project with the testing-server, it says "krpano License Upgrade required!" But when I check my License online, it says, that my license is already up-to-date. And of course I registered my license in krpano tools.

In addition to that, another project I updated 2 weeks ago was running without any problem. As I have a presentation this evening, it would be great if you could help me....
Best Regards
Thomas

230

Tuesday, May 2nd 2023, 8:50am

I updated a Project from 1.20.11 to 1.21 (23-03-30) this Morning. When I view the project with the testing-server, it says "krpano License Upgrade required!"

Hi, this is already fixed in build 2023-04-30:
krpano 1.21 (pre-release)

Quoted

Fix: Update Tool - Adding the new/updated license state wasn't working.

Posts: 4

Location: Greece

Occupation: Photography

  • Send private message

231

Tuesday, May 2nd 2023, 12:43pm

Version 1.21 - compatible 3D effect with Panotour pro?

Hello dear Klaus.

I have a question.

Is there any opportunity if I will update Panotour 2.5.14 with the new version 1.21 to have the possibility to have 3D effect in my Panotour projects?

Best Regards

George

kme

Intermediate

Posts: 255

Location: Belgium

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

  • Send private message

232

Tuesday, May 2nd 2023, 7:20pm

Coming home from a short trip and getting an update of krpano *thumbsup* *thumbsup*, I should go on more holidays *g* *g*

Looking forward to try some new features...

K.

233

Thursday, May 4th 2023, 10:15am

Hi,

I need to overlay a text layer on top of a distorted hotspot video but (with version 1.21 build 2023-04-30 and 2023-03-30) the video is no more visible below the text layer (video is playing but is transparent and I can hear its sound). Here the code I have used.
Thanks for reporting!
This is a bug related to the CSS3D-display of the videoplayer hotspot.
It is fixed now for the next release.

Is there any opportunity if I will update Panotour 2.5.14 with the new version 1.21 to have the possibility to have 3D effect in my Panotour projects?
Yes, but you would need to add the set3dtransition() call manually:
https://krpano.com/docu/actions/?version=121#set3dtransition

Best regards,
Klaus

234

Monday, May 22nd 2023, 10:45am

autoscrollbar not working when scrollarea created dynamically

Hi Klaus,

I can´t get the scrollbar to work if the scrollarea is created dynamically. The scrollarea itself works and I kept the code 1:1 to the working example which is included with krpano 1.21, but the scrollbar just is´nt moving with the scrollarea. But it does, if I create the scrollarea static inside the scene *wacko*

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
addlayer(scroller_carrier);
	set(layer[scroller_carrier].type,container);
	set(layer[scroller_carrier].parent,stage);
	set(layer[scroller_carrier].width,380);
	set(layer[scroller_carrier].height,100%);
	set(layer[scroller_carrier].lefttop);
	set(layer[scroller_carrier].handcursor,false);
	set(layer[scroller_carrier].keep,true);
	set(layer[scroller_carrier].bgcolor,0xFFFFFF);
	set(layer[scroller_carrier].bgalpha,1);
	
addlayer(scrollarea);
	set(layer[scrollarea].type,scrollarea);
	set(layer[scrollarea].parent,scroller_carrier);
	set(layer[scrollarea].width,380);
	set(layer[scrollarea].height,2000);
	set(layer[scrollarea].childmargin,10);
	set(layer[scrollarea].scrolltype.desktop,smooth);
	set(layer[scrollarea].scrolltype.tablet.or.mobile,inertia);
	set(layer[scrollarea].direction,v);
	set(layer[scrollarea].draggable,true);
	set(layer[scrollarea].mwheel,true);
	set(layer[scrollarea].capturechildren,true);
	set(layer[scrollarea].autoscrollbars,null,scrollbar,10);
	set(layer[scrollarea].onhover_autoscrolling,false);
	set(layer[scrollarea].onscroll,);
	set(layer[scrollarea].onoverflowchange,);
	set(layer[scrollarea].keep,true);
	set(layer[scrollarea].handcursor,true);
	
addlayer(scrollbar_bg);
	set(layer[scrollbar_bg].type,container);
	set(layer[scrollbar_bg].parent,scroller_carrier);
	set(layer[scrollbar_bg].width,16);
	set(layer[scrollbar_bg].height,100%);
	set(layer[scrollbar_bg].align,right);	

addlayer(scrollbar);
	set(layer[scrollbar].type,container);
	set(layer[scrollbar].parent,scrollbar_bg);
	set(layer[scrollbar].bgcolor,0x000000);
	set(layer[scrollbar].bgalpha,0.35);
	set(layer[scrollbar].width,8);
	set(layer[scrollbar].height,30);
	set(layer[scrollbar].align,righttop);
	set(layer[scrollbar].bgcapture,true);
	
addlayer(scroller_content);
	set(layer[scroller_content].type,container);
	set(layer[scroller_content].bgcolor,0x000000);
	set(layer[scroller_content].bgalpha,1);
	set(layer[scroller_content].parent,scrollarea);
	set(layer[scroller_content].width,350);
	set(layer[scroller_content].height,100);
	set(layer[scroller_content].align,topcenter);



The scrollbar even shows up, but it won´t move!

This post has been edited 2 times, last edit by "Nupsi" (May 22nd 2023, 11:56am)


235

Tuesday, May 23rd 2023, 10:41am

Hi,

Quoted

I can´t get the scrollbar to work if the scrollarea is created dynamically. The scrollarea itself works and I kept the code 1:1 to the working example which is included with krpano 1.21

To which example to you refer?
I don't known an example was structured this way...

I haven't tested your code yet, but I see at least these problematic parts:

1. the 'scrollbar_bg' is put above the 'scrollarea' layer (because it was added later and there is no zorder to sort them).
And so the bg layer would block the scrollarea layer from being able controllable.

2. This set call is wrong:

Source code

1
set(layer[scrollarea].autoscrollbars,null,scrollbar,10);
Correct:

Source code

1
set(layer[scrollarea].autoscrollbars, 'null,scrollbar,10');


3. This is also wrong (but less important) - the xml device filters would need to be translated to dynamic code:

Source code

1
2
set(layer[scrollarea].scrolltype.desktop,smooth);
set(layer[scrollarea].scrolltype.tablet.or.mobile,inertia);

Correct:

Source code

1
set(layer[scrollarea].scrolltype, calc(device.desktop ? 'smooth' : 'inertia'));

236

Wednesday, May 24th 2023, 1:00pm

1. the 'scrollbar_bg' is put above the 'scrollarea' layer (because it was added later and there is no zorder to sort them).
And so the bg layer would block the scrollarea layer from being able controllable.

I wouldn't have thought of that in a hundred years. THANK YOU! Works perfect now *thumbsup*

Similar threads