Little planet opening question   [SOLVED] - View the solution

Share your tips and tricks here or get help with any Panotour 2.0+ problem!
No bug reports (of any kind) in this forum!
no avatar
360panosi
Member
 
Topic author
Posts: 28
Likes: 4 posts
Liked in: 7 posts
Joined: Mon Jan 04, 2016 6:28 pm
Info

Little planet opening question  [SOLVED]

by 360panosi » Fri Feb 05, 2016 9:24 pm

Hi everybody,


How can we add this type of rotation to start Little planet like this one:

https://dl.dropboxusercontent.com/u/106 ... /tour.html

but this one is created with krpano.

User avatar
bdd
Kolor Team
 
Posts: 2802
Likes: 14 posts
Liked in: 130 posts
Joined: Tue Jan 18, 2011 4:05 pm
Info

Re: Little planet opening question

by bdd » Mon Feb 08, 2016 2:37 pm

You cannot do it directly from Panotour Pro .

But once the tour is generated, open the xxx_core.xml file .

Find the action "setlittleplanet" :

Code: Select all
  <action name="setlittleplanet">
    set(view.architectural, 0.0);
    set(view.hlookat, get(panoview.h));
    set(view.vlookat, 90);
    set(view.pannini, 0.0);
    if(panoview.fovmax LE 150,
      set(view.fovmax, 150);
    ,
      set(view.fovmax, get(panoview.fovmax));
    );
    set(view.stereographic, true);
    set(view.fisheyefovlink, 1.5);
    set(view.fisheye, 1.0);
    set(view.fov, 150);
   
    events.dispatch(onStartLittlePlanetIntroduction);
  </action>


Change the line :
Code: Select all
    set(view.hlookat, get(panoview.h));


by :
Code: Select all
    set(view.hlookat, 180);


Reload your tour in your browser.
You can then tune the value "180" to find the angle that fit your needs

Gérald

2 people like this post.


Who is online

Users browsing this forum: No registered users and 3 guests

cron