You are not logged in.

jprieu

Beginner

  • "jprieu" started this thread

Posts: 23

Location: France, Sorgues

  • Send private message

1

Saturday, September 3rd 2016, 8:52pm

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

spacerywirtualne

Professional

Posts: 1,117

Location: Poland, Europe

Occupation: krpano developer : virtual tours : the cms4vr owner

  • Send private message

2

Monday, September 5th 2016, 11:09am

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*

jprieu

Beginner

  • "jprieu" started this thread

Posts: 23

Location: France, Sorgues

  • Send private message

3

Tuesday, September 6th 2016, 2:04pm

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

spacerywirtualne

Professional

Posts: 1,117

Location: Poland, Europe

Occupation: krpano developer : virtual tours : the cms4vr owner

  • Send private message

4

Tuesday, September 6th 2016, 2:28pm

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

Sage

Posts: 3,839

Location: Netherlands

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

  • Send private message

5

Wednesday, September 7th 2016, 11:10am

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*

spacerywirtualne

Professional

Posts: 1,117

Location: Poland, Europe

Occupation: krpano developer : virtual tours : the cms4vr owner

  • Send private message

6

Wednesday, September 7th 2016, 1:45pm

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*

jprieu

Beginner

  • "jprieu" started this thread

Posts: 23

Location: France, Sorgues

  • Send private message

7

Wednesday, September 7th 2016, 4:26pm

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

jprieu

Beginner

  • "jprieu" started this thread

Posts: 23

Location: France, Sorgues

  • Send private message

8

Friday, September 23rd 2016, 7:11pm

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