Hotspot Pan Position Not Same as Node Position

Q&A about the latest versions
Post Reply
User avatar
TheRealMojoJojo
Posts: 341
Joined: Thu Sep 20, 2018 10:18 pm

Hi,

I noticed that the hotspot pan value is not the same number as the node position pan value. The tilt is the same, just not the pan. Cannot relying on the hotspot position pan value alone to determine other position values. I don't even know if that makes very much sense so here are a couple of screenshots:

HOTSPOT PAN POSITION (-345.56) - TILT (19.41)
hostpot-position.jpg
hostpot-position.jpg (318.29 KiB) Viewed 4481 times
NODE PAN POSITION (13.44) - TILT (19.41)
node-position.jpg
node-position.jpg (335.68 KiB) Viewed 4481 times
Notice that the tilt values are correct......it's just the pan position that is off. Is this by design?

Thanks!
User avatar
Tony
Posts: 1341
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi,

It's sort of tricky and I'm sure Thomas can explain it in laymans terms but here's my two bobs worth.

As I understand it in mathematical terms, if you to go 1/4 of the way around the sphere counter-clockwise from your default starting point 0.0 it is 90 degrees. However if you go to the same place going clockwise around the circle you go 3/4 of the way around the circle or -270 degrees. So negative degrees are always clockwise around a circle and positive degrees are always counter-clockwise.

When you are in Pano2VR, placing a hotspot in a position around the sphere, Pano2VR records that position as if you were travelling clockwise, never counter-clockwise. Therefore any hotspot pan, aside from 0.0 is always recorded as negative. For example a hotspot placed 3/4 of the way around the circle has a Pan of -270.

When you view the project output things work a little differently. When you pan left from 0.0, that is you are moving the right hand side of the panorama to the left your pan number are negative up to -180˚. If you are panning right from 0.0, that is you are moving the left hand side of the panorama to the right your pan numbers are positive up to 180˚.

So if you have placed a hotspot at -210˚ when you view the project the pan displayed will be 150˚.

You can see it in this example project I made: https://p2vrlittlebits.s3-ap-southeast- ... index.html

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
User avatar
TheRealMojoJojo
Posts: 341
Joined: Thu Sep 20, 2018 10:18 pm

Hi Tony!

Ok, I understand the mechanics of it now, thanks for that :D

So what is the purpose? Why not just use the same panning values for hotspots & pinned objects as well?

Thanks again for your indepth answer Tony! You are a fountain of knowledge!!!
User avatar
Tony
Posts: 1341
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi Courtney,

I"m not quite sure why the different values, maybe a coding thing?

Thanks for the kind words.

cheers,

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
User avatar
360Texas
Moderator
Posts: 3684
Joined: Sat Sep 09, 2006 6:06 pm
Location: Fort Worth, Texas USA
Contact:

Tony wrote:
As I understand it in mathematical terms, if you to go 1/4 of the way around the sphere counter-clockwise from your default starting point 0.0 it is 90 degrees. However if you go to the same place going clockwise around the circle you go 3/4 of the way around the circle or -270 degrees. So negative degrees are always clockwise around a circle and positive degrees are always counter-clockwise.
So to add to your response might be: Where on the original panorama is the physical "0" value located?

With no previous adjustments or anchor points assigned:

Zero position on the original image is:

Mid center of the image: 50% from left to right and 50% from top to image bottom . This point is ON THE HORIZON.

I made this for another issue but it shows what I am talking about.
Find circle mid center starting point
Find circle mid center starting point
positions.jpg (54.46 KiB) Viewed 4446 times
Observations: IF the POINT OF INTEREST located in left side of original image you can physically re-position it to in PhotoShop rotate it to mid center and save it to a new file name for later use in Pano2vr.

Photoshop / FILTER / OTHER / OFFSET / and then move the point of interest HORIZONTAL to new image center. NOTE THIS shows the VERTICAL has move ... really vertical should be ZERO or no vertical OFFSET . MOUSE move ERR on my part. HORIZONTAL value should be one that changes.
New image center point
New image center point
offset -center.jpg (130.32 KiB) Viewed 4444 times
center point:
Dave
Pano2VR Forum Global Moderator
Image
Visit 360texas.com
User avatar
thomas
Chief Gnome
Posts: 2611
Joined: Fri Sep 01, 2006 3:56 pm
Location: Vienna, Austria
Contact:

Tony wrote: Fri Sep 27, 2019 12:34 pm I"m not quite sure why the different values, maybe a coding thing?
Looks more like an oversight. For a long time, we accepted values for everything between -360 to +360, but this confused people, so we tried to normalize all values to +/- 180. The only exception is the viewing limits, as there the direction makes is important, so there the values can be +/- 360.
MfG, Thomas
User avatar
TheRealMojoJojo
Posts: 341
Joined: Thu Sep 20, 2018 10:18 pm

Thanks for clarifying Thomas!
User avatar
Tony
Posts: 1341
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Thanks Thomas
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
User avatar
360Texas
Moderator
Posts: 3684
Joined: Sat Sep 09, 2006 6:06 pm
Location: Fort Worth, Texas USA
Contact:

OK degree's overlay on pixel map Layout

This was Prof Helmut Dersch's orientation from many many years ago.
He created alot of early tools like PTtools and many more

https://en.wikipedia.org/wiki/Panorama_Tools

Thomas, is this the same scheme Pano2vr uses ??
Degree layout
Degree layout
positionsdegrees.jpg (116.1 KiB) Viewed 4397 times
Dave
Pano2VR Forum Global Moderator
Image
Visit 360texas.com
User avatar
TheRealMojoJojo
Posts: 341
Joined: Thu Sep 20, 2018 10:18 pm

@360Texas

I am a little confused with your diagrams :-) Are we even talking about the same thing? I am referring to the positioning values of the tour viewer for the hotspots, pinned images, videos, lens flares, etc.... I see that in your diagram that you have a couple of anchor points which makes me think that you are referring to the skin?

Could you elaborate?
User avatar
360Texas
Moderator
Posts: 3684
Joined: Sat Sep 09, 2006 6:06 pm
Location: Fort Worth, Texas USA
Contact:

Oh that was from another issue in the Skin editor.

The left and right [<-] and [->] arrow combination were anchored left and right using pixel dimensions offset from the canvas borders.
Dave
Pano2VR Forum Global Moderator
Image
Visit 360texas.com
Post Reply