mpetroff / pannellum

Pannellum is a lightweight, free, and open source panorama viewer for the web.
https://pannellum.org/
MIT License
4.28k stars 724 forks source link

convert coord in percentage from the image to yaw and pitch when cubemap #534

Open aaalsh opened 6 years ago

aaalsh commented 6 years ago

thank you vary much

mpetroff commented 6 years ago

I have no idea what you're asking.

aaalsh commented 6 years ago

How to convert coordinate in percentage from the image to yaw and pitch position when multires mode. for example, i would like to have a function like that :

function convertXYtoYawPitch(xPercentage, yPercentage) { .................. return yaw and pitch positions; }

mpetroff commented 6 years ago

You just restated the issue title (except now about multiresolution panoramas instead of cube maps); this doesn't clarify anything.