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.
Benutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.comBenutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.comDieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Tuur« (15. Februar 2015, 22:10)
Benutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.comBenutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.comDieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Tuur« (16. März 2015, 15:12)
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Tanate« (1. Juni 2015, 13:03)
Benutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.comBenutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.com|
|
Quellcode |
1 2 |
trace('video time=',plugin[video].time);
if(plugin[video].time GT 1, action(test) );
|
|
|
Quellcode |
1 |
<keyframes2 name="tpoint60" onEnter= checkvideotime() <action name="checkvideotime"> plugin[video].seek(20); plugin[video].play(); </action> |
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »SpinStudios« (23. September 2015, 16:49)
Benutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
|
|
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" /> |
|
|
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> |
: https://pame.virtualtuur.com|
|
Quellcode |
1 |
copy(backup_VTime,get(plugin[video].time)); |
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![]()
Ill even pay for an example.....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 .
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »SpinStudios« (26. September 2015, 06:06)
Benutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.comBenutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
|
|
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> |
: https://pame.virtualtuur.com