little planet projection  

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
Chromo56
Member
 
Posts: 17
Joined: Sat Nov 24, 2012 3:25 pm
Location: the Netherlands

little planet projection

by Chromo56 » Mon Mar 03, 2014 3:14 pm

In a tour made in version 1.8 the little planet opening projection looks as a sweep or fly by over the area. After updating the tour in version 2.0 the projection looks like a sweep in a straight line to the spot chosen.
This is the older tour: demo.kempesfotografie.nl/patrick
Is there a way to create the same effect using Panotour 2.0?

Thanks

Rene

User avatar
bdd
Kolor Team
 
Posts: 1769
Joined: Tue Jan 18, 2011 4:05 pm

Re: little planet projection

by bdd » Tue Mar 04, 2014 3:05 pm

Chromo56 wrote:In a tour made in version 1.8 the little planet opening projection looks as a sweep or fly by over the area. After updating the tour in version 2.0 the projection looks like a sweep in a straight line to the spot chosen.
This is the older tour: demo.kempesfotografie.nl/patrick
Is there a way to create the same effect using Panotour 2.0?

Thanks

Rene


It cannot be done directly throught PTP, but you can add a line in the file xx_core.xml to have this effect.
Just find the action named "tweennormalview" and add the following red line just after the beginning of the action :

<action name="tweennormalview">
tween(view.hlookat, get(panoview.h) , 3, easeInOutQuad);


Gérald

no avatar
Chromo56
Member
 
Posts: 17
Joined: Sat Nov 24, 2012 3:25 pm
Location: the Netherlands

Re: little planet projection

by Chromo56 » Sat Mar 08, 2014 11:13 am

Thanks Gerald but unfortunately the fly by remains the same.
This is the script including the extra line yoy suggested:
<action name="tweennormalview">
tween(view.hlookat, get(panoview.h) , 3, easeInOutQuad);
tween(view.fovmax, get(panoview.fovmax), 3, easeInOutQuad);
tween(view.vlookat, get(panoview.v), 3, easeInOutQuad);
if(panoview.fov LE view.fov, tween(view.fov, get(panoview.fov), 3, easeInOutQuad); );
tween(view.fisheye, 0.0, 3, easeInOutQuad,
set(view.architectural, 0.0);
set(view.stereographic, false);
set(view.pannini, false);
set(view.fisheyefovlink, 0.5);
events.dispatch(onPanoStart);
events.dispatch(onEndLittlePlanetIntroduction);
if (tour_firstlittleplanet,
events.dispatch(onTourStart);
set(tour_firstlittleplanet, false);
);
);
</action>

This is the link to the same tour in the 1.8 version: demo.kempesfotografie.nl/patrick18
It doe look good.

User avatar
benji33
Kolor Team
 
Posts: 3043
Joined: Tue Apr 09, 2013 10:59 am
Location: France

Re: little planet projection

by benji33 » Wed Mar 12, 2014 11:26 am

Yes. The default view position is the one choose.
1. So do do this, keep in mind the Yaw value of the actual default and desired view once little planet effect is done.
2. Then set the default view of panorama to the little planet desired view.
3. Then into xml rather than use :
Code: Select all
tween(view.hlookat, get(panoview.h) , 3, easeInOutQuad);

use the 1. saved value
Code: Select all
tween(view.hlookat, YOUR_SAVED_VALUE , 3, easeInOutQuad);


Because panoview.h store the value of the default view.

no avatar
Chromo56
Member
 
Posts: 17
Joined: Sat Nov 24, 2012 3:25 pm
Location: the Netherlands

Re: little planet projection

by Chromo56 » Thu Mar 13, 2014 8:31 am

Wonderful. This is exactly what I want it to do. =D

tanks

René


Return to Using Panotour / Panotour Pro

Who is online

Users browsing this forum: No registered users and 4 guests