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.

michel

Professional

  • "michel" started this thread

Posts: 1,153

Location: ANDORRA

Occupation: TV

  • Send private message

1

Thursday, November 28th 2013, 1:55pm

Interrupt able nonblocking lookto() - stoplookto()

Hi Klaus,

Like Christmas is near, I have a wish ... *smile*

We have lookto() as blocking action and interrupt able with oninterrupt() action...
We have tween() action interrupt able with stoptween() action...
And we have lookto() as nonblocking action but not interrupt able (at least I do not find a way to do)...

So that's my wish: an Interrupt able nonblocking lookto() action... something like stoplookto() ....

Best regards,
Michel.

michel

Professional

  • "michel" started this thread

Posts: 1,153

Location: ANDORRA

Occupation: TV

  • Send private message

2

Saturday, December 7th 2013, 2:52pm

Hi,

globule22 already asked for something similar, and KLAUS answered him:
A non-blocking lookto call can be stopped by calling again a non-blocking lookto with the current view coordinates - e.g.

Source code

1
lookto(get(view.hlookat),get(view.vlookat),get(view.fov),true,true);


Best regards,
Klaus
Thank you both...

SAlut.