Mapping screen point to PhotoDome point?

How do I map a screen point to the UV point it corresponds to on a PhotoDome?

Adding @RaananW

Hi Michael,

sorry, i just want to be sure I udnerstand - you want to know the uv coords of a specific point on the dome?

I am trying to map an x/y point on the screen to the corresponding point in a photodome image.

When picking a point on the dome you can use the getTextureCoordinates function to get the corresponding x,y coordinates of the displayed texture:

https://www.babylonjs-playground.com/#14KRGG#239

1 Like

How do you take account for the photodome fovMultiplier value - I am getting incorrect coordinates when using a non-1 fovMultiplier. I am using scene.pick(x,y) to get the point.
Michael