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

  • »Tuur« ist der Autor dieses Themas

Beiträge: 3 021

Wohnort: Netherlands

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

  • Nachricht senden

61

Samstag, 3. Januar 2015, 13:21

Hi,

yes ehh no..
Yes, an editor for flat video is on the list.
No, at the moment i have no idea how i can make the hotspots stay in the video when going to flat view.
I have also seen that but i'm not sure what to do to fix that.
I'll have a thought about it. But as i am quite busy with some paid jobs it could take some time.
For the meanwhile you could set them visible false when in flat view.

Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

Tuur

Erleuchteter

  • »Tuur« ist der Autor dieses Themas

Beiträge: 3 021

Wohnort: Netherlands

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

  • Nachricht senden

62

Sonntag, 15. Februar 2015, 20:53

Hi all,

moving hotspots seem to work on stereo 360 video (vr) as well!

yaHOOOOO!!

here a simple small bare-bone example
http://www.virtualtuur.com/movinghotspots3/vr_test/

(only tested on iphone 6)

video kindly provided by Torsten Hemke
And special thanks to the one and only MASTER here: Klaus

Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Tuur« (15. Februar 2015, 22:10)


Tuur

Erleuchteter

  • »Tuur« ist der Autor dieses Themas

Beiträge: 3 021

Wohnort: Netherlands

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

  • Nachricht senden

63

Dienstag, 24. Februar 2015, 13:08

Hi,

This week i will provide an update for the moving hotspots player to the people that bought the bundle.
Then it will work on mobile devices, also with the krpano webvr update!
A great feature for 360 photos and 360 video, and even more with webvr!

Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

64

Dienstag, 24. Februar 2015, 14:07

Hi,

This week i will provide an update for the moving hotspots player to the people that bought the bundle.
Then it will work on mobile devices, also with the krpano webvr update!
A great feature for 360 photos and 360 video, and even more with webvr!

Tuur *thumbsup*
*thumbup*

Tuur

Erleuchteter

  • »Tuur« ist der Autor dieses Themas

Beiträge: 3 021

Wohnort: Netherlands

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

  • Nachricht senden

65

Montag, 2. März 2015, 13:28

Hi,

People that bought the moving hotspots bundle should have received an email with information about the update.

EDIT: This 'scene' bug is fixed. I will provide a small example soon to show how easy it is to use with scenes.


Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Tuur« (16. März 2015, 15:12)


Tanate

Anfänger

Beiträge: 16

Wohnort: Thailand

Beruf: Photographer

  • Nachricht senden

66

Sonntag, 31. Mai 2015, 15:47

Former post
I do not get the email about the new update of moving vdo hot spot yet.


Finally
I do not know how crazy I went wrong to this matter.
Tuur keep on helping me to over come this problem.

I just found that I have the problem with Html page not with the moving hot spot. So it clear now and thank to Tuur.

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Tanate« (1. Juni 2015, 13:03)


Tanate

Anfänger

Beiträge: 16

Wohnort: Thailand

Beruf: Photographer

  • Nachricht senden

67

Sonntag, 31. Mai 2015, 15:48

..

68

Samstag, 12. September 2015, 13:04

plygonal moving hotspots

Great tool, pleasure to use :)

I am wondering, if there a way to create polygonal moving hotspots? Sometning like this: Example/Tutorial - interactive area in the pano (aligned distorted hotspot) in the video?

Do you have any idea how to do this?

Matus

Tuur

Erleuchteter

  • »Tuur« ist der Autor dieses Themas

Beiträge: 3 021

Wohnort: Netherlands

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

  • Nachricht senden

69

Donnerstag, 17. September 2015, 13:21

Hi Matus,

i'll have a look and test soon and let you know.

Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

70

Mittwoch, 23. September 2015, 04:06

Tpoints Keyfromes control more than just hotspots?

Can we control the Video player with the timeline xml? Example: to stop the player, change video, or seek timeline using the tpoint Keyframes?

Tuur

Erleuchteter

  • »Tuur« ist der Autor dieses Themas

Beiträge: 3 021

Wohnort: Netherlands

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

  • Nachricht senden

71

Mittwoch, 23. September 2015, 08:23

Hi,

