Sie sind nicht angemeldet.

1

Samstag, 3. September 2016, 20:52

littleplanet for all the panos

hello, I make a virtual tour with several panos and I want that all panos start with an intro little planet. I know how to do an intro littleplanet but not for all panos. Thank you in advance for your assistance.
best regards *confused*
JP

Beiträge: 1 117

Wohnort: Poland, Europe

Beruf: krpano developer : virtual tours : the cms4vr owner

  • Nachricht senden

2

Montag, 5. September 2016, 11:09

Try this code:




<krpano version="1.19" title="Virtual Tour">


<include url="skin/vtourskin.xml" />

<events name="little_planet_intro_always" keep="true" onxmlcemplete="little_planet_view_onstart()" onloadcomplete="delayedcall(2.0, gotonormalview());" />


<action name="little_planet_view_onstart">
set(view.stereographic, true);
set(view.fisheye, 1.0);
set(view.fov, 155);
set(view.fovtype, VFOV);
set(view.fovmax, 150);
set(view.hlookat, -60);
set(view.vlookat, 77);
</action>


<action name="gotonormalview">
tween(view.hlookat, -40, 2.5, easeInOutQuad);
tween(view.vlookat, -35, 2.5, easeInOutQuad);
tween(view.fov, 85, 2.5, easeInOutQuad);
tween(view.fisheye, 0.0, 2.5, easeInOutQuad);
wait(2.7);
set(display.flash10, on);
</action>

[...]


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

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

cms4vr team *thumbsup*

3

Dienstag, 6. September 2016, 14:04

littles planet

Hello,
Thank you very much for your answer.
This does not work but this may be because I'm not very good with Krpano.
I will continue on this idea.
Best regards

Beiträge: 1 117

Wohnort: Poland, Europe

Beruf: krpano developer : virtual tours : the cms4vr owner

  • Nachricht senden

4

Dienstag, 6. September 2016, 14:28

I tested this code and it works for me *huh*

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

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

cms4vr team *thumbsup*

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

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

  • Nachricht senden

5

Mittwoch, 7. September 2016, 11:10

Hi,

maybe the problem is here.
onxmlcemplete should be onxmlcomplete (?)

(i think onnewscene alone will also work. "little_planet_view_onstart();delayedcall(2.0, gotonormalview());" )

hope it helps.

Tuur *thumbsup*

Beiträge: 1 117

Wohnort: Poland, Europe

Beruf: krpano developer : virtual tours : the cms4vr owner

  • Nachricht senden

6

Mittwoch, 7. September 2016, 13:45

Tuur is right. Of course, it should be onxmlcomplete.


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

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

cms4vr team *thumbsup*

7

Mittwoch, 7. September 2016, 16:26

A big thank you ...
Now it works. There was just a little mistake.
Indeed in this code "<events name =" little_planet_intro_always "keep =" true "onxmlcemplete =" little_planet_view_onstart () "onLoadComplete =" delayedcall (2.0 gotonormalview ()); "/>"
There is a misspelling. .. "onxmlcemplet "instead of" onxmlcomplete "a E instead of O.
Many thanks
Best regards
JP
www.jeanpierrerieu.fr

8

Freitag, 23. September 2016, 19:11

Hello,
It's ok. It works fine but I still have a little problem.
Indeed, I have set the view from my different panos but where I start little planet in the finish order is not the same. thank you in advance
JP