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.

jeromebg

Professional

  • "jeromebg" started this thread

Posts: 833

Location: Angers - France

Occupation: Photographer

  • Send private message

1

Monday, January 6th 2020, 4:06pm

Lookto_offset

Hi, I would love a new lookto action with offset setting.
Offset should be relative to the window of course ;)
for exemple lookto_offset(90,0,50,25,....) would look at a fov of 50 and place the 90 ath 0 atv at 25% of the screen from the center.
Am I clear ?

Still trying to achieve kind of this exemple (https://krpano.com/forum/wbb/index.php?p…ffset#post79663) with no success...

THX !

2

Monday, January 6th 2020, 6:01pm

wouldnt a fov of 50 simply mean 100% of the screen is 50 degrees, so 25% is 12.5 degrees ?

--> lookto(calc(90-12.5),0,50);

?

(ofc there is hfov, vfov etc... ) ;)

jeromebg

Professional

  • "jeromebg" started this thread

Posts: 833

Location: Angers - France

Occupation: Photographer

  • Send private message

3

Monday, January 6th 2020, 6:50pm

I wish it would be that simple...
This only works for flat images, but for spherical ones it's more complicated depending on fovtype, projection (eg architectural for exemple) and atv...
Haven't found the maths to calc the precise value, but I'm sure Klaus could help on this one ;)

4

Monday, January 6th 2020, 7:26pm

poor Klaus, has to solve all our problems !!

mine are the worst *whistling*

jeromebg

Professional

  • "jeromebg" started this thread

Posts: 833

Location: Angers - France

Occupation: Photographer

  • Send private message

5

Friday, March 6th 2020, 9:27am

Please Klaus, any clue ?
I badly need this feature and tried hard, but I really don't understand hos it works, specially with different projection settings, it's even worth when view.architectural is enabled : https://360images.fr/barebonelookto/?view.architectural=1

Similar threads