![]() |
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 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
<krpano version="1.17" title="" debugmode="false" showerrors="true" onstart="startup();"> <!-- Startup actions default in krpano, run for platform without support effect little planet--> <action name="startup" devices="html5+css3d|ios" > if(startscene === null, copy(startscene,scene[0].name)); loadscene(get(startscene), null, MERGE); </action> <!--Startup actions effect of little planet, running only on for supported platforms--> <!-- when the loading is done, wait 2 seconds and then start with the animation to an normal view --> <action name="startup" devices="flash|html5+webgl" > if(startscene === null, copy(startscene,scene[0].name));set(display.flash10, off); loadscene(get(startscene)); set(view.stereographic,true); set(view.fisheye, 1.0); set(view.fov, 155); set(view.fovtype, VFOV); set(view.fovmax, 150); set(view.hlookat, -165); set(view.vlookat, 77); set(hotspot[spot1].alpha, 0.0); set(autorotate.enabled,false); wait(blend); delayedcall(2, normalview() ); </action> <!-- set to normal view--> <action name="normalview"> tween(view.hlookat, 15.698, 2.5, easeInOutQuad); tween(view.vlookat, 0, 2.5, easeInOutQuad); tween(view.fov, 115, 2.5, easeInOutQuad); tween(view.fisheye, 0.0, 2.5, easeInOutQuad); tween(hotspot[spot1].alpha, 1.0, 2.5, easeInOutQuad); wait(2.7); set(display.details, 24); set(display.flash10, on); set(view.fovmax, 135 ); </action> <!-- start autorotate and playing the sound and etc. at globally for tour--> <events name="currentpano" keep="true" onnewpano="set(autorotate.enabled, true); playsound(bgsnd, 'music.mp3|music.ogg', 0); set(events[currentpano].onnewpano, null);" /> <!-- autorotate --> <autorotate enabled="false" waittime="3.0" accel="0.5" speed="6.0" horizon="0.0" tofov="100" /> <!-- Intro text, layer-based, see other parameters for setting of layer in documentation by krpano--> <layer name="intro_text" keep="true" url="%SWFPATH%/plugins/textfield.swf" align="center" x="0" y="-75" visible="true" autoheight="true" background="false" border="false" enabled="false" html="Welcome![br]in [b]Paradise![/b]" css="text-align:center; color:#FFFFFF; font-family:Arial; font-weight:normal; font-size:32px; font-style:regular;" textshadow="2" onloaded="if(visible == true, delayedcall(3.0, tween(alpha, 0.0, 2.5, easeInOutQuad, set(visible,false);));); " /> <scene .... > Write normal settings for view in scenes! ---------- |
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »Arsdezi« (4. März 2014, 15:12)
Benutzerinformationen überspringen
Wohnort: Sevastopol, Crimea, Russian Federation
Beruf: Interpreting, Building virtual tours
Benutzerinformationen überspringen
Wohnort: Sevastopol, Crimea, Russian Federation
Beruf: Interpreting, Building virtual tours
![]() |
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
<!-- Startup actions default in krpano, run for platform without support effect little planet--> <action name="startup" devices="html5+css3d|ios" > if(startscene === null, copy(startscene,scene[0].name)); loadscene(get(startscene), null, MERGE); </action> <!--Startup actions effect of little planet, running only on for supported platforms--> <!-- when the loading is done, wait 2 seconds and then start with the animation to an normal view --> <action name="startup" devices="flash|html5+webgl" > if(startscene === null, copy(startscene,scene[0].name));set(display.flash10, off); loadscene(get(startscene)); set(view.stereographic,true); set(view.fisheye, 1.0); set(view.fov, 155); set(view.fovtype, VFOV); set(view.fovmax, 150); set(view.hlookat, -165); set(view.vlookat, 77); set(hotspot[spot1].alpha, 0.0); set(autorotate.enabled,false); wait(blend); delayedcall(2, normalview() ); </action> |
![]() |
Quellcode |
1 2 3 4 5 6 7 8 |
<!-- set optional skin logo url --> <layer name="skin_logo" url="Kitchen_out.jpg" scale="0.50" opened_onclick="openurl('http://www.yahoo.com',_blank);" /> <action name="startup"> if(startscene === null, copy(startscene,scene[0].name)); loadscene(get(startscene), null, MERGE); </action> |
Excellent!
Of course, it is necessary to grasp the essence of work and documentation krpano. And if there is strong support in the forum and a lot of examples of the use!
But in the future, if you do not need to do any complex actions enough to work by copy-and-paste method or/and with include your already existing files as templates.
I'm on the same level of work with KRPANO (вeginner)![]()
Good luck!![]()
Thank you!Excellent!
Of course, it is necessary to grasp the essence of work and documentation krpano. And if there is strong support in the forum and a lot of examples of the use!
But in the future, if you do not need to do any complex actions enough to work by copy-and-paste method or/and with include your already existing files as templates.
I'm on the same level of work with KRPANO (вeginner)![]()
Good luck!![]()