You are not logged in.

1

Wednesday, March 29th 2023, 12:58pm

Convert Coordinates from Flat Image to Panoramic location

I have a scene which i want to load hotspots onto , i have their coordinates for when they are a flat image, but how do i do a conversion to make them be in the same place when in a panoramic view. the pano is a single image if that makes a difference.

thank you in advance

Fernando

Intermediate

Posts: 324

Location: Habana, Cuba

Occupation: Architect, Photographer.

  • Send private message

2

Wednesday, March 29th 2023, 2:33pm

They are the same coordinate system. "Flat" is like a zone of a sphere. Therefore no conversion is necessary.
Best regards,
Fdo

3

Wednesday, March 29th 2023, 3:02pm

thank you

4

Wednesday, March 29th 2023, 3:29pm

As you probably know the position in the flat image-pixel wise and not degree-wise you will need this conversion:

ath = (source-pixel-x / source-pixel-imagewidth - 0.5) * image-hfov
atv = (source-pixel-y / source-pixel-imageheight - 0.5) * image-vfov

This post has been edited 1 times, last edit by "s-maier" (Mar 29th 2023, 9:56pm)