mourner/icomesh

Cylindrical UV mapping

Opened this issue · 0 comments

Enhancement request: Exactly like #4, but for cylindrically-projected textures (e.g. map images in EPSG:3857 CRS).

Should take a 3-component vector as an input, the orientation of the cylinder. e.g. [0, 0, 1] for cylindrical mercator and [cos a, sin a, 0] for traverse cylindrical mercator.

I assume that the most useful output would be coordinates of a EPSG:3857 zoom-level-zero map tile; but I also assume that mapping [x,y,z] to cylindrical coordinates (where the height is unbound) would be the first step towards EPSG:3857 texture coords.