Personalized "NormalView"  

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

Personalized "NormalView"

by Panogold » Wed Oct 19, 2016 2:26 pm

I want to limit only "nomalview"
Zenith and nadir should be visible in all other projections.
Maybe it helps unexperimented viewers not to get lost right from the beginning.

1. Is ist only the XXX_skin.xml I have to modify?

2. Beside this I want to have a glimps of fisheye (maybe 0.4) in the view.
Whitch parameters I have to change or add, please?

Thank you!
Martin


Copy of NormalView in XXX_skin.xml (line 1257 to 1284)

<action name="setViewNormal">
stopSetViewTweens();
if(current_view_isflat === true,
setViewNonFlat(VFOV);
);
setViewNormalComplete();
</action>

<action name="setViewNormalComplete">
set(view.fisheyefovlink, 0.5);
set(view.fovmax, get(panoview.fovmax));
tween(view.architectural, 0.0, distance(1.0, 0.45));
tween(view.pannini, 0.0, distance(1.0, 0.45), easeOutQuad, if(panniniViewActivated,restoreViewFromPannini();););
tween(view.vlookat, get(panoview.v), distance(90, 0.45));
tween(view.fov, get(panoview.fov), distance(50, 0.45));
tween(view.fisheye, 0.0, distance(1.0, 0.45),
set(view.stereographic,false);
);
</action>

<krpano normalViewActivated="true" />
<action name="stopSetViewTweens">
stoptween(view.fov);
stoptween(view.vlookat);
stoptween(view.fisheye);
stoptween(view.architectural);
stoptween(view.pannini);
</action>

Who is online

Users browsing this forum: No registered users and 1 guest

cron