Yes you can use it for that as well of course.
But i think you could do that without the timelines.
Or trigger that action with a moving hotspot for which you need a timeline.
Maybe store also the ath- atv and fov as well, so when you return to the video because you left it to see a pano (for example), you can return and watch it from where you left.
Or sync the subtitles to the video, or what ever. So when it the connection is not that quick the subtitle keep in sync with the videotime.
And next to that you can use more then one timeline at the same time.

Of course you can also use it in pano's. I made 16 px 'dummy' video of 2 minutes.. is like 100kb or so.. made that 'flat' video invisible.. but used that video to create timelines so you can time or sync also stuff in 'just a pano', or better say your krpano project.
Well, a lot of option to use it for.

Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

72

Mittwoch, 23. September 2015, 15:53

Great. however, whats the best syntx to call the video player from inside the timeline xml? Should we use an action() or .call on the timeline?

I want to stop player on certain frame, then seek (rewind )to a previous
frame .
I have used this:

Quellcode

1
2
trace('video time=',plugin[video].time);
  if(plugin[video].time GT 1, action(test) );


But wondering if using timeline xml would be less intensive .

Quellcode

1
<keyframes2 name="tpoint60" onEnter= checkvideotime()             	<action name="checkvideotime">	plugin[video].seek(20); plugin[video].play();      	</action>



But what syntx should be used in the timeling xml? onEnter doest seem to work?

Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »SpinStudios« (23. September 2015, 16:49)


Tuur

Erleuchteter

  • »Tuur« ist der Autor dieses Themas

Beiträge: 3 021

Wohnort: Netherlands

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

  • Nachricht senden

73

Mittwoch, 23. September 2015, 18:01

Hi,

