Change limit view of Pannini  

This sub-forum is for discussing and reporting bugs on any content that is not available by default in Panotour, so this concerns custom HTML templates, extra plugins (both Kolor-provided and third-party), etc...

Ce sous-forum a été créé pour discuter et/ou rapporter des bugs sur tout contenu qui n'est pas disponible par défaut dans Panotour, donc cela concerne les templates HTML customisés, plugins supplémentaires, etc...
no avatar
Panogold
Member
 
Topic author
Posts: 75
Likes: 1 post
Liked in: 1 post
Joined: Wed Jun 04, 2014 1:02 pm
Info

Change limit view of Pannini

by Panogold » Fri Oct 21, 2016 6:15 pm

What do I have to change that the PanniniView projection opens more to the zenith and nadir?

Thank you!
Martin


<action name="setViewPanniniComplete">
set(backtonormalfirst,false);
if(view.pannini LT 1.0, set(backtonormalfirst,true); );
if(view.stereographic == false, set(backtonormalfirst,true); );
if(backtonormalfirst, hideTooltip();tween(view.fisheye, 0.0 ,distance(1.0, 0.25), easeOutQuad, WAIT); );
set(view.fisheyefovlink, 1.5);
set(view.stereographic, true);
set(view.fovmax, get(panoview.fovmax));
tween(view.vlookat, get(panoview.v), 1.25);
tween(view.pannini, 1.0, distance(1.0, 0.75), easeOutQuad, limitViewForPannini());
tween(view.architectural, 0.0, 0.25);
tween(view.fisheye, 1.0, distance(1.0, 0.75));
tween(view.fov, get(panoview.fov), distance(50, 0.45));
</action>

<action name="limitViewForPannini">
if(view.fov GT 130,
tween(view.fov, 130.00, 0.45, easeOutQuad, set(view.fovmax, 130);set(view.limitview, "range"););
,
set(view.fovmax, 130);
set(view.limitview, "range");
);
</action>

Who is online

Users browsing this forum: No registered users and 1 guest

cron