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.

  • "YASUSHI KUMON" started this thread

Posts: 59

Location: kanagawa,japan

Occupation: photographer

  • Send private message

1

Friday, November 1st 2019, 4:50am

width of the original sphere image & maxpixelzoom

Hi,
please tell me.
Q1.
Is there an attribute to get the width of the original sphere image?

Q2.
Can you calculate fov when maxpixelzoom = 1 ?

Thank you.

Mael B.

Trainee

Posts: 149

Location: France, Montpellier

  • Send private message

2

Friday, November 1st 2019, 6:18pm

For Q1, there is no specific attribute for that but you can get the width of the original sphere image with the help of some available attributes:
- you can get the size of cube face with:

Source code

1
level[calc(image.level.count-1)].tiledimagewidth

- then just multiply by PI to get the original sphere image *smile*

  • "YASUSHI KUMON" started this thread

Posts: 59

Location: kanagawa,japan

Occupation: photographer

  • Send private message

3

Saturday, November 2nd 2019, 4:48am

Thank you very much!

I'll give it a try.