do all your scripting in the SKript action.
like:
If( point GT 10, do this... etc
it is hard to say because there many ways to set it up and organize your project.
onEnter doesn't sound like a krpano action to me.

your keyframe2 lines should look like this.. i guess without all the ath atv scale etc stuff:

Quellcode

1
2
3
<keyframes2 name="tpoint0" ath="15.509592882098104" atv="4.475443214709939" scale="1.00000" rx="0.00000" ry="68.13611" rz="-2.79500" />
<keyframes2 name="tpoint1" ath="15.850020428482082" atv="4.865514353300219" scale="1.00000" rx="0.00000" ry="68.13611" rz="-2.79500" />
<keyframes2 name="tpoint2" ath="16.190037195304456" atv="5.190578940771256" scale="1.00000" rx="0.00000" ry="68.13611" rz="-2.79500" />


the SKript action is responsible for the actions to be triggered.

for timeline 2 it could look like this

Quellcode

1
2
3
4
5
6
7
8
9
10
<action name="SKript2">

	if((tpoint GE 3) AND (tpoint LE 15), set(hotspot[trackinghtsp_2].visible,true); );	
	if(tpoint GE 16, set(hotspot[trackinghtsp_2].visible,false); );	

	if(tpoint == 20, lookat(180,0,100); );	
	if(tpoint == 30, lookat(270,0,100); );	

	
</action>


I would expect you to find the SKript action in the settings.xml

Hope it helps

Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

74

Samstag, 26. September 2015, 05:45

Can we return to a Vtime by coping backup the VTime ?

Quellcode

1
copy(backup_VTime,get(plugin[video].time));


I want a button which copies VTime , advances to a scene or shows a photo which corresponds to that specific time in a video. Then returns to that VTime of the video player in the previous scene.

Example: halfway through the video the camera passes by a clown. if the user clicks a button at the time in the video in which the clown is visible, it opens a panorama or photo of that clown. Then if the user clicks a return to video button the video player returns to the previous video of the camera passing by the clown .

75

Samstag, 26. September 2015, 05:46

Hi,

do all your scripting in the SKript action.
like:
If( point GT 10, do this... etc
it is hard to say because there many ways to set it up and organize your project.
onEnter doesn't sound like a krpano action to me.

your keyframe2 lines should look like this.. i guess without all the ath atv scale etc stuff:

Quellcode

1

				


the SKript action is responsible for the actions to be triggered.

for timeline 2 it could look like this

Quellcode

1
2
3
4
5
	if((tpoint GE 3) AND (tpoint LE 15), set(hotspot[trackinghtsp_2].visible,true); );	
	if(tpoint GE 16, set(hotspot[trackinghtsp_2].visible,false); );	

	if(tpoint == 20, lookat(180,0,100); );	
	if(tpoint == 30, lookat(270,0,100); );


I would expect you to find the SKript action in the settings.xml

Hope it helps

Tuur *thumbsup*

Thanks that works nicely!

76

Samstag, 26. September 2015, 05:49

Can we return to a Vtime by coping backup the VTime ?

Quellcode

1
copy(backup_VTime,get(plugin[video].time));


I want a button which copies VTime , advances to a scene or shows a photo which corresponds to that specific time in a video. Then returns to that VTime of the video player in the previous scene.

Example: halfway through the video the camera passes by a clown. if the user clicks a button at the time in the video in which the clown is visible, it opens a panorama or photo of that clown. Then if the user clicks a return to video button the video player returns to the previous video point in time of the camera passing by the clown .
Ill even pay for an example.....

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »SpinStudios« (26. September 2015, 06:06)


Tuur

Erleuchteter

  • »Tuur« ist der Autor dieses Themas

Beiträge: 3 021

Wohnort: Netherlands

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

  • Nachricht senden

77

Samstag, 26. September 2015, 08:42

Hi,

Yes i understand what you want, I have an old example for that, but it is large and i can not publish.
I will look up the code, and put it here. Can take some days though.
But it should be something like this:
call an action when you want to switch.
In that action we first put all things in vars, like:

set(_ATH, get(view.hlookat));
set(_ATV, get(view.vlookat));
set(_FOV, get(view.fov));
set(_VTIME, get(Vtime));

then do something you want and to go back, you load that video again and use the vars to set it as it was.

Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

78

Samstag, 26. September 2015, 20:07

Great!
Should that be :

Quellcode

1
set(_VTIME, get(.time));  or set(_VTIME, get(Vtime));


and to set vars again

Quellcode

1
get(backup_VTime));

Tuur

Erleuchteter

  • »Tuur« ist der Autor dieses Themas

Beiträge: 3 021

Wohnort: Netherlands

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

  • Nachricht senden

79

Sonntag, 27. September 2015, 14:08

i had this from 360 video to pano and back:

Quellcode

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
<action name="look_vars">
	set(_hlookat, get(view.hlookat));
	set(_vlookat, get(view.vlookat));
	set(_fov, get(view.fov));
	set(_seek, get(plugin[video1].time));

</action>

<action name="backtovideo">
	set(plugin[video1].visible,true);
	set(layer[videointerface_control_bar].visible,true);
	loadscene(scene_1,null,MERGE,BLEND(0.5));
	plugin[video1].seek(get(_seek));
	
	set(view.hlookat, get(_hlookat));
	set(view.vlookat, get(_vlookat));
	set(view.fov, get(_fov));
	
	plugin[video1].play());
</action>




<scene name="scene_1" bla bla 360 video scene>

	 
	<hotspot name="trackinghtsp_1" url="../skin/logo.png" style="vtmh_trackinghtspstyle" zorder="5" ondown="look_vars();plugin[video1].pause();set(plugin[video].visible,false);set(layer[videointerface_control_bar].visible,false);loadscene(scene_2,null,MERGE,BLEND(0.5));" /> 
		
</scene>


<scene name="scene_2" blabla 360 photo scene

	<hotspot name="htsp_1" url="../skin/logo.png" ath="0" atv="0" zorder="5" ondown="
	backtovideo();" />

</scene>


but you can it with any sort of content of course..
Is a bit old code .. but should make it clear how it works..
To go from video to photo i used a moving hotspot.. onclick -->
But you can trigger that action also just on the point of course.
Hope it helps
Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

80

Montag, 28. September 2015, 18:15

Works perfect for Image pano! Thanks.
However how do we test for the (_seek) vars? Might it be the Plugin[video1]pause() which returns the player at/to the same .time? Is there something like .seek(_seek) +5.time ?
Add five frames to the copy _seek, so the resulting position of the player would be five ahead of the pause position Or better yet, return to the player position a few frames rewind.(like _seek -5)

Also, can the original video player plugin[video1] play a second video in between returning to the original video? or does a second Player plugin [video2] need to be loaded?
I get errors ("warning video loading failed') when trying to load a new video with the original [video1]player.