You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

HansNyb

Professional

  • "HansNyb" started this thread

Posts: 1,019

Location: Denmark

Occupation: Photographer

  • Send private message

1

Friday, May 15th 2020, 2:11am

Speed of littleplanet intro

How can I control the speed of the little planet intro.
I need it to take at least 10 seconds.

Doukumentation says that a third number is time.
like this tween(view.hlookat,-2,2.5,10,easeInOutQuad);

But it changes nothing

<action name="normalview">
tween(view.hlookat,-2,2.5,easeInOutQuad);wait(2);tween(view.vlookat, -2,2.5,easeInOutQuad); tween(view.fov, 20, 2.5, easeInOutQuad);
</action>
<view stereographic="true" fisheye="1.0" fov="285" fovtype="VFOV" fovmax="280" hlookat="2" vlookat="90"/>

HansNyb

Professional

  • "HansNyb" started this thread

Posts: 1,019

Location: Denmark

Occupation: Photographer

  • Send private message

2

Friday, May 15th 2020, 1:39pm

Please have really none done this.

I checked tha latest littleplanet example which Klaus has done and I see no info on how to control the speed.

Even for use as an intro it is to fast.

The way I need to use it is for an animation to create a video. I have no problem slowing done animation to very slow with smooth(2,2,2)
But that does not work with the little plate animation.

Tuur

Sage

Posts: 3,337

Location: Netherlands

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

  • Send private message

3

Friday, May 15th 2020, 3:07pm

The thirth 'position' is time!!
Change 2.5 --> 10
And take your 10 at 4th away!

Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

HansNyb

Professional

  • "HansNyb" started this thread

Posts: 1,019

Location: Denmark

Occupation: Photographer

  • Send private message

4

Friday, May 15th 2020, 3:12pm

The thirth 'position' is time!!
Change 2.5 --> 10
And take your 10 at 4th away


Tried it long ago and it has no effect.

5

Friday, May 15th 2020, 3:23pm

YOUR CODE :
tween(view.hlookat,-2,2.5,10,easeInOutQuad);

DOCUMENTATION :
tween(variable, value, time*, tweentype*, donecall*, updatecall*)

--> look closely *whistling*

HansNyb

Professional

  • "HansNyb" started this thread

Posts: 1,019

Location: Denmark

Occupation: Photographer

  • Send private message

6

Friday, May 15th 2020, 3:24pm

I think I got it now. It has to be increased more than 10 times the default to have an effect. 50 is what I need.
And most important it has to be done in all the steps. If not you get some really weird effects.

HansNyb

Professional

  • "HansNyb" started this thread

Posts: 1,019

Location: Denmark

Occupation: Photographer

  • Send private message

7

Friday, May 15th 2020, 4:12pm

However there is another problem.

Even if I keep the event and action within the scene it keeps the stereographic projection when you load the next scene.

And the event starts also i that scene. I tried adding keep"false" but it does not work.
I tried to set the view in scene 2 to <view normal="true"

But it does not work.

I have also removed the event and changed the action to the onstart of the first scene. That removed it from the next but I still got stereographic view on the second scene. Even if set the view in it to normal="true"
And now the loading text appeard during the whole action.

After scanning and searching through all the dokumentation I found that View normal only exist as stereographic="false" and fisheye="false"

So at last adding both to the second pano and removing the loading text it works.

Really it does not make sense at all.

This post has been edited 2 times, last edit by "HansNyb" (May 15th 2020, 4:47pm)